/* ============================================
   AQUA'ECO — Feuille de styles principale
   Montserrat (titres) + Open Sans (corps)
   ============================================ */

/* === POLICES AUTO-HÉBERGÉES ===
   Montserrat et Open Sans en variable, servies depuis css/fonts/.
   Aucune requête vers fonts.googleapis.com ni fonts.gstatic.com :
   l'adresse IP du visiteur n'est plus transmise à un tiers.
   Fichiers récupérés le 28/08/2026 depuis Google Fonts (licence OFL). */

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('fonts/montserrat-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('fonts/montserrat-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('fonts/open-sans-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('fonts/open-sans-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* === RESET & VARIABLES === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-dark: #264368;
    --primary: #2B54A9;
    --primary-light: #1a7bc4;
    --secondary: #ffde59;
    --secondary-dark: #f0d030;
    --bg-light: #f7f9fc;
    --bg-white: #fefdfb;
    --bg-warm: #faf9f5;
    --text-main: #343232;
    --text-secondary: #5a5a5a;
    --text-light: #8a8a8a;
    --border: #e4e8ee;
    --success: #16A34A;
    --error: #DC2626;
    --max-width: 1200px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-main);
    background: #fff;
    line-height: 1.6;
}

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* Focus clavier : visible partout, invisible à la souris */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Sur fonds sombres, le bleu primaire ne ressort pas */
.hero a:focus-visible,
.section--dark a:focus-visible,
.cta-section a:focus-visible,
.footer a:focus-visible,
.mobile-bar a:focus-visible {
    outline-color: var(--secondary);
}

/* Lien d'évitement */
.skip-link {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -120%);
    z-index: 2000;
    background: var(--primary);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 15px;
    padding: 12px 24px;
    border-radius: 0 0 12px 12px;
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translate(-50%, 0);
    color: #fff;
}

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

ul {
    list-style: none;
}

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

.section {
    padding: 64px 0;
}

.section:nth-of-type(odd) { background: #fff; }
.section:nth-of-type(even) { background: #f5f7fb; }

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

.section.section--dark {
    background: #0c2d4a;
    color: #fff;
}

.section--dark h2 {
    position: relative;
    display: inline-block;
}

.section--dark h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 5px;
    background: var(--secondary);
    border-radius: 2px;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-title {
    display: inline-block;
    position: relative;
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}

.section--dark .section-title {
    color: #fff;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.section--dark .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

/* === TYPOGRAPHIE === */
h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.2;
}

h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.3;
}

h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.3;
}

h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1.4;
}

p {
    margin-bottom: 16px;
}

p:last-child {
    margin-bottom: 0;
}

/* === BOUTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn--primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn--primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
}

.btn--secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn--secondary:hover {
    background: var(--primary);
    color: #fff;
}

.btn--accent {
    background: var(--secondary);
    color: #343232;
    border-color: var(--secondary);
    font-weight: 700;
}

.btn--accent:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
}

.btn--sm {
    padding: 8px 20px;
    font-size: 13px;
}

.btn--lg {
    padding: 16px 36px;
    font-size: 17px;
}

/* === HEADER === */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 24px;
    max-width: 1280px;
    margin: 0 auto;
}

.header__logo {
    flex-shrink: 0;
}

.header__logo img {
    height: 70px;
    width: auto;
}

.header__nav {
    display: flex;
    gap: 14px;
}

.header__nav a {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.header__nav a svg {
    width: 16px;
    height: 16px;
    stroke-width: 2;
    flex-shrink: 0;
}

.header__nav a:hover,
.header__nav a.active {
    color: var(--primary);
}

.header__nav a.active {
    position: relative;
}

.header__nav a.active::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

.header__right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header__phone {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

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

.header__phone:hover {
    color: var(--primary-light);
}

.header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.header__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary-dark);
    transition: all 0.3s ease;
}

/* === HERO === */
.hero {
    background: linear-gradient(135deg, #264368 0%, #2B54A9 35%, #3a8fd0 70%, #ffde59 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero__inner,
.hero .container {
    position: relative;
    z-index: 1;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero__badge {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.hero__title,
.hero h1 {
    color: #fff;
    margin-bottom: 20px;
}

.hero__text {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 28px;
    line-height: 1.7;
}

.hero .btn--primary {
    background: #fff;
    color: #2B54A9;
    border-color: #fff;
}

.hero .btn--primary:hover {
    background: #f0f0f0;
    border-color: #f0f0f0;
    color: #264368;
}

.hero .btn--secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.hero .btn--secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.8);
    color: #fff;
}

.hero__buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero__image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__photo-wrapper {
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    max-width: 450px;
    max-height: 550px;
}

.hero__photo {
    width: 100%;
    border-radius: 0;
    object-fit: cover;
    display: block;
}

/* === NOS SERVICES (accueil) === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 16px rgba(20, 93, 160, 0.08);
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(20, 93, 160, 0.16);
    color: inherit;
}

.service-card__icon {
    width: 48px;
    height: 48px;
    background: var(--secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--text-main);
    flex-shrink: 0;
}

.service-card__title {
    font-size: 19px;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.service-card__text {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.service-card__more {
    margin-top: auto;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
}

.service-card__more::after {
    content: '\2192';
    display: inline-block;
    margin-left: 6px;
    transition: transform 0.2s ease;
}

.service-card:hover .service-card__more::after {
    transform: translateX(4px);
}

/* === BANDEAU RÉASSURANCE === */
.trust {
    padding: 40px 0;
    background: var(--bg-white);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.trust__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust__cert {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.trust__cert-logo {
    height: 56px;
    width: auto;
    object-fit: contain;
}

.trust__separator {
    width: 1px;
    height: 40px;
    background: var(--border);
}

.trust__google {
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust__stars {
    display: inline-flex;
    gap: 2px;
    color: var(--secondary);
    font-size: 20px;
}

.trust__note {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--primary-dark);
}

.trust__count {
    font-size: 14px;
    color: var(--text-secondary);
}

/* === RÉALISATIONS / PROJETS === */
.project-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 48px;
}

.project-card:last-child {
    margin-bottom: 0;
}

.project-card--reverse {
    direction: rtl;
}

.project-card--reverse > * {
    direction: ltr;
}

.project-card__img {
    border-radius: 16px;
    overflow: hidden;
}

.project-card__img img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.project-card__highlights {
    display: flex;
    gap: 32px;
    margin-top: 28px;
}

.project-card__highlight {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.project-card__highlight-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
}

.project-card__highlight-label {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.3;
}

.project-card__tag {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.project-card__title {
    font-size: 22px;
    margin-bottom: 20px;
}

.project-card__text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.project-card__location {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
}

/* === PRÉSENTATION / À PROPOS === */
.about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about__photo {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.about__features {
    display: grid;
    gap: 20px;
    margin-top: 28px;
}

.about__feature {
    display: flex;
    gap: 12px;
}

.about__feature-icon {
    flex: 0 0 40px;
    height: 40px;
    background: var(--secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #343232;
    font-size: 18px;
}

.about__content h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 24px;
}

.about__content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}

.about__feature-text h3 {
    font-size: 15px;
    margin-bottom: 2px;
}

.about__feature-text p {
    font-size: 14px;
    color: var(--text-secondary);
}

.about__cta {
    display: flex;
    gap: 12px;
    margin-top: 32px;
    flex-wrap: wrap;
}

/* === TIKTOK === */
.tiktok-brand {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    vertical-align: middle;
}

.tiktok-brand__icon {
    vertical-align: middle;
}

.tiktok-brand__text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #010101;
    letter-spacing: -0.3px;
}

.tiktok-brand:hover .tiktok-brand__text {
    color: #FE2C55;
}

.tiktok-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.tiktok-card {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    aspect-ratio: 9/16;
}

.tiktok-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tiktok-card:hover img {
    transform: scale(1.05);
}

.tiktok-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-dark);
    transition: transform 0.2s ease;
}

.tiktok-card:hover .tiktok-card__play {
    transform: translate(-50%, -50%) scale(1.1);
}

.tiktok-card__title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 12px 12px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

/* === AVIS CLIENTS — CAROUSEL === */
.reviews-carousel {
    position: relative;
    overflow: hidden;
    padding: 0 52px;
}

.reviews-carousel__track {
    display: flex;
    transition: transform 0.4s ease;
}

.review-card {
    flex: 0 0 calc(33.333% - 16px);
    margin: 0 8px;
    padding: 28px;
    background: #fff;
    border-radius: 16px;
    border: none;
    box-shadow: 0 2px 16px rgba(20, 93, 160, 0.08);
    display: flex;
    flex-direction: column;
}

.review-card__stars {
    display: inline-flex;
    gap: 2px;
    color: var(--secondary);
    font-size: 16px;
    margin-bottom: 12px;
}

.review-card__text {
    font-size: 15px;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 16px;
    line-height: 1.6;
    flex: 1;
}

.review-card__author {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.reviews-carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-white);
    color: var(--primary-dark);
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.reviews-carousel__btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.reviews-carousel__btn--prev {
    left: 0;
}

.reviews-carousel__btn--next {
    right: 0;
}

.reviews-carousel__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.reviews-carousel__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--border);
    cursor: pointer;
    transition: background 0.2s ease;
    padding: 0;
}

.reviews-carousel__dot.is-active {
    background: var(--primary);
}

/* === MINI CTA === */
.mini-cta {
    padding: 32px 0;
    text-align: center;
    background: transparent;
    border: none;
}

.mini-cta__inner {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.mini-cta__text {
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

/* === ZONE D'INTERVENTION === */
.zone__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.zone__cities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.zone__content h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.zone__content h2::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}

.zone__city {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(20, 93, 160, 0.08);
    color: var(--primary);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.zone__city:hover {
    background: var(--secondary);
    color: #343232;
    border-color: var(--secondary-dark);
}

.zone__note {
    margin-top: 16px;
    color: var(--text-secondary);
    font-style: italic;
    font-size: 14px;
}

/* Carte SVG */
.zone__map-svg {
    width: 100%;
    height: auto;
    max-height: 520px;
}

/* Codes postaux — hors zone */
.zone__cp {
    fill: #EAEDF1;
    stroke: #fff;
    stroke-width: 0.8;
    stroke-linejoin: round;
    transition: fill 0.3s ease;
    cursor: pointer;
}

.zone__cp:hover {
    fill: #D5DBE2;
}

/* Codes postaux — zone d'intervention */
.zone__cp--active {
    fill: #B8CCE8;
}

.zone__cp--active:hover {
    fill: #95B3D9;
}

/* Pin principal (Morez) */
.zone__map-pin-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    fill: var(--primary-dark);
}

/* Pins secondaires */
.zone__map-pin-label--secondary {
    font-size: 10px;
    font-weight: 600;
    fill: var(--text-secondary);
}

/* === FORMULAIRE DE CONTACT === */
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.section--dark .contact__info h2 {
    color: #fff;
}

.section--dark .contact__info p {
    color: rgba(255, 255, 255, 0.9);
}

.contact__info p {
    font-size: 17px;
    margin-top: 12px;
    line-height: 1.7;
}

.contact__phone {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact__phone span {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.contact__phone a {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary);
}

.contact__phone a:hover {
    color: #fff;
}

.contact__form {
    background: var(--bg-white);
    padding: 32px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form__group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form__label {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
}

.form__input {
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    color: var(--text-main);
    background: var(--bg-white);
    transition: border-color 0.2s;
}

.form__input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(20, 93, 160, 0.1);
}

.form__textarea {
    resize: vertical;
    min-height: 80px;
}

.form__message {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
}

.form__message--success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.form__message--error {
    background-color: #fbe9e7;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

/* === FOOTER === */
.footer {
    background: #0a1f33;
    padding: 48px 0 24px;
    color: rgba(255, 255, 255, 0.75);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.footer__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.footer__text {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer__certs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.footer__cert-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 4px 10px;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.footer__link {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
    transition: color 0.2s;
}

.footer__link:hover {
    color: var(--secondary);
}

.footer__social {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    transition: background 0.2s, color 0.2s;
}

.footer__social a svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer__social a:hover {
    background: var(--secondary);
    color: #0a1f33;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.footer__bottom a {
    color: rgba(255, 255, 255, 0.4);
}

.footer__bottom a:hover {
    color: var(--secondary);
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* === BARRE MOBILE FIXE === */
.mobile-bar {
    display: none;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
    h1 { font-size: 34px; }
    h2 { font-size: 28px; }

    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__buttons {
        justify-content: center;
    }

    /* La photo reste en premier, mais bridée : le titre et le bouton
       doivent rester visibles sans defilement (I12). */
    .hero__image {
        order: -1;
    }

    .hero__photo-wrapper {
        max-height: 38vh;
        max-width: 320px;
        margin: 0 auto;
    }

    .hero__photo {
        height: 38vh;
        object-fit: cover;
        object-position: center 30%;
    }

    /* Ecrans courts (iPhone SE et assimiles) : le titre doit rester
       entier au-dessus de la barre fixe du bas. */
    @media (max-height: 740px) {
        .hero__photo-wrapper { max-height: 26vh; }
        .hero__photo { height: 26vh; }
    }

    .project-card,
    .project-card--reverse {
        grid-template-columns: 1fr;
    }

    .project-card--reverse {
        direction: ltr;
    }

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

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

    .zone__map {
        order: -1;
    }

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

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

    .review-card {
        flex: 0 0 calc(50% - 16px);
    }

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

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

/* Bascule du menu desktop → burger dès que la nav risque de déborder */
@media (max-width: 1260px) {
    .header__nav {
        display: none;
    }

    .header__phone,
    .header__right .btn {
        display: none;
    }

    .header__burger {
        display: flex;
    }

    /* Menu mobile ouvert */
    .header.is-open .header__nav {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        border-bottom: 1px solid var(--border);
        padding: 16px 24px;
        gap: 12px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    }

    /* Dans le menu déroulant, les liens reprennent une taille lisible */
    .header.is-open .header__nav a {
        padding: 8px 0;
    }

    .header.is-open .header__nav a.active::after {
        display: none;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 28px; }
    h2 { font-size: 24px; }
    h3 { font-size: 20px; }

    .section { padding: 56px 0; }

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

    .service-card { padding: 24px; }

    .zone__map-labels,
    .zone__map-pin--secondary {
        display: none;
    }

    /* Barre fixe en bas */
    .mobile-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 100;
        background: var(--bg-white);
        padding: 12px 16px;
        gap: 12px;
        box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.1);
    }

    .mobile-bar__btn {
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        font-size: 14px;
        border-radius: 12px;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .mobile-bar__btn--devis {
        flex: 1;
        padding: 14px 20px;
        background: var(--primary);
        color: #fff;
    }

    .mobile-bar__btn--phone {
        flex: 0 0 52px;
        height: 52px;
        background: var(--secondary);
        color: #343232;
    }

    /* Masquer les mini-CTA sur mobile */
    .mini-cta {
        display: none;
    }

    /* Masquer les boutons hero sur mobile (la barre les remplace) */
    .hero__buttons {
        display: none;
    }

    /* Espace en bas pour ne pas cacher le contenu */
    body {
        padding-bottom: 76px;
    }

    .tiktok-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 12px;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .tiktok-grid::-webkit-scrollbar {
        display: none;
    }

    .tiktok-card {
        flex: 0 0 75%;
        scroll-snap-align: start;
        aspect-ratio: 9/16;
    }

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

    .review-card {
        flex: 0 0 calc(100% - 16px);
    }

    .trust__inner {
        flex-direction: column;
        gap: 20px;
    }

    .trust__separator {
        display: none;
    }

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

    .footer__bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}
