/* ============================================
   MGE — Style Institutionnel de Prestige
   Palette : Navy #1D2E44 · Bleu #4A9AD4 · Blanc
   Fonts   : Inter + Cormorant Garamond
   ============================================ */

/* 1. VARIABLES */
:root {
    --bg:          #ffffff;
    --navy:        #1D2E44;
    --navy-light:  #2a3f5c;
    --blue:        #4A9AD4;
    --blue-text:   #2A77B0;   /* bleu assombri — 4,81:1 sur blanc, petits textes */
    --grey:        #657385;
    --grey-light:  #f7f8fa;
    --line:        #E8ECF0;
    --font-sans:   'Inter', -apple-system, sans-serif;
    --font-serif:  'Cormorant Garamond', Georgia, serif;
    --ease:        cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--navy);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 60px;
}

/* 3. NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 28px 50px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all 0.4s var(--ease);
}

.navbar.scrolled {
    padding: 18px 50px;
    border-bottom-color: var(--line);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo gauche */
.nav-logo {
    position: static;
    transform: none;
    margin-right: auto;
    margin-left: 20px;
}

.nav-logo img {
    height: 52px;
    margin: -8px 0;
}

/* Hamburger */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--navy);
    transition: all 0.3s var(--ease);
    transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); background: #fff; width: 28px; }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); background: #fff; width: 28px; }

/* Sélecteur de langue */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-sep {
    font-size: 0.6rem;
    color: var(--grey);
    line-height: 1;
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--grey);
    padding: 4px 2px;
    transition: color 0.2s;
    line-height: 1;
}

.lang-btn.active {
    color: var(--navy);
}

.lang-btn:hover:not(.active) {
    color: var(--blue);
}

/* Nav droite */
.nav-right {
    display: flex;
    align-items: center;
    gap: 44px;
}

.nav-phone {
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    color: var(--grey);
    font-weight: 400;
}

.btn-nav {
    display: inline-block;
    padding: 12px 32px;
    background: var(--navy);
    color: #fff;
    text-decoration: none;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    transition: background 0.3s var(--ease);
}

.btn-nav:hover { background: var(--blue); }

/* Nav overlay — Blueprint */
.nav-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    background: #12263f;
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 80px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s var(--ease);
    overflow: hidden;
}

.nav-overlay.open {
    opacity: 1;
    pointer-events: all;
}


.nav-overlay ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.nav-overlay ul li a {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 300;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    letter-spacing: -1px;
    transition: color 0.25s, letter-spacing 0.3s var(--ease);
    display: block;
    line-height: 1.2;
}

.nav-overlay ul li a:hover {
    color: #fff;
    letter-spacing: 0px;
}

/* Footer overlay */
.overlay-footer {
    position: absolute;
    bottom: 50px;
    left: 80px;
    right: 80px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    z-index: 1;
}

.overlay-address {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.28);
    line-height: 1.8;
}

/* Icônes sociales dans l'overlay */
.overlay-social {
    display: flex;
    gap: 24px;
}

.overlay-social a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    font-size: 0.62rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.25s;
}

.overlay-social a:hover { color: var(--blue); }

.overlay-social svg { flex-shrink: 0; }

/* 4. HERO */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

/* Photo droite du hero */
.hero-visual {
    position: absolute;
    right: 0;
    top: 0;
    width: 40%;
    height: 100%;
    pointer-events: none;
}

.hero-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--bg) 0%, transparent 50%);
    z-index: 1;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.55;
}

@media (max-width: 900px) {
    .hero-visual {
        display: block;
        width: 100%;
        left: 0;
        right: 0;
    }
    .hero-visual::before {
        background: linear-gradient(to bottom, rgba(255,255,255,0.15) 0%, rgba(29,46,68,0.75) 100%);
    }
    .hero-visual img { opacity: 0.45; }
}

.hero-inner {
    padding: 0 60px;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.hero-label {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--grey);
    margin-bottom: 50px;
}

h1 {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 50px;
}

.h1-thin {
    font-family: var(--font-sans);
    font-size: clamp(3rem, 7vw, 7rem);
    font-weight: 200;
    letter-spacing: -3px;
    line-height: 1;
    color: var(--navy);
    text-transform: uppercase;
}

.h1-serif {
    font-family: var(--font-serif);
    font-size: clamp(3.5rem, 8vw, 8.5rem);
    font-weight: 300;
    font-style: italic;
    letter-spacing: -2px;
    line-height: 1;
    color: var(--blue);
}

.h1-light {
    font-family: var(--font-sans);
    font-size: clamp(1.8rem, 4vw, 4rem);
    font-weight: 200;
    letter-spacing: -1px;
    line-height: 1.2;
    color: var(--grey);
    text-transform: uppercase;
}

.hero-sub {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--grey);
    line-height: 1.9;
    max-width: 440px;
    margin-bottom: 50px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-main {
    display: inline-block;
    padding: 18px 52px;
    background: var(--navy);
    color: #fff;
    text-decoration: none;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 500;
    transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn-main:hover { background: var(--blue); transform: translateY(-2px); }

.btn-ghost {
    display: inline-block;
    padding: 18px 40px;
    border: 1px solid var(--line);
    color: var(--navy);
    text-decoration: none;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 400;
    transition: all 0.3s var(--ease);
}

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

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 60px;
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.6rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--grey);
}

.scroll-line {
    width: 60px;
    height: 1px;
    background: var(--line);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--blue);
    animation: scrollAnim 2s infinite var(--ease);
}

@keyframes scrollAnim {
    0%   { left: -100%; }
    100% { left: 100%; }
}

/* 5. SECTION LABEL */
.section-label {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--grey);
    margin-bottom: 70px;
}

/* 6. SERVICES */
.services {
    padding: 130px 0;
    border-top: 1px solid var(--line);
}

.services-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 60px;
}

.services-head h2 {
    font-family: var(--font-sans);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 200;
    letter-spacing: -2px;
    line-height: 1.1;
    flex-shrink: 0;
}

.services-head h2 em {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--blue);
    font-size: 1.2em;
}

.services-head p {
    font-size: 1rem;
    font-weight: 300;
    color: var(--grey);
    line-height: 1.8;
    max-width: 480px;
    padding-top: 10px;
}

/* Tabs */
/* ── Onglets visuels ── */
.tab-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 640px;
    margin-bottom: 60px;
}

.tab-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 28px;
    border: 1.5px solid var(--line);
    background: transparent;
    cursor: pointer;
    transition: all 0.35s var(--ease);
    text-align: left;
}

.tab-card:hover { border-color: var(--navy); }

.tab-card.active {
    background: var(--navy);
    border-color: var(--navy);
}

.tab-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    color: var(--grey);
    transition: color 0.3s;
}

.tab-card.active .tab-icon { color: rgba(255,255,255,0.85); }
.tab-card:hover:not(.active) .tab-icon { color: var(--navy); }

.tab-icon svg { width: 100%; height: 100%; }

.tab-text strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--navy);
    letter-spacing: 0;
    margin-bottom: 3px;
    font-family: var(--font-sans);
}

.tab-card.active .tab-text strong { color: #fff; }

.tab-text span {
    font-size: 0.72rem;
    color: var(--grey);
    font-weight: 300;
    letter-spacing: 0.3px;
}

.tab-card.active .tab-text span { color: rgba(255,255,255,0.5); }

/* ── Grille de services (pictogrammes) ── */
.icons-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.icons-grid.hidden { display: none; }

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 40px 14px 32px;
    cursor: pointer;
    background: var(--grey-light);
    border: 1px solid var(--line);
    transition: all 0.4s var(--ease);
    /* Cartes = liens <a> : neutraliser le style de lien par défaut */
    text-decoration: none;
    color: inherit;
    /* Reveal stagger */
    opacity: 0;
    transform: translateY(25px);
}

/* Focus clavier visible sur les cartes services */
.icon-item:focus-visible {
    outline: 2px solid var(--navy);
    outline-offset: 3px;
}

.icon-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

.icon-item:nth-child(1) { transition-delay: 0s; }
.icon-item:nth-child(2) { transition-delay: .07s; }
.icon-item:nth-child(3) { transition-delay: .14s; }
.icon-item:nth-child(4) { transition-delay: .21s; }
.icon-item:nth-child(5) { transition-delay: .28s; }
.icon-item:nth-child(6) { transition-delay: .35s; }

.icon-item:hover {
    transform: translateY(-5px);
    background: var(--navy);
    border-color: var(--navy);
}

.icon-wrap {
    width: 44px;
    height: 44px;
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.icon-wrap svg { width: 100%; height: 100%; }
.icon-item:hover .icon-wrap { color: #fff; }

.icon-item span {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    text-align: center;
    color: var(--navy);
    font-weight: 500;
    line-height: 1.4;
    transition: color 0.3s;
}

.icon-item:hover span { color: #fff; }

/* 7. EXPERTISE CARDS */
.expertise {
    padding: 130px 0;
    background: var(--grey-light);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.expertise-card {
    background: var(--bg);
    padding: 0 0 50px;
    position: relative;
    transition: transform 0.4s var(--ease);
    overflow: hidden;
}

.expertise-card:hover { transform: translateY(-6px); }
.expertise-card:hover .card-line { width: 100%; background: var(--blue); }
.expertise-card:hover .card-img img { transform: scale(1.04); }

/* Image en haut de carte */
.card-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
    margin-bottom: 40px;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
    display: block;
}

.card-num {
    font-size: 0.6rem;
    letter-spacing: 3px;
    color: var(--grey);
    margin-bottom: 24px;
    font-weight: 500;
    padding: 0 50px;
}

.expertise-card h3 {
    font-family: var(--font-sans);
    font-size: 1.9rem;
    font-weight: 200;
    letter-spacing: -1px;
    line-height: 1.2;
    margin-bottom: 25px;
    padding: 0 50px;
}

.expertise-card p {
    font-size: 0.95rem;
    color: var(--grey);
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 40px;
    padding: 0 50px;
}

.card-line {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 30px;
    background: var(--navy);
    transition: all 0.4s var(--ease);
}

/* 8. STATS */
.stats {
    background: var(--navy);
    padding: 80px 0;
}

.stats-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.stat-num {
    font-family: var(--font-sans);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 200;
    color: #fff;
    letter-spacing: -1px;
    line-height: 1;
}

.stat-num sup {
    font-size: 0.5em;
    vertical-align: super;
}

.stat-label {
    font-size: 0.6rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}

.stat-sep {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.12);
}

/* 9. ARCHIVES */
.archives {
    padding: 130px 0;
}

.archives-head {
    margin-bottom: 70px;
}

.archives-head h2 {
    font-family: var(--font-sans);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 200;
    letter-spacing: -2px;
}

.archives-head h2 em {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--blue);
    font-size: 1.15em;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 80px;
}

.project-item { cursor: pointer; }

.project-item--wide {
    grid-column: 1 / -1;
}
.project-item--wide .image-wrapper {
    aspect-ratio: 21 / 9;
}

.image-wrapper {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: var(--grey-light);
    overflow: hidden;
    margin-bottom: 28px;
    position: relative;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.project-item:hover img { transform: scale(1.04); }

.placeholder-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #eef0f3 0%, #e4e8ed 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    transition: transform 0.6s var(--ease);
}

.project-item:hover .placeholder-img { transform: scale(1.04); }

.placeholder-img span {
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--grey);
}

.project-cat {
    display: block;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--blue-text);
    margin-bottom: 12px;
    font-weight: 500;
}

.project-info h3 {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.project-info p {
    font-size: 0.92rem;
    color: var(--grey);
    line-height: 1.7;
}

/* 10. CONTACT */
/* ── Contact hero (bande sombre) ── */
.contact { background: var(--bg); }

.contact-hero {
    background: var(--navy);
    padding: 90px 0 80px;
}

.contact-hero .section-label {
    color: rgba(255,255,255,0.45);
}

.contact-hero h2 {
    font-family: var(--font-sans);
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    font-weight: 200;
    letter-spacing: -2px;
    line-height: 1.1;
    color: #fff;
    margin-top: 20px;
}

.contact-hero h2 em {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--blue);
    font-size: 1.05em;
}

/* ── Contact body ── */
.contact-body { padding: 80px 0 100px; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: start;
}

/* ── Gauche ── */
.contact-intro {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--grey);
    line-height: 1.8;
    margin-bottom: 40px;
    border-left: 2px solid var(--blue);
    padding-left: 20px;
}

.contact-promises {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 44px;
}

.contact-promise {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-promise svg {
    flex-shrink: 0;
    color: var(--blue);
    margin-top: 2px;
}

.contact-promise strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 2px;
}

.contact-promise p {
    font-size: 0.8rem;
    color: var(--grey);
    font-weight: 300;
}

.contact-details { border-top: 1px solid var(--line); }

.detail-item {
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}

.detail-item > span {
    display: block;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--grey);
    margin-bottom: 8px;
}

.detail-item p {
    color: var(--navy);
    font-size: 0.95rem;
    font-weight: 300;
}

.detail-item p a {
    color: var(--navy);
    text-decoration: none;
    transition: color 0.3s;
}
.detail-item p a:hover { color: var(--blue); }

.social-icons {
    display: flex;
    gap: 16px;
    margin-top: 10px;
}

.social-icons a {
    color: var(--navy);
    transition: color 0.3s, transform 0.3s;
    display: flex;
}

.social-icons a:hover { color: var(--blue); transform: translateY(-3px); }

/* ── Droite : carte formulaire ── */
.contact-form-card {
    background: #fff;
    border: 1px solid var(--line);
    padding: 52px 48px;
    box-shadow: 0 20px 60px rgba(29,46,68,.07);
}

.contact-form-title {
    font-family: var(--font-sans);
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--navy);
    letter-spacing: -0.5px;
    margin-bottom: 10px;
}

.contact-form-sub {
    font-size: 0.85rem;
    color: var(--grey);
    font-weight: 300;
    margin-bottom: 36px;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.form-group { display: flex; flex-direction: column; }

.form-group label {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 14px;
    color: var(--navy);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    border: none;
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--navy);
    outline: none;
    background: transparent;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus { border-bottom-color: var(--blue); }

.form-group textarea { resize: none; }

.btn-submit {
    align-self: flex-start;
    background: var(--navy);
    color: #fff;
    border: none;
    padding: 20px 64px;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn-submit:hover { background: var(--blue); transform: translateY(-2px); }

/* 11. FOOTER */
.footer {
    padding: 60px 0;
    border-top: 1px solid var(--line);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo { height: 26px; opacity: 0.6; }

.footer p {
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--grey);
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--grey);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--navy); }

/* 12. MODAL SERVICE */
.service-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    justify-content: flex-end;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}

.service-modal.open {
    opacity: 1;
    pointer-events: all;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 38, 63, 0.5);
    backdrop-filter: blur(4px);
}

.modal-panel {
    position: relative;
    width: 100%;
    max-width: 560px;
    height: 100vh;
    background: var(--bg);
    padding: 80px 60px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
    display: flex;
    flex-direction: column;
    gap: 0;
}

.service-modal.open .modal-panel {
    transform: translateX(0);
}

.modal-close {
    position: absolute;
    top: 36px;
    right: 40px;
    background: var(--navy);
    border: none;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: background 0.2s;
}

.modal-close:hover { background: var(--blue); }

.modal-tag {
    font-size: 0.62rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--blue-text);
    margin-bottom: 20px;
    font-weight: 500;
}

.modal-title {
    font-family: var(--font-sans);
    font-size: 2.4rem;
    font-weight: 200;
    letter-spacing: -1.5px;
    line-height: 1.1;
    color: var(--navy);
    margin-bottom: 32px;
}

.modal-desc {
    font-size: 1rem;
    font-weight: 300;
    color: var(--grey);
    line-height: 1.8;
    margin-bottom: 40px;
    border-left: 2px solid var(--blue);
    padding-left: 20px;
}

.modal-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 50px;
    flex: 1;
}

.modal-points li {
    font-size: 0.92rem;
    font-weight: 300;
    color: var(--navy);
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 14px;
}

.modal-points li::before {
    content: '';
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--blue);
    flex-shrink: 0;
}

.modal-cta { align-self: flex-start; }

/* RESPONSIVE MODAL */
@media (max-width: 768px) {
    .modal-panel {
        max-width: 100%;
        padding: 70px 24px 40px;
    }
    .modal-title { font-size: 1.8rem; }
}

/* 13. BOUTON NAV & MODAL CANDIDATURE */
.btn-careers-nav {
    background: transparent;
    border: 1px solid rgba(29,46,68,0.45);
    color: var(--navy);
    cursor: pointer;
    padding: 8px 18px;
    font-family: var(--font-sans);
    font-size: 0.58rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-careers-nav:hover {
    background: rgba(29,46,68,0.06);
    border-color: var(--navy);
}

.careers-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    justify-content: flex-end;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}

.careers-modal.open {
    opacity: 1;
    pointer-events: all;
}

.careers-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 38, 63, 0.5);
    backdrop-filter: blur(4px);
}

.careers-panel {
    position: relative;
    width: 100%;
    max-width: 580px;
    height: 100vh;
    background: var(--bg);
    padding: 80px 60px 60px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
    display: flex;
    flex-direction: column;
    gap: 0;
}

.careers-modal.open .careers-panel {
    transform: translateX(0);
}

.careers-intro {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--grey);
    line-height: 1.8;
    margin-bottom: 36px;
    border-left: 2px solid var(--blue);
    padding-left: 20px;
}

.careers-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 32px;
}

.careers-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.careers-select {
    appearance: none;
    -webkit-appearance: none;
    border: none;
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--navy);
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7A8D' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 4px center;
    background-size: 12px;
    cursor: pointer;
    outline: none;
    width: 100%;
    transition: border-color 0.3s;
}

.careers-select:focus { border-bottom-color: var(--blue); }

.careers-notice {
    font-size: 0.78rem;
    color: var(--grey);
    line-height: 1.7;
    font-weight: 300;
    font-style: italic;
    padding-top: 4px;
}

@media (max-width: 768px) {
    .btn-careers-nav { display: none; }
    .careers-panel {
        max-width: 100%;
        padding: 70px 24px 40px;
    }
    .careers-row {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* 12b. FEEDBACK FORMULAIRES */
.form-feedback {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: 2px;
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.5;
    display: none;
}
.form-feedback.success {
    display: block;
    background: rgba(74, 154, 212, 0.1);
    border-left: 3px solid var(--blue);
    color: var(--navy);
}
.form-feedback.error {
    display: block;
    background: rgba(192, 57, 43, 0.08);
    border-left: 3px solid #c0392b;
    color: #c0392b;
}

/* 13. SCROLL REVEAL */
.reveal {
    opacity: 0;
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.reveal-up {
    transform: translateY(30px);
}

.reveal.reveal-d1 { transition-delay: 0.1s; }
.reveal.reveal-d2 { transition-delay: 0.2s; }
.reveal.reveal-d3 { transition-delay: 0.3s; }

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

/* 14. RESPONSIVE — TABLET */
@media (max-width: 1100px) {
    .icons-grid { grid-template-columns: repeat(3, 1fr); }
    .expertise-grid { grid-template-columns: 1fr 1fr; }
    .stats-inner {
        grid-template-columns: 1fr 1fr;
        gap: 50px 0;
        padding: 60px 40px;
    }
    .stat-sep { display: none; }
    .contact-wrapper { gap: 60px; }
}

/* 13. RESPONSIVE — MOBILE */
@media (max-width: 768px) {

    /* Container */
    .container { padding: 0 24px; }

    /* NAVBAR */
    .navbar { padding: 16px 24px; }
    .navbar.scrolled { padding: 14px 24px; }

    /* Cacher le téléphone et les CTAs nav sur mobile */
    .nav-phone       { display: none; }
    .btn-nav         { display: none; }
    .btn-careers-nav { display: none; }
    .lang-sep        { display: none; }

    /* Logo bien visible — taille maintenue */
    .nav-logo img { height: 44px; }

    /* Menu overlay plein écran */
    .nav-overlay { padding: 100px 30px 50px; }
    .overlay-footer { left: 24px; right: 24px; bottom: 36px; }
    .overlay-social a span { display: none; }

    /* HERO */
    .hero { padding-top: 80px; min-height: 100svh; }
    .hero-inner { padding: 0 24px; position: relative; z-index: 2; }

    /* Texte en blanc sur le fond photo */
    .hero .hero-label { color: rgba(255,255,255,0.7); font-size: 0.6rem; letter-spacing: 2px; margin-bottom: 30px; }
    .hero .h1-thin  { color: #fff; font-size: clamp(2.2rem, 11vw, 3rem); letter-spacing: -1px; }
    .hero .h1-serif { color: #fff; font-size: clamp(2.8rem, 13vw, 3.8rem); letter-spacing: -1px; }
    .hero .h1-light { color: rgba(255,255,255,0.85); font-size: clamp(1.4rem, 7vw, 2rem); letter-spacing: 0; }
    .hero h1 { margin-bottom: 30px; }

    .hero-sub {
        color: rgba(255,255,255,0.8);
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 36px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .btn-main, .btn-ghost {
        text-align: center;
        padding: 18px 24px;
    }

    .hero-scroll { display: none; }

    /* SECTION LABEL */
    .section-label { margin-bottom: 40px; }

    /* SERVICES */
    .services { padding: 80px 0; }

    .services-head {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 40px;
    }

    .services-head h2 { font-size: clamp(1.8rem, 8vw, 2.5rem); letter-spacing: -1px; }

    /* Onglets Particulier / Entreprise */
    .tab-selector {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-bottom: 36px;
    }
    .tab-card { padding: 16px 18px; gap: 14px; }
    .tab-icon { width: 24px; height: 24px; }
    .tab-text strong { font-size: 0.8rem; }
    .tab-text span { font-size: 0.68rem; }

    .icons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .icon-item { padding: 28px 16px; gap: 14px; }
    .icon-wrap { width: 40px; height: 40px; }
    .icon-item span { font-size: 0.6rem; }

    /* EXPERTISE */
    .expertise { padding: 80px 0; }

    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .expertise-card { padding: 40px 28px; }
    .expertise-card h3 { font-size: 1.6rem; }

    /* STATS */
    .stats { padding: 60px 0; }

    .stats-inner {
        grid-template-columns: 1fr 1fr;
        gap: 40px 0;
        padding: 0 24px;
    }

    .stat-num { font-size: 1.8rem; }

    /* ARCHIVES */
    .archives { padding: 80px 0; }

    .archives-head { margin-bottom: 40px; }
    .archives-head h2 { font-size: clamp(1.8rem, 8vw, 2.5rem); letter-spacing: -1px; }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    /* CONTACT */
    .contact { padding: 80px 0; }

    .contact-wrapper,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-info h2 {
        font-size: clamp(1.8rem, 8vw, 2.8rem);
        letter-spacing: -1px;
        margin-bottom: 36px;
    }

    .btn-submit {
        width: 100%;
        text-align: center;
        padding: 18px 24px;
    }

    /* FOOTER */
    .footer { padding: 40px 0; }

    .footer-inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links { justify-content: center; gap: 20px; }
}

/* 14. RESPONSIVE — PETITS MOBILES (iPhone SE etc.) */
@media (max-width: 380px) {
    .h1-thin  { font-size: 2rem; }
    .h1-serif { font-size: 2.5rem; }
    .h1-light { font-size: 1.3rem; }
    .icons-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .icon-item { padding: 22px 10px; }
}

/* ============================================
   PAGES COMPLÈTES — service.html / careers.html
   ============================================ */

/* ── Bouton retour ── */
.sp-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.65rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    margin-bottom: 60px;
    transition: color 0.25s;
}
.sp-back:hover { color: #fff; }

/* ── HERO SERVICE ── */
/* ══════════════════════════════════════════════════════════
   SERVICE PAGE — HERO
══════════════════════════════════════════════════════════ */
.sp-hero {
    min-height: 85vh;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-bottom: 80px;
    overflow: hidden;
}
.sp-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #1a2a3e;
    z-index: 0;
}
.sp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(17,28,45,0.92) 0%, rgba(17,28,45,0.55) 60%, rgba(17,28,45,0.3) 100%);
    z-index: 1;
}
.sp-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 140px;
}
.sp-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.65rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    margin-bottom: 50px;
    transition: color 0.25s;
}
.sp-back:hover { color: rgba(255,255,255,0.9); }
.sp-hero-inner { max-width: 820px; }
.sp-tag {
    display: inline-block;
    font-size: 0.62rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 500;
    margin-bottom: 20px;
    background: var(--blue-text);
    border: 1px solid var(--blue-text);
    padding: 6px 14px;
    border-radius: 2px;
}
.sp-title {
    font-family: var(--font-sans);
    font-size: clamp(3rem, 7vw, 7rem);
    font-weight: 200;
    letter-spacing: -3px;
    line-height: 1;
    color: #fff;
    margin-bottom: 30px;
    text-transform: uppercase;
}
.sp-hero-sub {
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    font-weight: 300;
    color: rgba(255,255,255,0.72);
    line-height: 1.7;
    max-width: 600px;
    margin-bottom: 44px;
}
.sp-hero-cta {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}
.btn-ghost-light {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    border: 1px solid rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.8);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s var(--ease);
    font-weight: 400;
}
.btn-ghost-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
    color: #fff;
}

/* ── STATS BAR ── */
.sp-stats { padding: 0; }
.sp-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--navy);
}
.sp-stat-item {
    padding: 40px 50px;
    border-right: 1px solid rgba(255,255,255,0.07);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sp-stat-item:last-child { border-right: none; }
.sp-stat-num {
    font-family: var(--font-sans);
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 200;
    color: #fff;
    letter-spacing: -2px;
    line-height: 1;
}
.sp-stat-label {
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.5px;
    line-height: 1.4;
}

/* ── CONTENU (desc + points) ── */
.sp-content { padding: 120px 0 100px; }
.sp-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: start;
}
.sp-left .section-label { margin-bottom: 24px; }
.sp-desc {
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--grey);
    line-height: 1.9;
    margin-bottom: 50px;
}
.sp-points-title {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--grey);
    margin-bottom: 24px;
    font-weight: 500;
}
.sp-points { list-style: none; }
.sp-points li {
    font-size: 1rem;
    font-weight: 300;
    color: var(--navy);
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 16px;
}
.sp-points li::before {
    content: '';
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--blue);
    flex-shrink: 0;
}

/* ── GALERIE MAGAZINE ── */
.sp-gallery { padding: 0 0 120px; }
.sp-gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 320px 320px;
    gap: 12px;
}
.sp-gallery-item {
    overflow: hidden;
    background: var(--grey-light);
    position: relative;
}
.sp-gallery-item--1 { grid-row: 1 / 2; grid-column: 1 / 2; }
.sp-gallery-item--2 { grid-row: 1 / 2; grid-column: 2 / 3; }
.sp-gallery-item--3 { grid-row: 2 / 3; grid-column: 2 / 3; }
.sp-gallery-item--4 { grid-row: 2 / 3; grid-column: 1 / 2; }
.sp-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease);
    display: block;
}
.sp-gallery-item:hover img { transform: scale(1.04); }

/* ── ÉTAPES ── */
.sp-steps-section {
    padding: 120px 0;
    background: var(--grey-light);
}
.sp-steps-header {
    margin-bottom: 70px;
}
.sp-steps-header h2 {
    font-family: var(--font-sans);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 200;
    letter-spacing: -2px;
    color: var(--navy);
    margin-top: 16px;
}
.sp-steps-header h2 em {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--blue-text);
}
.sp-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
}
.sp-step {
    background: var(--bg);
    padding: 44px 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
}
.sp-step-num {
    font-family: var(--font-sans);
    font-size: 3rem;
    font-weight: 200;
    color: var(--blue);
    opacity: 0.35;
    line-height: 1;
    letter-spacing: -2px;
}
.sp-step-content h3 {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}
.sp-step-content p {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--grey);
    line-height: 1.75;
}

/* ── FAQ ── */
.sp-faq-section { padding: 120px 0; }
.sp-faq-header { margin-bottom: 60px; }
.sp-faq-header h2 {
    font-family: var(--font-sans);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 200;
    letter-spacing: -2px;
    color: var(--navy);
    margin-top: 16px;
}
.sp-faq-header h2 em {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--blue);
}
.sp-faq-list { max-width: 860px; }
.sp-faq-item {
    border-bottom: 1px solid var(--line);
}
.sp-faq-q {
    width: 100%;
    background: none;
    border: none;
    padding: 28px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--navy);
    transition: color 0.25s;
}
.sp-faq-q:hover { color: var(--blue); }
.sp-faq-icon {
    flex-shrink: 0;
    color: var(--blue);
    transition: transform 0.3s var(--ease);
}
.sp-faq-item.open .sp-faq-icon {
    transform: rotate(45deg);
}
.sp-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
}
.sp-faq-item.open .sp-faq-a { max-height: 300px; }
.sp-faq-a p {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--grey);
    line-height: 1.8;
    padding-bottom: 28px;
}

/* ── SERVICES LIÉS ── */
.sp-related {
    padding: 80px 0 100px;
    background: var(--grey-light);
}
.sp-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin-top: 40px;
}
.sp-related-item {
    background: var(--bg);
    padding: 40px 36px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.35s var(--ease);
}
.sp-related-item:hover { transform: translateY(-4px); }
.sp-related-tag {
    font-size: 0.58rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--blue-text);
    font-weight: 500;
}
.sp-related-item h3 {
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--navy);
    letter-spacing: -0.5px;
    flex: 1;
}
.sp-related-arrow {
    font-size: 1rem;
    color: var(--blue-text);
    transition: transform 0.3s;
}
.sp-related-item:hover .sp-related-arrow { transform: translateX(5px); }

/* ── CTA BAND ── */
.sp-cta-band { background: var(--navy); padding: 90px 0; }
.sp-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}
.sp-cta-label {
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 16px;
}
.sp-cta-title {
    font-family: var(--font-sans);
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 200;
    letter-spacing: -1.5px;
    color: #fff;
}
.sp-cta-title em { font-family: var(--font-serif); font-style: italic; color: var(--blue); }
.sp-cta-actions { display: flex; gap: 20px; align-items: center; flex-shrink: 0; }
.sp-cta-band .btn-ghost { color: rgba(255,255,255,0.6); border-color: rgba(255,255,255,0.2); }
.sp-cta-band .btn-ghost:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.5); }

/* ── HERO CAREERS ── */
.cp-hero {
    background: var(--navy);
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}
.cp-hero::after {
    content: '';
    position: absolute;
    left: -300px;
    bottom: -200px;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74,154,212,0.07) 0%, transparent 70%);
    pointer-events: none;
}
.cp-hero-inner { position: relative; z-index: 1; }

/* ── BODY CAREERS ── */
.cp-body {
    padding: 100px 0 120px;
}
.cp-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 100px;
    align-items: start;
}
.cp-intro {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--grey);
    line-height: 1.9;
    margin-bottom: 60px;
    border-left: 2px solid var(--blue);
    padding-left: 20px;
}
.cp-values {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 60px;
}
.cp-value {
    display: flex;
    gap: 28px;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
    align-items: flex-start;
}
.cp-value:first-child { border-top: 1px solid var(--line); }
.cp-value-num {
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: var(--blue-text);
    font-weight: 500;
    flex-shrink: 0;
    margin-top: 4px;
}
.cp-value h4 {
    font-size: 1rem;
    font-weight: 400;
    color: var(--navy);
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}
.cp-value p {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--grey);
    line-height: 1.7;
}
.cp-contact-block {
    padding-top: 10px;
}
.cp-contact-label {
    display: block;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--grey);
    margin-bottom: 12px;
}
.cp-contact-block p {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--navy);
    line-height: 1.9;
}

/* Carte formulaire */
.cp-form-card {
    background: var(--grey-light);
    padding: 60px 56px;
}
.cp-form-title {
    font-family: var(--font-sans);
    font-size: 1.8rem;
    font-weight: 200;
    letter-spacing: -1px;
    color: var(--navy);
    margin-bottom: 12px;
}
.cp-form-sub {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--grey);
    line-height: 1.7;
    margin-bottom: 44px;
}
.cp-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.cp-sent {
    display: none;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--blue-text);
    padding: 16px 0;
}

/* ── RESPONSIVE pages ── */
@media (max-width: 1100px) {
    .sp-steps-grid { grid-template-columns: 1fr 1fr; gap: 2px; }
    .sp-body { grid-template-columns: 1fr; gap: 60px; }
    .sp-cta-inner { flex-direction: column; align-items: flex-start; gap: 40px; }
    .sp-related-grid { grid-template-columns: 1fr 1fr; }
    .cp-grid { grid-template-columns: 1fr; gap: 60px; }
    .sp-gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 240px; gap: 8px; }
    .sp-gallery-item--1 { grid-row: 1; grid-column: 1; }
    .sp-gallery-item--2 { grid-row: 1; grid-column: 2; }
    .sp-gallery-item--3 { grid-row: 2; grid-column: 1; }
    .sp-gallery-item--4 { grid-row: 2; grid-column: 2; }
    .sp-stats-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    /* Hero service */
    .sp-hero { min-height: 70vh; padding-bottom: 50px; }
    .sp-hero-content { padding-top: 100px; }
    .sp-title { font-size: clamp(2.4rem, 11vw, 3.8rem); letter-spacing: -1.5px; }
    .sp-hero-sub { font-size: 0.95rem; }
    .sp-hero-cta { flex-direction: column; align-items: stretch; }
    .sp-hero-cta .btn-main, .sp-hero-cta .btn-ghost-light { text-align: center; }

    /* Stats */
    .sp-stats-grid { grid-template-columns: 1fr; }
    .sp-stat-item { padding: 28px 24px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
    .sp-stat-item:last-child { border-bottom: none; }

    /* Corps */
    .sp-content { padding: 70px 0 60px; }
    .sp-body { grid-template-columns: 1fr; gap: 50px; }

    /* Galerie */
    .sp-gallery { padding: 0 0 70px; }
    .sp-gallery-grid { grid-template-columns: 1fr; grid-template-rows: 220px 220px 220px 220px; gap: 8px; }
    .sp-gallery-item--1, .sp-gallery-item--2, .sp-gallery-item--3, .sp-gallery-item--4 {
        grid-row: auto; grid-column: auto;
    }

    /* Étapes */
    .sp-steps-section { padding: 70px 0; }
    .sp-steps-grid { grid-template-columns: 1fr; }
    .sp-step { padding: 30px 24px; }

    /* FAQ */
    .sp-faq-section { padding: 70px 0; }
    .sp-faq-q { font-size: 0.95rem; padding: 22px 0; }

    /* Services liés */
    .sp-related-grid { grid-template-columns: 1fr; }

    /* CTA */
    .sp-cta-inner { flex-direction: column; gap: 40px; }
    .sp-cta-actions { flex-direction: column; width: 100%; }
    .sp-cta-actions .btn-main, .sp-cta-actions .btn-ghost { text-align: center; }

    .cp-grid { grid-template-columns: 1fr; gap: 60px; }
    .cp-form-card { padding: 36px 24px; }
}

/* Piège anti-robot : hors écran plutôt que display:none — les bots
   évolués ignorent display:none mais remplissent les champs déplacés. */
.hp-field {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ══════════════════════════════════════════════════════════
   PAGES LÉGALES (mentions, confidentialité, CGU)
   ══════════════════════════════════════════════════════════ */
.legal {
    padding: 160px 0 110px;
    background: var(--bg);
}
.legal-inner {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 30px;
}
.legal-label {
    display: block;
    font-size: 0.62rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--grey);
    margin-bottom: 26px;
}
.legal h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 300;
    color: var(--navy);
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 18px;
}
.legal-maj {
    font-size: 0.78rem;
    color: var(--grey);
    padding-bottom: 42px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 52px;
}
.legal h2 {
    font-size: 1.12rem;
    font-weight: 500;
    color: var(--navy);
    letter-spacing: -0.2px;
    margin: 52px 0 18px;
}
.legal h2:first-of-type { margin-top: 0; }
.legal h3 {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--navy);
    margin: 30px 0 10px;
}
.legal p,
.legal li {
    font-size: 0.92rem;
    line-height: 1.85;
    color: var(--grey);
}
.legal p { margin-bottom: 16px; }
.legal ul { margin: 0 0 20px; padding-left: 20px; }
.legal li { margin-bottom: 9px; }
.legal a { color: var(--blue-text); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--navy); }
.legal strong { color: var(--navy); font-weight: 500; }

/* Bloc d'identité : tableau de définitions */
.legal-fiche {
    background: var(--grey-light);
    border: 1px solid var(--line);
    padding: 30px 32px;
    margin: 0 0 26px;
}
.legal-fiche dl { display: grid; grid-template-columns: 210px 1fr; gap: 12px 24px; margin: 0; }
.legal-fiche dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1.4px; color: var(--grey); }
.legal-fiche dd { margin: 0; font-size: 0.92rem; color: var(--navy); line-height: 1.6; }

/* Encart d'avertissement à compléter par l'éditeur */
.legal-todo {
    border-left: 3px solid var(--blue-text);
    background: var(--grey-light);
    padding: 18px 22px;
    margin: 0 0 26px;
}
.legal-todo p { margin: 0; font-size: 0.86rem; }

@media (max-width: 768px) {
    .legal { padding: 120px 0 80px; }
    .legal-inner { padding: 0 24px; }
    .legal-fiche { padding: 24px 22px; }
    .legal-fiche dl { grid-template-columns: 1fr; gap: 4px 0; }
    .legal-fiche dt { margin-top: 12px; }
    .legal-fiche dt:first-child { margin-top: 0; }
}

/* Liens légaux de la page 404 */
.not-found-legal {
    margin-top: 48px;
    font-size: 0.72rem;
    letter-spacing: 1px;
    color: var(--grey);
}
.not-found-legal a { color: var(--grey); text-decoration: none; }
.not-found-legal a:hover { color: var(--navy); text-decoration: underline; }

/* ══════════════════════════════════════════════════════════
   BANNIÈRE DE CONSENTEMENT
   Affichée uniquement si une mesure d'audience à cookies est
   configurée dans consent.js. Inactive par défaut.
   ══════════════════════════════════════════════════════════ */
.consent-bar {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    max-width: 880px;
    margin: 0 auto;
    padding: 20px 26px;
    background: var(--navy);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 50px rgba(15, 25, 40, 0.28);
    animation: consent-entree 0.45s var(--ease);
}
@keyframes consent-entree {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .consent-bar { animation: none; }
}

.consent-txt {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
}
.consent-txt a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.consent-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.consent-btn {
    font-family: inherit;
    font-size: 0.68rem;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    padding: 13px 22px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    white-space: nowrap;
}
.consent-btn--refus {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.35);
    color: rgba(255, 255, 255, 0.85);
}
.consent-btn--refus:hover { border-color: #fff; color: #fff; }
.consent-btn--accept {
    background: #fff;
    color: var(--navy);
    font-weight: 500;
}
.consent-btn--accept:hover { background: var(--blue); color: #fff; }
.consent-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

@media (max-width: 768px) {
    .consent-bar {
        left: 14px;
        right: 14px;
        bottom: 14px;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 20px;
    }
    .consent-actions { justify-content: stretch; }
    .consent-btn { flex: 1; text-align: center; }
}

/* Sélecteur de langue sur la page 404 */
.not-found-lang {
    margin-bottom: 30px;
    justify-content: center;
}

/* Sélecteur de langue sur les pages légales */
.legal-lang {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
}
.legal-note-langue {
    font-size: 0.78rem;
    color: var(--grey);
    font-style: italic;
    padding: 14px 18px;
    background: var(--grey-light);
    border-left: 3px solid var(--line);
    margin-bottom: 34px;
}
