/* ============================================
   ANIP - Association Notariale de l'Ingenierie Patrimoniale
   Brand Colors:
     Navy:  #1d3557
     Gold:  #9e7e30
   ============================================ */

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #1d3557;
    --navy-light: #264573;
    --navy-dark: #142640;
    --gold: #9e7e30;
    --gold-light: #c4a24a;
    --gold-dark: #7a6125;
    --white: #ffffff;
    --off-white: #f8f7f4;
    --gray-50: #fafaf9;
    --gray-100: #f0efec;
    --gray-200: #e2e0db;
    --gray-400: #a09d96;
    --gray-600: #6b6860;
    --gray-800: #3a3833;
    --text: #2c2c2c;
    --text-light: #5a5a5a;

    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --nav-height: 80px;
    --section-padding: 100px;
    --container-width: 1200px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--gold-light);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Skip link (accessibility) --- */
.skip-link {
    position: absolute;
    top: -9999px;
    left: -9999px;
    z-index: 10000;
    padding: 12px 24px;
    background: var(--navy);
    color: var(--white);
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none;
}

.skip-link:focus {
    top: 12px;
    left: 16px;
    color: var(--white);
}

/* --- Animations --- */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate="fade-right"] {
    transform: translateX(-30px);
}

[data-animate="fade-left"] {
    transform: translateX(30px);
}

[data-animate].is-visible {
    opacity: 1;
    transform: translate(0);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: background var(--transition), box-shadow var(--transition);
}

.nav--scrolled {
    background: rgba(29, 53, 87, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.nav__container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    z-index: 1001;
}

.nav__logo-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.nav__logo-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 2px;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav__link {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    text-decoration: none;
}

.nav__link:hover {
    color: var(--white);
    background: rgba(255,255,255,0.1);
}

.nav__link--cta {
    background: var(--gold);
    color: var(--white) !important;
    font-weight: 600;
    margin-left: 8px;
}

.nav__link--cta:hover {
    background: var(--gold-light);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav__toggle.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.nav__toggle.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    overflow: hidden;
}

.hero__bg-pattern {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(158, 126, 48, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(158, 126, 48, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 100%, rgba(29, 53, 87, 0.5) 0%, transparent 50%);
}

.hero__bg-pattern::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(158, 126, 48, 0.03) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: subtleFloat 30s ease-in-out infinite;
}

@keyframes subtleFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-15px, -15px); }
}

.hero__content {
    position: relative;
    text-align: center;
    padding: 0 24px;
    padding-top: var(--nav-height);
}

@media (min-width: 1200px) {
    .hero__content {
        padding-top: 20px;
    }
}

.hero__logo-wrapper {
    margin-bottom: 48px;
}

.hero__logo-icon {
    width: 200px;
    height: 200px;
    margin: 0 auto 32px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.93);
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    animation: logoSpin 1.6s cubic-bezier(0.12, 0.8, 0.2, 1) forwards;
}

@keyframes logoSpin {
    0% {
        transform: rotate(0deg) scale(0.75);
        opacity: 0;
    }
    8% {
        opacity: 1;
    }
    100% {
        transform: rotate(1080deg) scale(1);
        opacity: 1;
    }
}

.hero__title,
.hero__tagline {
    animation: heroFadeIn 0.7s ease-out 1.1s both;
}

.hero__tagline {
    animation-delay: 1.3s;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 768px) {
    .hero__logo-icon {
        width: 260px;
        height: 260px;
        padding: 14px;
    }
}

@media (min-width: 1200px) {
    .hero__logo-icon {
        width: 300px;
        height: 300px;
        padding: 16px;
    }
}

@media (min-width: 1600px) {
    .hero__logo-icon {
        width: 360px;
        height: 360px;
        padding: 18px;
    }
}

.hero__title {
    margin-bottom: 20px;
}

.hero__title-name {
    display: none; /* Visually hidden, already in the logo icon */
}

.hero__title-full {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 600;
    font-style: italic;
    color: var(--white);
    line-height: 1.4;
    letter-spacing: 0.5px;
}

.hero__tagline {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--gold-light);
    margin-bottom: 0;
    letter-spacing: 0.5px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero__scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    color: rgba(255,255,255,0.4);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    pointer-events: none;
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; height: 40px; }
    50% { opacity: 1; height: 50px; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    letter-spacing: 0.3px;
}

.btn--primary {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.btn--primary:hover {
    background: var(--navy-light);
    border-color: var(--navy-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}

.btn--outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-2px);
}

.btn--gold {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

.btn--gold:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--full {
    width: 100%;
}

.btn--lg {
    padding: 18px 48px;
    font-size: 1.05rem;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: var(--section-padding) 0;
}

.section--light {
    background: var(--off-white);
}

.section--dark {
    background: var(--navy);
}

.section--accent {
    background: var(--navy-dark);
}

.section__header {
    text-align: center;
    margin-bottom: 64px;
}

.section__label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 16px;
}

.section__label--light {
    color: var(--gold-light);
}

.section__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
}

.section__title--light {
    color: var(--white);
}

.section__divider {
    width: 60px;
    height: 3px;
    background: var(--navy);
    margin: 24px auto 0;
    border-radius: 2px;
}

.section__divider--gold {
    background: var(--gold);
}

/* ============================================
   ABOUT
   ============================================ */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.about__lead {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 20px;
}

.about__text p {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about__text strong {
    color: var(--navy);
}

.about__stats {
    display: grid;
    gap: 20px;
}

.stat-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    border-left: 4px solid var(--gold);
    transition: all var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stat-card__number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-card__label {
    font-size: 0.9rem;
    color: var(--gray-600);
    font-weight: 500;
}

.about__press {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.press-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 28px;
    background: var(--white);
    border: 2px solid var(--gold);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition);
}

.press-link:hover {
    background: var(--gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.press-link__icon {
    color: var(--gold);
    flex-shrink: 0;
}

.press-link:hover .press-link__icon {
    color: var(--white);
}

.press-link__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.press-link__text strong {
    font-size: 0.95rem;
    color: var(--navy);
}

.press-link:hover .press-link__text strong {
    color: var(--white);
}

.press-link__text span:last-child {
    font-size: 0.82rem;
    color: var(--text-light);
}

.press-link:hover .press-link__text span:last-child {
    color: rgba(255,255,255,0.8);
}

.press-link__arrow {
    font-size: 1.3rem;
    color: var(--gold);
    flex-shrink: 0;
    transition: transform var(--transition);
}

.press-link:hover .press-link__arrow {
    color: var(--white);
    transform: translateX(4px);
}

/* ============================================
   SERVICES
   ============================================ */
.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    transition: all var(--transition);
}

.service-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(158, 126, 48, 0.3);
    transform: translateY(-4px);
}

.service-card__icon {
    width: 52px;
    height: 52px;
    color: var(--gold-light);
    margin-bottom: 20px;
}

.service-card__icon svg {
    width: 100%;
    height: 100%;
}

.service-card__title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
}

.service-card__desc {
    font-size: 0.92rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.78);
}

/* ============================================
   WHY JOIN
   ============================================ */
.why__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.why__card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 40px 36px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.why__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--navy), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.why__card:hover::before {
    transform: scaleX(1);
}

.why__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.why__card-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gray-100);
    line-height: 1;
    margin-bottom: 16px;
}

.why__card-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 12px;
}

.why__card-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   BUREAU
   ============================================ */
.bureau__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.bureau__card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition);
}

.bureau__card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
}

.bureau__card--president {
    border-color: var(--gold);
    background: rgba(158, 126, 48, 0.1);
}

.bureau__role {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-light);
    margin-bottom: 12px;
    font-weight: 600;
}

.bureau__name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--white);
}

.bureau__location {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
    margin-top: 6px;
    font-style: italic;
}

.bureau__admin-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bureau__admin-item {
    display: inline;
    line-height: 1.6;
    color: rgba(255,255,255,0.75);
    font-size: 1rem;
}

.bureau__admin-item a {
    font-size: 1rem;
    color: rgba(255,255,255,0.75);
}

.bureau__admin-item a:hover {
    color: var(--gold-light);
}

.bureau__group-role {
    font-size: 0.85rem;
    color: var(--gold-light);
    font-weight: 600;
}

.bureau__group-location {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    font-style: italic;
}

.bureau__linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-top: 12px;
    color: rgba(255,255,255,0.4);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    transition: all var(--transition);
}

.bureau__linkedin:hover {
    color: var(--gold-light);
    border-color: var(--gold-light);
    background: rgba(158, 126, 48, 0.15);
}

.bureau__linkedin svg {
    width: 16px;
    height: 16px;
}

.bureau__others {
    display: flex;
    justify-content: center;
    gap: 64px;
    text-align: center;
}

.bureau__others a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: color var(--transition);
}

.bureau__others a:hover {
    color: var(--gold-light);
    text-decoration: underline;
}

.bureau__group-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-light);
    margin-bottom: 8px;
    font-weight: 600;
}

.bureau__group-names {
    font-size: 1rem;
    color: rgba(255,255,255,0.82);
}

/* ============================================
   PRICING / ADHESION
   ============================================ */
.adhesion__intro {
    text-align: center;
    max-width: 700px;
    margin: -24px auto 48px;
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
}

.pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 40px;
}

.pricing__single {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.pricing__single .pricing-card {
    max-width: 400px;
    width: 100%;
}

.pricing__duo {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 700px;
    margin: 0 auto 40px;
}

@media (max-width: 600px) {
    .pricing__duo {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    position: relative;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.pricing-card .btn {
    margin-top: auto;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.pricing-card--featured {
    border-color: var(--gold);
    transform: scale(1.04);
    box-shadow: var(--shadow-md);
}

.pricing-card--featured:hover {
    transform: scale(1.04) translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.pricing-card__badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--gold);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
}

.pricing-card__title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 20px;
}

.pricing-card__price {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
    line-height: 1;
}

.pricing-card__price span {
    font-size: 1.5rem;
}

.pricing-card__period {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 4px;
}

.pricing-card__condition {
    font-size: 0.82rem;
    color: var(--gray-400);
    margin-bottom: 28px;
    font-style: italic;
}

.adhesion__note {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-light);
}

.adhesion__note a {
    font-weight: 600;
}

/* ============================================
   CONTACT
   ============================================ */
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.contact__item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 36px;
}

.contact__icon {
    width: 44px;
    height: 44px;
    color: var(--gold-light);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact__icon svg {
    width: 100%;
    height: 100%;
}

.contact__item h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--white);
    margin-bottom: 4px;
}

.contact__item a,
.contact__item p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.78);
    line-height: 1.6;
}

.contact__item a:hover {
    color: var(--gold-light);
}

.contact__cta {
    text-align: center;
    padding: 48px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
}

.contact__cta--light {
    background: var(--off-white);
    border: none;
    box-shadow: var(--shadow-md);
}

.contact__logo {
    width: 100px;
    margin: 0 auto 24px;
    opacity: 0.9;
}

.contact__cta-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 28px;
    line-height: 1.5;
}

.contact__cta--light .contact__cta-text {
    color: var(--navy);
}

.contact__cta-text strong {
    color: var(--gold-light);
}

.contact__cta--light .contact__cta-text strong {
    color: var(--gold);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #0f1f30;
    padding: 48px 0 24px;
}

.footer__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 24px;
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer__logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer__tagline {
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--gold);
}

.footer__links {
    display: flex;
    gap: 24px;
}

.footer__links a {
    color: rgba(255,255,255,0.72);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: color var(--transition);
}

.footer__links a:hover {
    color: var(--white);
}

.footer__bottom {
    text-align: center;
}

.footer__legal-link {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3) !important;
    text-decoration: none;
    cursor: pointer;
}

.footer__legal-link:hover {
    color: rgba(255,255,255,0.6) !important;
    text-decoration: underline;
}

/* Modale Mentions Légales */
.legal-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.legal-modal.is-open {
    display: flex;
}

.legal-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

.legal-modal__content {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 36px 32px;
    max-width: 520px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.legal-modal__content p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 4px;
}

.legal-modal__content a {
    color: var(--gold);
}

.legal-modal__title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 20px;
}

.legal-modal__subtitle {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy);
    margin-top: 16px;
    margin-bottom: 4px;
}

.legal-modal__close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--gray-400);
    cursor: pointer;
    line-height: 1;
    transition: color var(--transition);
}

.legal-modal__close:hover {
    color: var(--text);
}

.footer__bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
        --nav-height: 68px;
    }

    /* Burger nav at 1024px */
    .nav__toggle {
        display: flex;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--navy-dark);
        flex-direction: column;
        align-items: stretch;
        padding: 100px 32px 32px;
        gap: 4px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.3);
    }

    .nav__menu.is-open {
        right: 0;
    }

    .nav__link {
        padding: 14px 16px;
        font-size: 1rem;
        border-radius: var(--radius-sm);
    }

    .nav__link--cta {
        display: block;
        margin-left: 0;
        margin-top: 24px;
        padding-top: 16px;
        padding-bottom: 16px;
        text-align: center;
        position: relative;
    }

    .nav__link--cta::before {
        content: "";
        position: absolute;
        top: -14px;
        left: 16px;
        right: 16px;
        height: 1px;
        background: rgba(255, 255, 255, 0.1);
    }

    .about__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about__stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bureau__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 64px;
    }

    /* Hero */
    .hero__logo {
        max-width: 260px;
    }

    .hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .hero__actions .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero__scroll-indicator {
        display: none;
    }

    /* About */
    .about__stats {
        grid-template-columns: 1fr;
    }

    /* Services */
    .services__grid {
        grid-template-columns: 1fr;
    }

    /* Why */
    .why__grid {
        grid-template-columns: 1fr;
    }

    /* Bureau */
    .bureau__grid {
        grid-template-columns: 1fr;
    }

    .bureau__others {
        flex-direction: column;
        gap: 32px;
    }

    /* Pricing */
    .pricing__grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-card--featured {
        transform: none;
    }

    .pricing-card--featured:hover {
        transform: translateY(-6px);
    }

    /* Contact */
    .contact__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    /* Footer */
    .footer__content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer__links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 48px;
    }

    .section__header {
        margin-bottom: 40px;
    }

    .why__card {
        padding: 28px 24px;
    }

    .pricing-card {
        padding: 32px 24px;
    }

    .contact__cta {
        padding: 32px 24px;
    }
}

/* Mobile menu overlay */
.nav__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 999;
}

.nav__overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
    padding: 20px 24px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.is-visible {
    transform: translateY(0);
}

.cookie-banner__content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-banner__text {
    flex: 1;
    min-width: 280px;
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.5;
}

.cookie-banner__link {
    color: var(--gold) !important;
    font-weight: 600;
    text-decoration: underline;
}

.cookie-banner__details {
    display: none;
    width: 100%;
    padding: 12px 0 4px;
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.6;
}

.cookie-banner__details.is-open {
    display: block;
}

.cookie-banner__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn--sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn--outline-dark {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--gray-200);
}

.btn--outline-dark:hover {
    background: var(--gray-100);
    color: var(--text);
}

@media (max-width: 768px) {
    .cookie-banner__content {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-banner__actions {
        justify-content: stretch;
    }

    .cookie-banner__actions .btn {
        flex: 1;
    }
}
