/* ============================================
   Site Infirmière - Moderne & Dynamique
   ============================================ */

:root {
    /* Palette derived from images/logo.png */
    --green-900: #175c5c;
    --green-800: #1f5f5f;
    --green-700: #256066;
    --green-600: #276268;
    --green-500: #266167;
    --green-400: #007f7f;
    --green-300: #005555;
    --green-200: #326b5e; /* average */
    --green-100: #D9F3F1; /* light tint for backgrounds */
    --green-50: #F4FBFB;

    /* Accent colors mapped from logo */
    --mint: #007f7f;
    --emerald: #256066;
    --teal: #276268;

    /* Texte */
    --color-text: #1A2E24;
    --color-text-light: #3D5A4A;
    --color-text-muted: #6B8A7A;

    /* Fonds */
    --color-bg: #FFFFFF;
    --color-white: #FFFFFF;

    /* Typographie */
    --font-main: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    --text-base: 1.125rem;
    --text-lg: 1.25rem;
    --text-xl: 1.5rem;
    --text-2xl: 2rem;
    --text-3xl: 2.75rem;

    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 3.5rem;

    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-main);
    font-size: var(--text-base);
    line-height: 1.8;
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

*:focus-visible {
    outline: 3px solid var(--green-600);
    outline-offset: 3px;
}

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

/* ============================================
   Navigation flottante
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-sm);
    transition: 0.3s;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    box-shadow: 0 4px 20px rgba(15, 76, 53, 0.1);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1140px;
    margin: 0 auto;
    padding: var(--space-sm) var(--space-md);
    background: var(--color-white);
    border-radius: 100px;
    box-shadow: 0 4px 24px rgba(15, 76, 53, 0.1);
    border: 2px solid #000; /* entoure le menu par une ligne noire */
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--green-700);
    font-size: var(--text-xl);
    font-weight: 700;
}

.nav__logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--green-500), var(--teal));
    color: white;
    border-radius: 10px;
    font-size: 1rem;
}

/* Logo image when provided by user */
.nav__logo-image {
    display: inline-block;
    height: 36px !important; /* agrandi pour la barre */
    max-height: 36px !important;
    width: auto !important;
    border-radius: 0 !important;
    object-fit: contain !important;
    background: none !important; /* use transparent PNG */
    vertical-align: middle !important;
    margin-right: 0.4rem !important;
}

/* Extra-specific selector to override other rules */
.nav .nav__logo > .nav__logo-image {
    height: 36px !important;
    max-height: 36px !important;
}

/* Extra specific rule to ensure nav logo appears small */
.nav > a.nav__logo > img.nav__logo-image {
    height: 36px !important;
    max-height: 36px !important;
    width: auto !important;
}

.nav__logo-text {
    display: inline-block;
    margin-left: 0.5rem;
    font-weight: 700;
    color: var(--green-700);
}

/* Homepage hero logo - enlarged and spaced below header */
.hero__logo {
    display: block;
    height: 266px;
    max-width: 90%;
    width: auto;
    margin: 1.8rem auto 0.75rem;
    align-self: center;
    object-fit: contain;
    background-color: transparent !important;
    background: none !important;
    border-radius: 0;
}

/* Responsive sizes */
@media (max-width: 1200px) {
    .hero__logo {
        height: 199px;
        max-width: 85%;
    }
}

@media (max-width: 800px) {
    .hero__logo {
        width: min(82vw, 320px);
        max-width: 82vw;
        height: auto;
        margin-top: 0.35rem;
    }
}

@media (max-width: 480px) {
    .hero__logo {
        width: min(88vw, 340px);
        max-width: 88vw;
        height: auto;
        margin-top: 0.15rem;
    }
}

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

.nav__menu a {
    display: block;
    padding: var(--space-sm) var(--space-md);
    text-decoration: none;
    color: var(--color-text);
    font-size: var(--text-base);
    font-weight: 700;
    border-radius: 100px;
    transition: 0.25s;
}

.nav__menu a:hover {
    background: var(--green-100);
    color: var(--green-800);
}

.nav__cta {
    background: linear-gradient(135deg, var(--green-700), var(--green-600)) !important;
    color: var(--color-white) !important;
    font-weight: 600 !important;
}

.nav__cta:hover {
    background: linear-gradient(135deg, var(--green-800), var(--green-700)) !important;
    transform: scale(1.03);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: var(--space-sm);
    background: var(--green-100);
    border: 2px solid var(--green-400);
    border-radius: var(--radius);
    cursor: pointer;
}

.nav__toggle-line {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--green-700);
    border-radius: 2px;
    transition: 0.3s;
}

/* ============================================
   Hero - Dynamique avec dégradé
   ============================================ */
.hero {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem var(--space-md) 1.5rem;
    background: var(--color-white); /* fond blanc pour la première partie */
    color: var(--color-text);
    text-align: center;
    overflow: hidden;
}

/* Blobs décoratifs */
.hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: blobFloat 18s ease-in-out infinite;
    opacity: 0.06; /* atténuer pour fond blanc */
}

.hero__blob--1 {
    width: 500px;
    height: 500px;
    background: var(--mint);
    opacity: 0.2;
    top: -15%;
    right: -10%;
}

.hero__blob--2 {
    width: 400px;
    height: 400px;
    background: var(--green-400);
    opacity: 0.15;
    bottom: -10%;
    left: -10%;
    animation-delay: -6s;
}

.hero__blob--3 {
    width: 300px;
    height: 300px;
    background: var(--teal);
    opacity: 0.2;
    top: 40%;
    left: 30%;
    animation-delay: -12s;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 620px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero__tagline {
    display: inline-block;
    padding: 0.6rem var(--space-md);
    margin-bottom: var(--space-lg);
    font-size: var(--text-base);
    font-weight: 600;
    background: rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: var(--color-text);
    border-radius: 100px;
    animation: fadeUp 0.8s ease-out 0.2s both;
}

.hero__title {
    font-size: var(--text-3xl);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.65rem;
}

.hero__title-line {
    display: block;
    animation: fadeUp 0.8s ease-out both;
}

.hero__title-line:nth-child(1) { animation-delay: 0.3s; }
.hero__title-line:nth-child(2) { animation-delay: 0.5s; }

.hero__title-line--accent {
    background: linear-gradient(90deg, var(--green-300), var(--mint));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__description {
    font-size: var(--text-lg);
    line-height: 1.5;
    margin-bottom: 0;
    opacity: 0.9;
    color: var(--color-text-muted);
    animation: fadeUp 0.8s ease-out 0.7s both;
}

.hero__actions {
    display: flex;
    flex-wrap: nowrap;
    gap: var(--space-sm);
    justify-content: center;
    align-items: stretch;
    margin-top: 0.9rem;
    animation: fadeUp 0.8s ease-out 0.9s both;
}

.hero__actions .btn {
    white-space: nowrap;
}

.hero .btn--outline {
    background: linear-gradient(135deg, #2f80ed, #1c4fa1);
    color: var(--color-white);
    border: 2px solid transparent;
    box-shadow: 0 10px 24px rgba(47, 128, 237, 0.22);
    backdrop-filter: none;
}

.hero .btn--outline:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #276fd0, #183f85);
    color: var(--color-white);
    box-shadow: 0 14px 30px rgba(28, 79, 161, 0.28);
}

.hero .btn--whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: var(--color-white);
    border: 2px solid transparent;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.22);
}

.hero .btn--whatsapp svg {
    width: 34px;
    height: 34px;
}

.hero .btn--phone svg {
    width: 28px;
    height: 28px;
}

.hero .btn--whatsapp:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #20bd5b, #0f7f72);
    color: var(--color-white);
    box-shadow: 0 14px 30px rgba(18, 140, 126, 0.26);
}

/* Scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: fadeUp 0.8s ease-out 1.2s both;
}

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

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.6); }
}

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

/* ============================================
   Boutons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: var(--space-md) var(--space-lg);
    font-family: var(--font-main);
    font-size: var(--text-lg);
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: 0.3s;
    min-height: 60px;
}

.btn svg {
    flex-shrink: 0;
    transition: transform 0.3s;
}

.btn--primary {
    background: var(--color-white);
    color: var(--green-800);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.btn--primary:hover svg {
    transform: translateX(4px);
}

.btn--outline {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
}

.btn--outline:hover {
    background: var(--color-white);
    color: var(--green-800);
    border-color: var(--color-white);
}

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

.btn--green {
    background: linear-gradient(135deg, var(--green-700), var(--green-600));
    color: var(--color-white);
    box-shadow: 0 4px 16px rgba(46, 125, 90, 0.3);
}

.btn--green:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(46, 125, 90, 0.4);
}

.btn--green:hover svg {
    transform: translateX(4px);
}

/* ============================================
   Titres de section
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-header--left {
    text-align: left;
}

.section-header__tag {
    display: inline-block;
    padding: 0.4rem var(--space-sm);
    margin-bottom: var(--space-sm);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green-700);
    background: var(--green-100);
    border-radius: 100px;
}

.section-header__title {
    font-size: clamp(2.15rem, 4vw, 2.9rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
    line-height: 1.1;
}

.section-header__subtitle {
    font-size: var(--text-lg);
    color: var(--color-text-light);
}

/* ============================================
   Services - Grille dynamique
   ============================================ */
.services {
    padding: var(--space-2xl) 0;
    background: var(--green-50);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, var(--color-white), var(--green-50));
    pointer-events: none;
}

.services .container {
    position: relative;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.15rem;
    grid-auto-rows: 1fr;
}

.service-card {
    position: relative;
    padding: 1.4rem 1.3rem;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    border: 2px solid var(--green-200);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--green-700) 0%, var(--emerald) 50%, var(--teal) 100%);
    opacity: 0;
    transition: opacity 0.35s;
    border-radius: inherit;
    z-index: 0;
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: 0 16px 40px rgba(15, 76, 53, 0.2);
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover .service-card__icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    transform: scale(1.1);
}

.service-card:hover .service-card__title {
    color: var(--color-white);
}

.service-card:hover .service-card__description {
    color: rgba(255, 255, 255, 0.9);
}

/* Featured card = déjà vert */
.service-card--featured {
    background: linear-gradient(135deg, var(--green-800) 0%, var(--green-600) 100%);
    color: var(--color-white);
    border: none;
}

.service-card--featured::after {
    background: linear-gradient(135deg, var(--green-900) 0%, var(--emerald) 100%);
}

.service-card--featured .service-card__icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
}

.service-card--featured .service-card__title {
    color: var(--color-white);
}

.service-card--featured .service-card__description {
    color: rgba(255, 255, 255, 0.9);
}

.service-card--featured:hover {
    box-shadow: 0 16px 40px rgba(15, 76, 53, 0.35);
}

.service-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 0.9rem;
    background: var(--green-100);
    border-radius: 14px;
    color: var(--green-700);
    transition: all 0.35s;
}

/* Couleurs différentes par carte */
.service-card:nth-child(1) .service-card__icon {
    background: #E8F5EE; color: #2E7D5A;
}
.service-card:nth-child(2) .service-card__icon {
    background: #E0F7F1; color: #1B8A6B;
}
.service-card:nth-child(3) .service-card__icon {
    background: #FFF0E6; color: #D4854A;
}
.service-card:nth-child(4) .service-card__icon {
    background: #E6F0FF; color: #4A7DC4;
}
.service-card:nth-child(5) .service-card__icon {
    background: #F0E6FF; color: #7B4AC4;
}
.service-card:nth-child(6) .service-card__icon {
    background: #FFEEF2; color: #C44A6B;
}
.service-card:nth-child(7) .service-card__icon {
    background: #FFF8E0; color: #B8960C;
}
.service-card:nth-child(8) .service-card__icon {
    background: #E0FBF5; color: #2EC4A5;
}
.service-card:nth-child(9) .service-card__icon {
    background: #E8E0F7; color: #5A4A8A;
}

.service-card__title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.35rem;
    line-height: 1.25;
    transition: color 0.35s;
}

.service-card__description {
    font-size: var(--text-base);
    color: var(--color-text-light);
    line-height: 1.55;
    transition: color 0.35s;
}

.service-card__number {
    display: none;
}

/* ============================================
   À propos
   ============================================ */
.about {
    padding: var(--space-2xl) 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--color-white), var(--green-100));
}

.about__bg {
    display: none;
}

.about__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: var(--space-xl);
    align-items: start;
}

.about__image-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about__image-stack {
    position: relative;
    width: 100%;
    padding-top: 16px;
    padding-left: 16px;
}

.about__image-frame {
    position: relative;
    z-index: 1;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(15, 76, 53, 0.15);
}

.about__image {
    display: block;
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: center 30%;
}

.about__image-caption {
    position: relative;
    z-index: 1;
    margin-top: 1rem;
    padding: 0 0.5rem;
    text-align: center;
    font-size: var(--text-lg);
    font-weight: 700;
    font-style: italic;
    color: var(--color-text);
}

.about__image-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--green-300), var(--mint));
    border-radius: var(--radius-xl);
    z-index: 0;
    opacity: 0.75;
}

.about__content {
    position: relative;
    z-index: 1;
}

.about__text {
    margin-bottom: var(--space-lg);
}

.about__intro {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--green-700);
    margin-bottom: var(--space-md);
    line-height: 1.5;
}

.about__intro strong {
    color: var(--color-text);
}

.about__text p {
    font-size: var(--text-base);
    color: var(--color-text-light);
    line-height: 1.8;
}

.about__credentials {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.credential {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 2px solid var(--green-200);
    transition: all 0.3s;
}

.credential:hover {
    border-color: var(--green-400);
    box-shadow: 0 4px 16px rgba(15, 76, 53, 0.08);
    transform: translateX(6px);
}

.credential__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--green-600), var(--teal));
    color: var(--color-white);
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.credential__title {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 4px;
}

.credential__text {
    font-size: var(--text-base);
    color: var(--color-text-muted);
}

/* ============================================
   Zone d'intervention
   ============================================ */
.zone {
    padding: var(--space-2xl) 0;
    background: linear-gradient(180deg, var(--color-white), var(--green-50));
}

.zone__map {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
    min-height: 350px;
    justify-content: center;
}

.zone__center {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.zone__center-dot {
    width: 24px;
    height: 24px;
    background: var(--green-600);
    border-radius: 50%;
    box-shadow: 0 0 0 8px rgba(58, 157, 110, 0.2), 0 0 0 16px rgba(58, 157, 110, 0.1);
    animation: dotPulse 2.5s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 0 8px rgba(58, 157, 110, 0.2), 0 0 0 16px rgba(58, 157, 110, 0.1); }
    50% { box-shadow: 0 0 0 12px rgba(58, 157, 110, 0.3), 0 0 0 24px rgba(58, 157, 110, 0.1); }
}

.zone__center-label {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--green-700);
}

.zone__cities {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.zone__city {
    padding: var(--space-sm) var(--space-md);
    background: var(--color-white);
    border: 2px solid var(--green-300);
    border-radius: 100px;
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-text);
    transition: all 0.3s;
    cursor: default;
}

.zone__city:hover {
    background: linear-gradient(135deg, var(--green-600), var(--teal));
    color: var(--color-white);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(15, 76, 53, 0.2);
}

/* Cercles décoratifs */
.zone__ring {
    position: absolute;
    border: 2px dashed var(--green-200);
    border-radius: 50%;
    opacity: 0.5;
    animation: ringGrow 5s ease-in-out infinite;
}

.zone__ring--1 {
    width: 180px;
    height: 180px;
    animation-delay: 0s;
}

.zone__ring--2 {
    width: 320px;
    height: 320px;
    animation-delay: 1s;
}

.zone__ring--3 {
    width: 460px;
    height: 460px;
    animation-delay: 2s;
}

.zone__seo-text {
    max-width: 860px;
    margin: var(--space-lg) auto 0;
    text-align: center;
}

.zone__seo-text p {
    font-size: var(--text-base);
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 0.85rem;
}

@keyframes ringGrow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.03); }
}

/* ============================================
   FAQ
   ============================================ */
.faq {
    padding: var(--space-2xl) 0;
    background: linear-gradient(180deg, var(--green-50), var(--color-white));
}

.faq__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-md);
}

.faq__item {
    padding: 1.4rem 1.3rem;
    background: var(--color-white);
    border: 2px solid var(--green-200);
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 30px rgba(15, 76, 53, 0.06);
}

.faq__question {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.faq__answer {
    font-size: var(--text-base);
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ============================================
   Contact
   ============================================ */
.contact {
    padding: var(--space-lg) 0;
    background: var(--color-white);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: var(--space-xl);
    align-items: start;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.contact__row {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.contact__row .contact__item {
    flex: 1;
    min-width: 250px;
}

.contact__item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--green-50);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    border: 2px solid transparent;
    transition: all 0.3s;
}

a.contact__item:hover {
    border-color: var(--green-400);
    background: var(--green-100);
    transform: translateX(6px);
}

.contact__item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--green-600), var(--teal));
    border-radius: 16px;
    color: var(--color-white);
    flex-shrink: 0;
}

.contact__item--whatsapp .contact__item-icon {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.contact__item--phone .contact__item-icon {
    background: linear-gradient(135deg, #2f80ed, #1c4fa1);
}

.contact__item--email .contact__item-icon {
    background: linear-gradient(135deg, #f2994a, #d35400);
}

.contact__item--whatsapp .contact__item-icon svg {
    width: 40px;
    height: 40px;
}

.contact__item--phone .contact__item-icon svg {
    width: 30px;
    height: 30px;
}

.contact__item--email .contact__item-icon svg {
    width: 46px;
    height: 46px;
}

.contact__item--phone:hover {
    border-color: #2f80ed;
    background: #eef5ff;
}

.contact__item--email:hover {
    border-color: #f2994a;
    background: #fff4ea;
}

.contact__item--whatsapp:hover {
    border-color: #25D366;
    background: #eefcf4;
}

.contact__item-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 4px;
}

.contact__item-value {
    display: block;
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-text);
}

.contact__item-value--sub {
    font-weight: 500;
    font-size: var(--text-base);
    color: var(--color-text-light);
}

/* Formulaire */
.contact__form {
    margin-top: 1.75rem;
    padding: 1.5rem;
    background: linear-gradient(145deg, var(--green-50), var(--green-100));
    border-radius: var(--radius-xl);
    border: 2px solid var(--green-200);
}

.contact__form-title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 0.9rem;
}

.form-label {
    display: block;
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.35rem;
}

.form-label__optional {
    font-weight: 400;
    color: var(--color-text-muted);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    font-family: var(--font-main);
    font-size: 1.05rem;
    color: var(--color-text);
    background: var(--color-white);
    border: 2px solid var(--green-300);
    border-radius: var(--radius);
    transition: 0.3s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--green-600);
    box-shadow: 0 0 0 4px rgba(46, 125, 90, 0.15);
}

.form-textarea {
    resize: vertical;
    min-height: 110px;
}

.form-message {
    margin-top: 0.9rem;
    padding: 0.9rem 1rem;
    border-radius: var(--radius);
    font-size: var(--text-base);
    font-weight: 500;
    display: none;
}

.form-message.success {
    display: block;
    background: var(--green-100);
    color: var(--green-800);
    border: 2px solid var(--green-600);
}

.form-message.error {
    display: block;
    background: #FDEAEA;
    color: #9A3333;
    border: 2px solid #E57373;
}

.form-message.loading {
    display: block;
    background: var(--green-100);
    color: var(--green-700);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: var(--space-md) 0;
    background: linear-gradient(135deg, var(--green-900), var(--green-800));
    color: var(--color-white);
}

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

.footer__logo {
    font-size: var(--text-xl);
    font-weight: 700;
}

.footer__tagline {
    font-size: var(--text-base);
    opacity: 0.7;
    margin-top: 0.25rem;
}

.footer__nav {
    display: flex;
    gap: var(--space-md);
}

.footer__nav a {
    color: var(--color-white);
    text-decoration: none;
    font-size: var(--text-base);
    opacity: 0.8;
    transition: 0.2s;
}

.footer__nav a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--text-base);
    opacity: 0.7;
}

.footer__legal {
    display: flex;
    gap: var(--space-md);
}

.footer__legal a {
    color: var(--color-white);
    text-decoration: none;
}

.footer__legal a:hover {
    text-decoration: underline;
}

.footer__credit {
    font-size: var(--text-base);
    opacity: 0.85;
}

.footer__credit a {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 700;
}

.footer__credit a:hover {
    text-decoration: underline;
}

/* ============================================
   Animations au scroll
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .about__grid,
    .contact__grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .about__bg {
        display: none;
    }

    .about__image {
        height: 380px;
    }
}

@media (max-width: 768px) {
    :root {
        --text-3xl: 2.25rem;
        --text-2xl: 1.75rem;
        --space-2xl: 4rem;
    }

    .header {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 0.5rem var(--space-md) 1.5rem;
    }

    .hero__scroll {
        display: none;
    }

    .hero__actions {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 0.75rem;
    }

    .hero__actions .btn {
        width: 100%;
        padding-left: 1.1rem;
        padding-right: 1.1rem;
        font-size: 1rem;
    }

    .btn {
        width: 100%;
    }

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

    .contact__row {
        justify-content: center;
    }

    .contact__row .contact__item {
        flex: 0 0 auto;
        min-width: 0;
    }

    .contact__item {
        justify-content: center;
        padding: 0.75rem;
    }

    .contact__item-content {
        display: none;
    }

    .about__image-wrapper {
        width: min(100%, 420px);
        max-width: 420px;
        margin: 0 auto;
    }

    .about__image-stack {
        width: calc(100% - 16px);
    }

    .about__image {
        height: 420px;
        object-position: center 22%;
    }

    .about__image-caption {
        margin-top: 1.1rem;
        font-size: 1.35rem;
    }

    .zone__ring--3 {
        display: none;
    }

    .footer__content,
    .footer__bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .footer__nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .about__image-wrapper {
        width: min(100%, 380px);
        max-width: 380px;
    }

    .about__image {
        height: 390px;
    }

    .hero__blob--2,
    .hero__blob--3 {
        display: none;
    }

    .zone__ring--2 {
        display: none;
    }

    .contact__form {
        padding: var(--space-md);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
