/* ============================
   STUDIO FOREZ — MAIN STYLES
   ============================ */

:root {
    --black: #0a0a0a;
    --dark: #111214;
    --dark2: #1a1c20;
    --mid: #2a2d34;
    --accent: #e8b84b;
    --accent2: #c9962e;
    --light: #f5f3ee;
    --white: #ffffff;
    --text: #2a2d34;
    --muted: #6b7280;
    --border: rgba(255,255,255,0.08);
    --radius: 12px;
    --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
    --font-display: 'Bebas Neue', sans-serif;
    --font-serif: 'DM Serif Display', serif;
    --font-body: 'DM Sans', sans-serif;
    --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    background: var(--light);
    color: var(--text);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ======= BUTTONS ======= */
.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: var(--black);
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition);
    border: 2px solid var(--accent);
}
.btn-primary:hover {
    background: var(--accent2);
    border-color: var(--accent2);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232,184,75,0.35);
}
.btn-ghost {
    display: inline-block;
    background: transparent;
    color: var(--white);
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition);
    border: 2px solid rgba(255,255,255,0.4);
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}
.btn-lg { padding: 18px 48px; font-size: 15px; }

/* ======= HEADER ======= */
#header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: rgba(10,10,10,0.0);
    transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}
#header.scrolled {
    background: rgba(10,10,10,0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--border);
}
.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 40px;
}

/* LOGO */
.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    line-height: 1;
    flex-shrink: 0;
    text-decoration: none;
}
.logo-img {
    height: 42px;
    width: auto;
    display: block;
    object-fit: contain;
    flex-shrink: 0;
}
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.logo-studio {
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: 6px;
    color: var(--accent);
    text-transform: uppercase;
}
.logo-forez {
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: 4px;
    color: var(--white);
    text-transform: uppercase;
    line-height: 1;
}

/* NAV */
#nav { margin-left: auto; }
.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-list > li > a {
    color: rgba(255,255,255,0.85);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 10px 14px;
    border-radius: 4px;
    transition: var(--transition);
    display: block;
    position: relative;
}
.nav-list > li > a::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 14px; right: 14px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.25s ease;
    transform-origin: left;
}
.nav-list > li:hover > a::after,
.nav-list > li > a:hover::after { transform: scaleX(1); }
.nav-list > li:hover > a { color: var(--white); }

/* SUBMENU */
.has-sub { position: relative; }
.submenu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--dark);
    border: 1px solid var(--border);
    border-top: 2px solid var(--accent);
    border-radius: 0 0 var(--radius) var(--radius);
    min-width: 240px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.has-sub:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.submenu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 20px;
    color: rgba(255,255,255,0.75);
    font-size: 13px;
    font-weight: 400;
    transition: var(--transition);
}
.submenu li a:hover {
    color: var(--white);
    background: rgba(255,255,255,0.05);
    padding-left: 26px;
}
.submenu li a span {
    font-family: var(--font-display);
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 1px;
}

/* BURGER */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}
.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* ======= HERO ======= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--dark);
}
.hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    will-change: transform;
}
.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: none;
    pointer-events: none;
    position: relative;
    z-index: 0;
    will-change: transform;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        135deg,
        rgba(10,10,10,0.75) 0%,
        rgba(10,10,10,0.5) 50%,
        rgba(10,10,10,0.6) 100%
    );
}

/* Hero bg default (si pas de vidéo) */
.hero-bg-default {
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 80% 60% at 20% 40%, rgba(232,184,75,0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 80% 70%, rgba(232,184,75,0.08) 0%, transparent 60%),
        linear-gradient(135deg, #0a0a0a 0%, #1a1c20 50%, #0f1015 100%);
    animation: bgPulse 8s ease-in-out infinite alternate;
}
@keyframes bgPulse {
    from { opacity: 0.9; }
    to { opacity: 1; filter: brightness(1.05); }
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 0 10%;
    max-width: 800px;
    animation: heroIn 1.2s cubic-bezier(0.4,0,0.2,1) forwards;
    opacity: 0;
}
@keyframes heroIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-tag {
    display: inline-block;
    background: var(--accent);
    color: var(--black);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 2px;
    margin-bottom: 24px;
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(52px, 8vw, 100px);
    letter-spacing: 2px;
    color: var(--white);
    line-height: 0.95;
    margin-bottom: 24px;
    text-transform: uppercase;
}
.hero-sub {
    font-size: 18px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 40px;
    font-weight: 300;
    line-height: 1.6;
    max-width: 540px;
}
.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.5);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: heroIn 1.5s 0.6s cubic-bezier(0.4,0,0.2,1) forwards;
    opacity: 0;
}
.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.5; }
}

.cards-label {
    position: absolute;
    right: 4%;
    width: 38%;
    display: flex;
    justify-content: center;
    z-index: 12;
    pointer-events: none;
    animation: heroIn 1.2s 0.3s cubic-bezier(0.4,0,0.2,1) forwards;
    opacity: 0;
    top: auto;
    bottom: calc(50% + 125px);
    box-sizing: border-box;
    font-family: 'Orbitron', 'Bebas Neue', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    text-shadow: 0 0 20px rgba(232,184,75,0.35);
}

/* ======= CARROUSEL 1 CARTE HERO ======= */
.cards-zone {
    position: absolute;
    top: 0; bottom: 0;
    right: 4%;
    width: 38%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    pointer-events: none;
    animation: heroIn 1.2s 0.4s cubic-bezier(0.4,0,0.2,1) forwards;
    opacity: 0;
    box-sizing: border-box;
}
.hcard {
    border-radius: 14px;
    overflow: hidden;
    border: 1.5px solid rgba(255,255,255,0.13);
    background: #1a1c20;
    box-shadow: 0 12px 40px rgba(0,0,0,0.6);
    pointer-events: auto;
    flex-shrink: 0;
    transition: transform 0.65s cubic-bezier(0.4,0,0.2,1), opacity 0.65s ease, box-shadow 0.65s ease;
    width: 100%;
    max-width: 480px;
}
.hcard.center {
    border-color: rgba(232,184,75,0.35);
    box-shadow: 0 20px 56px rgba(0,0,0,0.7), 0 0 0 1px rgba(232,184,75,0.12);
}
.hcard-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #2a2d34;
    overflow: hidden;
    position: relative;
}
.hcard.side .hcard-img { aspect-ratio: 16 / 9; }
.hcard-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 6s ease;
}
.hcard:hover .hcard-img img { transform: translateY(-18%); }
.hcard-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.08);
}
.hcard-body {
    padding: 11px 14px 12px;
    height: 62px;
    box-sizing: border-box;
    background: rgba(6,6,6,0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}
.hcard.side .hcard-body { height: 54px; padding: 9px 12px; }
.hcard-body strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}
.hcard.side .hcard-body strong { font-size: 11px; }
.hcard-body span {
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,0.42);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hcard.side .hcard-body span { font-size: 10px; }
.hcard-body a {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
    transition: color 0.2s;
    margin-top: 2px;
}
.hcard-body a:hover { color: var(--white); }

.cards-dots {
    position: absolute;
    bottom: 60px;
    right: 4%;
    width: 38%;
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 11;
    pointer-events: none;
    box-sizing: border-box;
}
.cards-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    border: none;
    padding: 0;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
}
.cards-dot.active {
    background: var(--accent);
    width: 16px;
    border-radius: 3px;
}

@media (max-width: 1280px) {
    .cards-zone  { right: 3%; width: 36%; }
    .cards-label { right: 3%; width: 36%; font-size: 12px; letter-spacing: 2px; }
    .cards-dots  { right: 3%; width: 36%; }
}
@media (max-width: 1024px) {
    .cards-zone  { right: 2%; width: 34%; }
    .cards-label { right: 2%; width: 34%; font-size: 11px; letter-spacing: 2px; }
    .cards-dots  { right: 2%; width: 34%; }
    .hcard { max-width: 360px; }
}
@media (max-width: 768px) {
    .cards-zone, .cards-dots, .cards-label { display: none; }
}

/* ======= SERVICES STRIP ======= */
.services-strip {
    background: var(--dark);
    border-top: 1px solid var(--border);
    border-bottom: 3px solid var(--accent);
}
.strip-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: stretch;
}
.strip-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px 24px;
    color: var(--white);
    transition: var(--transition);
    position: relative;
}
.strip-item:hover { background: rgba(255,255,255,0.04); }
.strip-item:hover .strip-icon { transform: scale(1.2); }
.strip-icon {
    font-size: 28px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.strip-item strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--white);
}
.strip-item span {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    margin-top: 2px;
}
.strip-sep {
    width: 1px;
    background: var(--border);
    margin: 16px 0;
}

/* ======= ACTUALITÉS ======= */
.actualites {
    padding: 100px 0;
    background: var(--light);
}
.section-header {
    margin-bottom: 56px;
}
.section-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent2);
    margin-bottom: 12px;
}
.section-title {
    font-family: var(--font-serif);
    font-size: clamp(36px, 5vw, 60px);
    color: var(--text);
    line-height: 1.1;
}
.section-title em {
    font-style: italic;
    color: var(--accent2);
}

.actu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.actu-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.actu-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}
.actu-featured {
    grid-column: span 2;
}
.actu-img {
    height: 220px;
    overflow: hidden;
    flex-shrink: 0;
}
.actu-featured .actu-img { height: 280px; }
.actu-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.actu-card:hover .actu-img img { transform: scale(1.05); }
.actu-img-placeholder {
    background: linear-gradient(135deg, var(--dark) 0%, var(--mid) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.actu-placeholder-inner {
    font-family: var(--font-display);
    font-size: 40px;
    letter-spacing: 4px;
    color: rgba(255,255,255,0.15);
}
.actu-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.actu-cat {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent2);
    margin-bottom: 10px;
}
.actu-title {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.3;
}
.actu-featured .actu-title { font-size: 26px; }
.actu-text {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
    flex: 1;
}
.actu-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(0,0,0,0.07);
}
.actu-footer time {
    font-size: 12px;
    color: var(--muted);
}
.actu-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent2);
    transition: var(--transition);
}
.actu-link:hover { color: var(--black); }

.no-actu {
    text-align: center;
    color: var(--muted);
    padding: 60px 0;
    font-size: 16px;
}

/* ======= CTA BAND ======= */
.cta-band {
    background: var(--dark);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: 'SF';
    position: absolute;
    font-family: var(--font-display);
    font-size: 300px;
    color: rgba(255,255,255,0.02);
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    pointer-events: none;
    letter-spacing: 20px;
}
.cta-band h2 {
    font-family: var(--font-serif);
    font-size: clamp(28px, 4vw, 48px);
    color: var(--white);
    margin-bottom: 36px;
}
.cta-band h2 em {
    font-style: italic;
    color: var(--accent);
}

/* ======= FOOTER ======= */
#footer {
    background: var(--black);
    padding-top: 64px;
    border-top: 3px solid var(--accent);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
}
.footer-brand .logo {
    margin-bottom: 20px;
}
.footer-brand p {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    line-height: 1.7;
}
.footer-col h4 {
    color: var(--accent);
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 700;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul li a {
    color: rgba(255,255,255,0.55);
    font-size: 14px;
    transition: var(--transition);
}
.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 4px;
}
.footer-col p {
    color: rgba(255,255,255,0.55);
    font-size: 14px;
    margin-bottom: 8px;
}
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}
.footer-bottom span {
    color: rgba(255,255,255,0.3);
    font-size: 13px;
}

/* ======= PAGES INTERNES ======= */
.page-hero {
    background: var(--dark);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--accent), transparent);
}
.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(48px, 7vw, 90px);
    color: var(--white);
    letter-spacing: 2px;
}
.page-hero p {
    color: rgba(255,255,255,0.6);
    font-size: 18px;
    margin-top: 16px;
    max-width: 600px;
    line-height: 1.6;
}
.breadcrumb {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.breadcrumb a { color: var(--accent); }

.page-content {
    padding: 80px 0;
}

/* ======= RESPONSIVE ======= */
@media (max-width: 1024px) {
    .actu-grid { grid-template-columns: repeat(2,1fr); }
    .actu-featured { grid-column: span 2; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .strip-inner { flex-wrap: wrap; }
    .strip-item { min-width: 50%; }
    .strip-sep { display: none; }
}

@media (max-width: 768px) {
    :root { --header-h: 60px; }
    .burger { display: flex; }
    #nav {
        position: fixed;
        inset: 0;
        top: var(--header-h);
        background: var(--dark);
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
        overflow-y: auto;
        padding: 24px;
    }
    #nav.open { transform: translateX(0); }
    .nav-list { flex-direction: column; align-items: flex-start; gap: 0; }
    .nav-list > li > a {
        font-size: 14px;
        padding: 16px 0;
        width: 100%;
        border-bottom: 1px solid var(--border);
    }
    .nav-list > li > a::after { display: none; }
    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255,255,255,0.04);
        border: none;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        display: none;
    }
    .has-sub.open .submenu { display: block; }
    .has-sub > a::before { content: '+'; float: right; color: var(--accent); }
    .has-sub.open > a::before { content: '−'; }

    .hero-content { padding: 0 24px; }
    .hero-title { font-size: 52px; }
    .actu-grid { grid-template-columns: 1fr; }
    .actu-featured { grid-column: span 1; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .strip-item { min-width: 100%; }
    .hero-cta { flex-direction: column; }
    .btn-primary, .btn-ghost { text-align: center; }
}

/* ======= ADMIN ======= */
.admin-body {
    background: var(--light);
    min-height: 100vh;
    font-family: var(--font-body);
}
.admin-header {
    background: var(--dark);
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 3px solid var(--accent);
}
.admin-sidebar {
    width: 240px;
    background: var(--dark);
    min-height: calc(100vh - 65px);
    padding: 24px 0;
    position: fixed;
    left: 0;
    top: 65px;
}
.admin-sidebar a {
    display: block;
    padding: 12px 24px;
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
    border-left: 3px solid transparent;
}
.admin-sidebar a:hover, .admin-sidebar a.active {
    color: var(--white);
    background: rgba(255,255,255,0.05);
    border-left-color: var(--accent);
}
.admin-main {
    margin-left: 240px;
    padding: 40px;
}
.admin-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 24px;
}
.admin-card h2 {
    font-family: var(--font-serif);
    font-size: 24px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--accent);
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid rgba(0,0,0,0.1);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text);
    transition: border-color 0.2s;
    background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(232,184,75,0.15);
}
.form-group textarea { min-height: 120px; resize: vertical; }

.alert {
    padding: 14px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5; }

table { width: 100%; border-collapse: collapse; }
table th {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    padding: 12px 16px;
    text-align: left;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
table td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 14px;
}
table tr:hover td { background: rgba(232,184,75,0.04); }
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}
.badge-green { background: #d1fae5; color: #065f46; }
.badge-gray { background: #f3f4f6; color: #6b7280; }
.btn-sm { padding: 6px 14px; font-size: 12px; border-radius: 4px; cursor: pointer; font-weight: 600; }
.btn-danger { background: #fee2e2; color: #dc2626; border: none; }
.btn-danger:hover { background: #dc2626; color: white; }
.btn-edit { background: var(--accent); color: var(--black); border: none; margin-right: 6px; }
.btn-edit:hover { background: var(--accent2); }

/* ======= PAGES LÉGALES ======= */
.legal-doc {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.legal-intro {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin-bottom: 40px;
    border-left: 4px solid var(--accent);
    font-size: 15px;
    line-height: 1.8;
}
.legal-intro a { color: var(--accent); }
.legal-section {
    padding: 32px 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}
.legal-section:last-of-type { border-bottom: none; }
.legal-section h2 {
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: 1px;
    color: var(--text);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}
.legal-section p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.85;
    margin-bottom: 12px;
}
.legal-section p:last-child { margin-bottom: 0; }
.legal-section a { color: var(--accent2); text-decoration: underline; }
.legal-section a:hover { color: var(--black); }
.legal-section strong { color: var(--text); font-weight: 600; }
.legal-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.legal-list li {
    padding-left: 20px;
    position: relative;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}
.legal-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}
.legal-footer {
    margin-top: 48px;
    padding: 24px 28px;
    background: var(--dark);
    border-radius: var(--radius);
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
}
.legal-footer a { color: var(--accent); }
