/* ================================================
   INTRA TECH — Design System Global
   Thème : Saint-Malo côtier · Océan + Sable + Crème
   Fonts: Playfair Display (titres) + DM Sans (corps)
================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800&family=DM+Sans:wght@400;500;600;700&display=swap');

/* --- TOKENS --- */
:root {
    /* Palette Saint-Malo */
    --ocean:       #1A6B9A;
    --ocean-deep:  #0F4C6B;
    --ocean-mid:   #2589C8;
    --sky:         #A8D8EA;
    --sky-light:   #D6EDF8;
    --sand:        #F5EFE3;
    --sand-dark:   #E8DFD0;
    --cream:       #FDFAF6;
    --white:       #FFFFFF;
    --granite:     #3D4A5C;
    --gray:        #7A8A9B;
    --amber:       #E07A10;
    --amber2:      #F59820;
    --green:       #1A9A5A;

    /* Compatibilité avec l'ancien système (pages intérieures) */
    --amber-light: var(--sky-light);
    --amber-dark:  var(--ocean-deep);
    --slate-950:   #0A0F1E;
    --slate-900:   var(--ocean-deep);
    --slate-800:   #1F3A50;
    --slate-700:   var(--granite);
    --slate-600:   #4B5E70;
    --slate-400:   var(--gray);
    --slate-200:   var(--sand-dark);
    --slate-100:   var(--sand);
    --slate-50:    var(--cream);

    --bg:          var(--cream);
    --surface:     var(--white);
    --surface-alt: var(--cream);
    --text:        var(--granite);
    --text-muted:  #6B7D8E;
    --border:      var(--sand-dark);

    --radius-sm:   6px;
    --radius:      12px;
    --radius-lg:   16px;
    --radius-xl:   24px;

    --shadow-sm:   0 1px 4px rgba(15,76,107,.07);
    --shadow:      0 4px 20px rgba(15,76,107,.09);
    --shadow-md:   0 8px 28px rgba(15,76,107,.11);
    --shadow-lg:   0 12px 40px rgba(15,76,107,.14);

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'DM Sans', sans-serif;

    --max-w:       1060px;
    --gap:         clamp(2rem, 5vw, 3.5rem);
    --text-base:   17px;
    --text-sm:     15px;
    --text-xs:     13px;
}

/* --- RESET --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.75;
    font-size: var(--text-base);
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: var(--font-body); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.15rem; }
main { flex: 1; }

/* --- UTILITIES --- */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 5vw, 2.5rem);
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--ocean);
    background: rgba(168,216,234,.22);
    border: 1px solid rgba(37,137,200,.2);
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 1rem;
}

/* Coquillages décoratifs discrets */
.shell-deco {
    position: absolute;
    opacity: .12;
    font-size: 1.6rem;
    pointer-events: none;
    user-select: none;
    line-height: 1;
}

/* ================================================
   BANDEAU TÉLÉPHONE
================================================ */
.top-phone-bar {
    background: var(--ocean-deep);
    color: rgba(255,255,255,.82);
    text-align: center;
    padding: .55rem 1rem;
    font-size: .9rem;
    font-weight: 500;
}
.top-phone-bar a {
    color: var(--sky);
    text-decoration: none;
    font-weight: 700;
}
.top-phone-bar a:hover { color: var(--white); }

/* ================================================
   HEADER
================================================ */
header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(253,250,246,.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--sand-dark);
    box-shadow: 0 2px 16px rgba(15,76,107,.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

/* Logo */
.logo-container {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--ocean-deep);
    letter-spacing: -.01em;
    flex-shrink: 0;
}
.logo-container .logo-anchor { color: var(--amber); margin-right: 2px; }
.logo-container .logo-accent { color: var(--amber); }
.logo-dot {
    width: 7px; height: 7px;
    background: var(--amber);
    border-radius: 50%;
    display: inline-block;
    margin-left: 1px;
}

/* Navigation centrale */
nav ul {
    list-style: none;
    display: flex;
    gap: .25rem;
    align-items: center;
}
nav ul li a {
    text-decoration: none;
    font-weight: 600;
    font-size: var(--text-sm);
    color: var(--granite);
    padding: .45rem 1rem;
    border-radius: 8px;
    transition: background .15s, color .15s;
    display: block;
}
nav ul li a:hover,
nav ul li a.active {
    background: var(--sky-light);
    color: var(--ocean);
}

/* Bouton CTA navigation */
.nav-cta {
    background: var(--ocean-deep) !important;
    color: var(--white) !important;
    padding: .5rem 1.15rem !important;
    border-radius: var(--radius) !important;
    font-weight: 700 !important;
    transition: background .18s !important;
}
.nav-cta:hover {
    background: var(--ocean) !important;
    color: var(--white) !important;
}

/* Numéro tel dans nav */
.nav-phone {
    font-weight: 700;
    color: var(--ocean);
    text-decoration: none;
    font-size: .88rem;
    white-space: nowrap;
}
.nav-phone:hover { color: var(--ocean-deep); }

/* Menu burger mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text);
    padding: 4px;
}
.menu-toggle svg { display: block; }

/* ================================================
   BANDE SAINT-MALO
================================================ */
.stmalo-stripe {
    height: 6px;
    background: repeating-linear-gradient(
        90deg,
        var(--ocean-deep) 0px,
        var(--ocean-deep) 18px,
        var(--ocean) 18px,
        var(--ocean) 36px,
        var(--sky) 36px,
        var(--sky) 54px,
        var(--sand) 54px,
        var(--sand) 72px
    );
    opacity: .55;
}

/* ================================================
   BOUTONS
================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: var(--text-sm);
    padding: 13px 26px;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all .18s ease;
    white-space: nowrap;
    line-height: 1;
}
.btn-large {
    font-size: 1rem;
    padding: 16px 32px;
    border-radius: var(--radius);
}

/* Bouton principal — sable/beige */
.btn-primary {
    background: var(--sand);
    color: var(--ocean-deep);
    border: 1.5px solid var(--sand-dark);
}
.btn-primary:hover {
    background: var(--sand-dark);
    color: var(--ocean-deep);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Bouton ocean */
.btn-ocean {
    background: var(--ocean-deep);
    color: var(--white);
}
.btn-ocean:hover {
    background: var(--ocean);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Bouton amber — couleur amber réelle */
.btn-amber {
    background: var(--amber);
    color: var(--white);
    border: 1.5px solid var(--amber);
}
.btn-amber:hover {
    background: var(--amber2);
    border-color: var(--amber2);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Bouton outline */
.btn-outline {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
}
.btn-outline:hover {
    border-color: var(--ocean);
    background: var(--sky-light);
    color: var(--ocean);
    transform: translateY(-2px);
}

/* Outline blanc (sur fond sombre) */
.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,.45);
}
.btn-outline-white:hover {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.7);
    transform: translateY(-2px);
}

/* Bouton blanc (sur fond coloré) */
.btn-white {
    background: var(--white);
    color: var(--ocean-deep);
    font-weight: 700;
}
.btn-white:hover {
    background: var(--sand);
    transform: translateY(-2px);
    box-shadow: 0 10px 36px rgba(0,0,0,.2);
}

/* Submit formulaire */
.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: var(--text-sm);
    padding: 13px 26px;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    background: var(--ocean-deep);
    color: var(--white);
    transition: all .18s ease;
}
.btn-submit:hover {
    background: var(--ocean);
    color: var(--white);
    transform: translateY(-1px);
}

/* ================================================
   BANDEAU DE CONFIANCE
================================================ */
.trust-bar {
    background: var(--ocean-deep);
    padding: 1.25rem 0;
    overflow: hidden;
    position: relative;
}
.trust-bar .shell-deco { top: 50%; transform: translateY(-50%); opacity: .08; }
.trust-bar-inner {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.82);
    font-size: var(--text-sm);
    font-weight: 700;
    white-space: nowrap;
}
.trust-item svg { color: var(--sky); }

/* ================================================
   EN-TÊTES DE SECTION — classe unique
================================================ */
section { padding: var(--gap) 0; }
section + section { padding-top: 0; }

.section-header,
.section-head {
    text-align: center;
    margin-bottom: 3rem;
}
.section-header .tag,
.section-head .tag { margin-bottom: 1rem; }
.section-header h2,
.section-head h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -.01em;
    line-height: 1.2;
    color: var(--ocean-deep);
    margin-bottom: .55rem;
}
.section-header p,
.section-head p {
    margin-top: .875rem;
    color: var(--text-muted);
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.02rem;
}

/* ================================================
   HERO — INDEX (.hero-index)
================================================ */
.hero-index {
    background: linear-gradient(160deg, var(--ocean-deep) 0%, var(--ocean) 55%, var(--ocean-mid) 100%);
    color: var(--white);
    padding: clamp(4rem, 10vw, 7rem) 0 0;
    overflow: hidden;
    position: relative;
}
.hero-index::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.055) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}
.hero-index::after {
    content: '';
    position: absolute;
    top: -80px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(224,122,16,.18) 0%, transparent 70%);
    pointer-events: none;
}

.hero-shell-1 { top: 15%; left: 3%; font-size: 1.4rem; opacity: .1; position: absolute; transform: rotate(-20deg); pointer-events: none; }
.hero-shell-2 { bottom: 20%; right: 5%; font-size: 1.1rem; opacity: .08; position: absolute; transform: rotate(15deg); pointer-events: none; }

.hero-index .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
    padding-bottom: 0;
    position: relative;
    z-index: 1;
}

.hero-text .tag {
    background: rgba(168,216,234,.18);
    color: var(--sky);
    border-color: rgba(168,216,234,.28);
}
.hero-text h1 {
    font-size: clamp(2.1rem, 4.5vw, 3.1rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.01em;
    margin-bottom: 1.2rem;
    color: var(--white);
}
.hero-text h1 em {
    font-style: normal;
    color: var(--sand);
}
.hero-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,.8);
    max-width: 460px;
    margin-bottom: 1rem;
    line-height: 1.7;
}
.hero-subdesc {
    font-size: 1rem;
    color: rgba(255,255,255,.88);
    max-width: 420px;
    margin-bottom: 2rem;
    padding: .875rem 1.25rem;
    background: rgba(255,255,255,.1);
    border-radius: var(--radius);
    border-left: 3px solid var(--sand);
    backdrop-filter: blur(6px);
}
.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

/* Vague de transition */
.hero-wave {
    display: block;
    width: 100%;
    margin-bottom: -2px;
    line-height: 0;
    position: relative;
    z-index: 1;
}

/* Carte héro droite */
.hero-visual { display: flex; justify-content: center; }
.hero-card-stack {
    position: relative;
    width: 320px;
    height: 300px;
}
.hc {
    position: absolute;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 1.25rem 1.5rem;
    min-width: 200px;
}
.hc-main {
    top: 0; left: 0; width: 260px;
    background: rgba(255,255,255,.97);
    color: var(--ocean-deep);
    z-index: 2;
}
.hc-main .hc-icon { font-size: 2rem; margin-bottom: .5rem; }
.hc-main h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--ocean-deep);
    margin-bottom: .25rem;
}
.hc-main p { font-size: var(--text-sm); color: var(--text-muted); }
.hc-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: .75rem;
    background: var(--sand);
    color: var(--ocean-deep);
    font-size: var(--text-xs);
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 100px;
    border: 1px solid var(--sand-dark);
}
.hc-stat {
    top: 120px; right: 0; width: 160px;
    text-align: center; z-index: 3;
}
.hc-stat .stat-num {
    font-family: var(--font-display);
    font-size: 2rem; font-weight: 800;
    color: var(--ocean);
}
.hc-stat .stat-label { font-size: var(--text-xs); color: var(--text-muted); }
.hc-zone {
    top: 0; right: 0; width: 180px;
    font-size: var(--text-sm); z-index: 1;
}
.hc-zone strong { display: block; margin-bottom: 2px; color: var(--ocean-deep); }

/* ================================================
   SERVICES
================================================ */
.services-section { padding: clamp(3rem,8vw,6rem) 0; background: var(--white); }
.services { background: var(--white); padding: 4.5rem 0; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--cream);
    border: 1.5px solid var(--sand-dark);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    transition: box-shadow .2s, transform .2s;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--ocean), var(--sky));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s;
    border-radius: 0;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--sky);
}

.service-card .card-shell {
    position: absolute;
    bottom: 10px; right: 14px;
    font-size: 1.8rem;
    opacity: .07;
    pointer-events: none;
}

.service-card-featured {
    background: var(--ocean-deep);
    border-color: var(--ocean-deep);
    color: var(--white);
}
.service-card-featured::before { background: linear-gradient(90deg, var(--sand), var(--sky)); }
.service-card-featured h3 { color: var(--white); }
.service-card-featured p { color: rgba(255,255,255,.72); }

.service-card-badge {
    display: inline-flex;
    align-self: flex-start;
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    background: var(--sand);
    color: var(--ocean-deep);
    padding: 4px 12px;
    border-radius: 100px;
    border: 1px solid var(--sand-dark);
}

.service-card-icon { font-size: 2.4rem; line-height: 1; }

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ocean-deep);
    margin-top: .25rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: var(--text-sm);
    line-height: 1.7;
}

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-top: .25rem;
    flex: 1;
}
.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.5;
}
.service-list li::before {
    content: '✓';
    color: var(--ocean);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}
.service-list-light li { color: rgba(255,255,255,.72); }
.service-list-light li::before { color: var(--sky); }

.service-btn {
    margin-top: auto;
    align-self: flex-start;
    font-size: var(--text-sm);
    padding: 11px 20px;
}

/* ================================================
   COMMENT ÇA MARCHE
================================================ */
.how-section {
    background: var(--sand);
    padding: clamp(3rem,8vw,6rem) 0;
    position: relative;
    overflow: hidden;
}
.how-section .shell-deco-l { left: 2%; top: 20%; transform: rotate(-25deg); }
.how-section .shell-deco-r { right: 2%; bottom: 20%; transform: rotate(18deg); }

.steps-row {
    display: flex;
    align-items: flex-start;
    gap: 0;
}
.step-card {
    flex: 1;
    text-align: center;
    padding: 2rem 1.25rem;
    background: var(--white);
    border: 1.5px solid var(--sand-dark);
    border-radius: var(--radius-lg);
    transition: box-shadow .2s, transform .2s;
    position: relative;
}
.step-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.step-arrow {
    flex-shrink: 0;
    width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--ocean);
    padding-top: 2.5rem;
}
.step-circle {
    width: 50px; height: 50px;
    background: var(--ocean-deep);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
    margin: 0 auto 1.25rem;
    border: 3px solid var(--sand);
    box-shadow: 0 0 0 2px var(--ocean-deep);
}
.step-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: .5rem;
    color: var(--ocean-deep);
}
.step-card p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.65;
}

/* ================================================
   CONCEPT / COMPARAISON
================================================ */
.concept-section {
    padding: clamp(3rem,8vw,6rem) 0;
    background: var(--ocean-deep);
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.concept-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}
.concept-section .shell-deco-tl { top: 10%; left: 2%; transform: rotate(-30deg); }
.concept-section .shell-deco-br { bottom: 10%; right: 3%; transform: rotate(20deg); opacity: .08; }

.concept-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}
.concept-left .tag {
    background: rgba(168,216,234,.15);
    color: var(--sky);
    border-color: rgba(168,216,234,.22);
}
.concept-left h2 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -.01em;
    margin-bottom: 1rem;
    color: var(--white);
}
.concept-left p {
    color: rgba(255,255,255,.75);
    margin-bottom: 1.25rem;
    font-size: 1.02rem;
    line-height: 1.7;
}
.concept-highlight {
    background: rgba(245,239,227,.1);
    border: 1.5px solid rgba(245,239,227,.25);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    font-size: 1rem;
    color: rgba(255,255,255,.9);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.concept-pill {
    display: inline-block;
    background: rgba(26,154,90,.22);
    color: #5BE89A;
    font-size: 1rem; font-weight: 700;
    padding: .55rem 1.05rem;
    border-radius: 8px;
    margin: .5rem 0 1.75rem;
    border: 1px solid rgba(91,232,154,.22);
}

.concept-compare {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.compare-card {
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.compare-other {
    background: rgba(255,255,255,.05);
    border: 1.5px solid rgba(255,255,255,.08);
}
.compare-malo {
    background: rgba(37,137,200,.2);
    border: 1.5px solid rgba(168,216,234,.28);
}
.compare-label {
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(255,255,255,.42);
    margin-bottom: .25rem;
}
.compare-malo .compare-label { color: var(--sky); }
.compare-item {
    font-size: var(--text-sm);
    font-weight: 700;
    line-height: 1.5;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}
.compare-item.bad { color: rgba(255,255,255,.42); }
.compare-item.good { color: rgba(255,255,255,.9); }

/* ================================================
   POURQUOI / ARGUMENTS
================================================ */
.why-section {
    background: var(--cream);
    padding: clamp(3rem,8vw,6rem) 0;
    position: relative;
    overflow: hidden;
}
.why-section .shell-deco-r { right: 1.5%; top: 15%; transform: rotate(12deg); }

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.why-card {
    background: var(--white);
    border: 1.5px solid var(--sand-dark);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: box-shadow .2s, transform .2s;
    position: relative;
    overflow: hidden;
}
.why-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.why-card .card-shell {
    position: absolute;
    bottom: 8px; right: 12px;
    font-size: 1.6rem; opacity: .07;
    pointer-events: none;
}
.why-icon { font-size: 2rem; margin-bottom: 1rem; }
.why-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: .5rem;
    color: var(--ocean-deep);
}
.why-card p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.7;
}

/* ================================================
   CLICK & REPAIR
================================================ */
.click-repair-section { padding: clamp(3rem,8vw,6rem) 0; background: var(--white); }
.click-repair-inner {
    background: var(--ocean-deep);
    border-radius: var(--radius-xl);
    padding: clamp(2rem, 5vw, 4rem);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.click-repair-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
}
.click-repair-inner .shell-deco { bottom: 12px; right: 20px; font-size: 2rem; opacity: .06; }

.cr-left h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -.01em;
    margin-bottom: 1rem;
}
.cr-left p { color: rgba(255,255,255,.7); margin-bottom: 1.5rem; font-size: 1rem; }
.cr-features { display: flex; flex-direction: column; gap: .875rem; }
.cr-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: var(--text-sm);
    color: rgba(255,255,255,.82);
    font-weight: 700;
}
.cr-feature::before {
    content: '';
    flex-shrink: 0;
    width: 6px; height: 6px;
    background: var(--sky);
    border-radius: 50%;
}
.cr-right {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
}
.cr-right h3 {
    font-size: var(--text-xs);
    color: var(--sky);
    font-weight: 700;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: .07em;
}
.cr-steps { display: flex; flex-direction: column; gap: 1rem; }
.cr-step {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,.8);
    font-size: var(--text-sm);
    line-height: 1.5;
}
.cr-step-num {
    flex-shrink: 0;
    width: 28px; height: 28px;
    background: var(--sand);
    color: var(--ocean-deep);
    font-weight: 800;
    font-size: var(--text-sm);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ================================================
   ZONE D'INTERVENTION
================================================ */
.zone-section {
    background: var(--cream);
    padding: clamp(3rem,8vw,6rem) 0;
}
.zone { background: var(--cream); padding: 4.5rem 0; }
.zone h2 { margin-bottom: .9rem; color: var(--ocean-deep); }
.zone p   { color: var(--gray); margin-bottom: 1.15rem; }

.zone-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.zone-left h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -.01em;
    margin-bottom: 1rem;
    color: var(--ocean-deep);
}
.zone-left p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
}
.zone-cities { display: flex; flex-wrap: wrap; gap: .5rem; }
.city-pill {
    background: var(--sky-light);
    border: 1.5px solid rgba(37,137,200,.22);
    color: var(--ocean-deep);
    padding: 5px 15px;
    border-radius: 100px;
    font-size: var(--text-sm);
    font-weight: 600;
}
.zone-map-placeholder {
    background: var(--white);
    border: 1.5px solid var(--sand-dark);
    border-radius: var(--radius-lg);
    aspect-ratio: 4/3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: var(--text-sm);
}
.zone-map-placeholder .map-icon { font-size: 3rem; }
.zone-map-placeholder strong { color: var(--ocean-deep); font-size: 1rem; }
.zone-radius {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--sky-light);
    color: var(--ocean-deep);
    font-weight: 700;
    font-size: var(--text-sm);
    padding: 9px 18px;
    border-radius: 100px;
    border: 1px solid rgba(37,137,200,.2);
}
.zone-visual {
    background: linear-gradient(145deg, var(--ocean-deep) 0%, var(--ocean-mid) 100%);
    border-radius: var(--radius-lg);
    padding: 2.75rem 2rem;
    color: var(--white);
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}
.zone-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.055) 1px, transparent 1px);
    background-size: 20px 20px;
}
.zone-visual > * { position: relative; }
.zone-visual .big-radius {
    font-family: var(--font-display);
    font-size: 4.5rem; font-weight: 800;
    color: var(--sand); line-height: 1;
}
.zone-visual p { color: rgba(255,255,255,.75); margin: .5rem 0 0; font-size: 1rem; }
.zone-visual .zone-note {
    margin-top: 1.5rem;
    background: rgba(168,216,234,.12);
    border-radius: 10px;
    padding: .8rem 1rem;
    color: rgba(255,255,255,.82);
    font-size: .92rem;
    border: 1px solid rgba(168,216,234,.18);
}
.zone-radius-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--ocean-deep);
    color: var(--white);
    font-weight: 700;
    font-size: .92rem;
    padding: .5rem .95rem;
    border-radius: 999px;
    margin-bottom: 1.15rem;
}

/* ================================================
   TÉMOIGNAGES
================================================ */
.testimonials-section {
    padding: clamp(3rem,8vw,6rem) 0;
    background: var(--sand);
    position: relative;
    overflow: hidden;
}
.testimonials { background: var(--sand); padding: 4.5rem 0; }
.testimonials-section .shell-deco-l { left: 1.5%; bottom: 15%; transform: rotate(-15deg); }
.testimonials-section .shell-deco-r { right: 2%; top: 20%; transform: rotate(20deg); }

.testimonials-grid,
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.testi-card {
    background: var(--white);
    border: 1.5px solid var(--sand-dark);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    border-top: 3px solid var(--ocean);
}
.testi-text {
    font-size: 1rem;
    color: var(--granite);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-style: italic;
}
.testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testi-avatar {
    width: 40px; height: 40px;
    background: var(--ocean-deep);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: .95rem;
    color: var(--white);
    flex-shrink: 0;
}
.testi-name { font-weight: 700; font-size: var(--text-sm); color: var(--ocean-deep); }
.testi-loc  { font-size: var(--text-xs); color: var(--text-muted); }
.stars      { color: var(--amber); font-size: 1rem; letter-spacing: 2px; margin-bottom: .75rem; }

/* ================================================
   CTA FINAL
================================================ */
.cta-section { padding: clamp(3rem,8vw,6rem) 0; }
.cta-inner {
    background: linear-gradient(135deg, var(--ocean) 0%, var(--ocean-deep) 100%);
    border-radius: var(--radius-xl);
    padding: clamp(2.5rem, 6vw, 5rem);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-inner::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(168,216,234,.15) 0%, transparent 70%);
    pointer-events: none;
}
.cta-inner .shell-deco-bl { bottom: 16px; left: 24px; font-size: 1.8rem; opacity: .1; position: absolute; transform: rotate(-18deg); pointer-events: none; }
.cta-inner .shell-deco-tr { top: 16px; right: 24px; font-size: 1.4rem; opacity: .08; position: absolute; transform: rotate(22deg); pointer-events: none; }

.cta-inner .tag {
    background: rgba(168,216,234,.18);
    color: var(--sky);
    border-color: rgba(168,216,234,.25);
    margin-bottom: 1.25rem;
}
.cta-inner h2 {
    font-size: clamp(1.75rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -.01em;
    margin-bottom: 1rem;
    line-height: 1.25;
}
.cta-inner p {
    color: rgba(255,255,255,.75);
    max-width: 480px;
    margin: 0 auto 2.25rem;
    font-size: 1.02rem;
    line-height: 1.7;
}
.cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* CTA final version pleine largeur */
.cta-final {
    background: linear-gradient(135deg, var(--ocean) 0%, var(--ocean-deep) 100%);
    padding: 5rem 0 4.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-final::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}
.cta-final > .container { position: relative; }
.cta-final h2 { color: var(--white); margin-bottom: .75rem; }
.cta-final p  { color: rgba(255,255,255,.82); font-size: 1.07rem; margin-bottom: 2rem; }
.cta-final-btns { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.cta-final .btn-white {
    background: var(--white); color: var(--ocean-deep);
    font-size: 1.08rem; font-weight: 700;
    padding: .95rem 2rem; border-radius: 10px;
    text-decoration: none;
    transition: box-shadow .15s, transform .15s;
    display: inline-flex; align-items: center; gap: .5rem;
}
.cta-final .btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 36px rgba(0,0,0,.25); }
.cta-final .btn-ghost {
    background: transparent; color: var(--white);
    border: 2px solid rgba(255,255,255,.5);
    font-size: 1rem; font-weight: 600;
    padding: .95rem 2rem; border-radius: 10px;
    text-decoration: none;
    transition: background .15s, transform .15s;
    display: inline-flex; align-items: center; gap: .5rem;
}
.cta-final .btn-ghost:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }

/* ================================================
   HERO — PAGES INTÉRIEURES
================================================ */
.hero-inner {
    padding: clamp(2.5rem, 6vw, 4.5rem) 0;
    background: var(--sand);
    border-bottom: 1px solid var(--sand-dark);
    margin-bottom: var(--gap);
}
.hero-inner .tag { margin-bottom: 1rem; }
.hero-inner h1 {
    font-size: clamp(1.75rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -.01em;
    margin-bottom: .875rem;
    color: var(--ocean-deep);
}
.hero-inner p {
    color: var(--text-muted);
    max-width: 560px;
    font-size: 1.08rem;
    line-height: 1.7;
}

/* ================================================
   HERO — INDEX version .hero (alias)
================================================ */
.hero {
    background: linear-gradient(160deg, var(--ocean-deep) 0%, var(--ocean) 55%, var(--ocean-mid) 100%);
    color: var(--white);
    padding: 5rem 0 0;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}
.hero-sun {
    position: absolute;
    top: -60px; right: -60px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245,152,32,.22) 0%, rgba(245,152,32,0) 70%);
    pointer-events: none;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding-bottom: 4rem;
}
.hero .tag {
    background: rgba(168,216,234,.2);
    color: var(--sky);
    border-color: rgba(168,216,234,.3);
}
.hero h1 { color: var(--white); margin-bottom: 1rem; }
.hero h1 em { font-style: normal; color: var(--amber2); }
.hero-highlight {
    background: rgba(255,255,255,.1);
    border-left: 3px solid var(--amber2);
    border-radius: 0 10px 10px 0;
    backdrop-filter: blur(8px);
    padding: .85rem 1.1rem;
    color: rgba(255,255,255,.92);
    font-size: 1rem;
    margin-bottom: 1.85rem;
    line-height: 1.55;
}
.hero-ctas { display: flex; gap: .85rem; flex-wrap: wrap; }

/* Carte engagements */
.hero-card {
    background: rgba(255,255,255,.97);
    border-radius: 16px;
    padding: 2rem 1.75rem;
    color: var(--granite);
    box-shadow: 0 16px 56px rgba(10,50,80,.3);
    border: 1px solid rgba(255,255,255,.3);
}
.hero-card-title {
    font-family: var(--font-display);
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--ocean);
    margin-bottom: 1.25rem;
    font-weight: 700;
}
.hero-promises { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.hero-promises li {
    display: flex; align-items: flex-start; gap: .65rem;
    font-size: .97rem; font-weight: 600; line-height: 1.4;
    color: var(--granite);
}
.hero-promises li .ico {
    flex-shrink: 0; width: 26px; height: 26px;
    background: rgba(26,154,90,.12);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .85rem; margin-top: .05rem;
}
.hero-phone-cta {
    margin-top: 1.5rem; padding-top: 1.25rem;
    border-top: 1px solid var(--sand-dark);
    text-align: center;
}
.hero-phone-cta a {
    display: inline-block;
    background: var(--sand); color: var(--ocean-deep);
    font-size: 1.05rem; font-weight: 700;
    padding: .8rem 1.6rem; border-radius: 10px;
    text-decoration: none;
    transition: background .15s, transform .15s;
    border: 1.5px solid var(--sand-dark);
}
.hero-phone-cta a:hover { background: var(--sand-dark); transform: translateY(-2px); }
.hero-phone-cta small { display: block; margin-top: .45rem; color: var(--gray); font-size: .85rem; }

/* ================================================
   HOW — version index (4 colonnes)
================================================ */
.how {
    background: var(--sand);
    padding: 4.5rem 0;
    position: relative;
}
.how::before {
    content: '';
    position: absolute;
    top: -1px; left: 0; right: 0;
    height: 40px;
    background: var(--white);
    clip-path: ellipse(55% 100% at 50% 0%);
}
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 2.5rem;
    position: relative;
}
.steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: calc(12.5% + 16px);
    right: calc(12.5% + 16px);
    height: 2px;
    background: linear-gradient(90deg, var(--ocean), var(--sky));
    z-index: 0;
}
.step {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem 1.15rem;
    text-align: center;
    position: relative; z-index: 1;
    box-shadow: var(--shadow);
}
.step-num {
    width: 48px; height: 48px;
    background: var(--ocean);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.3rem; font-weight: 700;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
    border: 4px solid var(--sand);
    box-shadow: 0 0 0 2px var(--ocean);
}
.step h3 { font-size: 1rem; margin-bottom: .45rem; color: var(--ocean-deep); }
.step p   { color: var(--gray); font-size: .9rem; }

/* ================================================
   CONCEPT — version index
================================================ */
.concept {
    background: var(--ocean-deep);
    color: var(--white);
    padding: 4.5rem 0;
    position: relative;
    overflow: hidden;
}
.concept::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}
.concept .tag {
    background: rgba(168,216,234,.15);
    color: var(--sky);
    border-color: rgba(168,216,234,.25);
}
.concept h2 { color: var(--white); margin-bottom: 1rem; }
.concept p  { color: rgba(255,255,255,.78); margin-bottom: .8rem; }

/* Colonnes de comparaison (index) */
.compare-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.compare-col {
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex; flex-direction: column; gap: .7rem;
}
.compare-col.them {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
}
.compare-col.us {
    background: rgba(37,137,200,.2);
    border: 1px solid rgba(168,216,234,.3);
}
.compare-col-title {
    font-weight: 700; font-size: .8rem;
    margin-bottom: .2rem;
    letter-spacing: .07em; text-transform: uppercase;
}
.compare-col.them .compare-col-title { color: rgba(255,255,255,.45); }
.compare-col.us   .compare-col-title { color: var(--sky); }
.compare-row {
    display: flex; align-items: flex-start; gap: .55rem;
    font-size: .94rem; line-height: 1.4;
}
.compare-row .ico { flex-shrink: 0; font-size: .95rem; margin-top: .05rem; }
.compare-col.them .compare-row { color: rgba(255,255,255,.45); }
.compare-col.us   .compare-row { color: rgba(255,255,255,.88); font-weight: 600; }

/* ================================================
   PAGE TARIFS
================================================ */
.tarifs-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2rem;
    align-items: start;
}
.tabs-sidebar {
    position: sticky;
    top: 80px;
    background: var(--white);
    border: 1.5px solid var(--sand-dark);
    border-radius: var(--radius-lg);
    padding: .75rem;
}
.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    background: none;
    border: none;
    padding: 12px 14px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: all .15s;
    text-align: left;
}
.tab-btn:hover { background: var(--cream); color: var(--ocean); }
.tab-btn.active {
    background: var(--ocean-deep);
    color: var(--white);
}
.tabs-content-area {
    background: var(--white);
    border: 1.5px solid var(--sand-dark);
    border-radius: var(--radius-lg);
    padding: 2rem;
}
.tab-content { display: none; animation: fadeIn .25s ease; }
.tab-content.active { display: block; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.tab-content h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    padding-bottom: .75rem;
    border-bottom: 1.5px solid var(--sand-dark);
    color: var(--ocean-deep);
}
.service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--sand-dark);
    gap: 1rem;
}
.service-item:last-child { border-bottom: none; }
.service-info h4 {
    font-size: var(--text-sm);
    font-weight: 700;
    margin-bottom: 3px;
    color: var(--ocean-deep);
}
.service-info p { font-size: var(--text-xs); color: var(--text-muted); }
.service-price {
    flex-shrink: 0;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.05rem;
    background: var(--sky-light);
    color: var(--ocean-deep);
    padding: 5px 14px;
    border-radius: var(--radius);
    white-space: nowrap;
    border: 1px solid rgba(37,137,200,.18);
}
.tarifs-note {
    margin-top: 2rem;
    background: var(--cream);
    border: 1.5px solid var(--sand-dark);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.7;
}
.tarifs-note strong { color: var(--text); }
.tabs-nav-mobile {
    display: none;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.5rem;
}

/* ================================================
   PAGE CONTACT
================================================ */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 2.5rem;
    align-items: start;
}
.contact-sidebar {
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.contact-info-card {
    background: var(--ocean-deep);
    border-radius: var(--radius-lg);
    padding: 2rem;
    color: var(--white);
}
.contact-info-card h3 {
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--sky);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: .07em;
}
.cinfo-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1rem;
    font-size: var(--text-sm);
    color: rgba(255,255,255,.78);
    line-height: 1.6;
}
.cinfo-icon { font-size: 1.1rem; margin-top: 1px; flex-shrink: 0; }
.cinfo-item strong { color: var(--white); display: block; margin-bottom: 2px; font-weight: 700; }
.reassurance-card {
    background: var(--sky-light);
    border: 1.5px solid rgba(37,137,200,.22);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}
.reassurance-card h3 {
    font-size: var(--text-sm);
    font-weight: 800;
    color: var(--ocean-deep);
    margin-bottom: 1rem;
}
.reassurance-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: var(--text-sm);
    color: var(--ocean-deep);
    margin-bottom: .6rem;
    font-weight: 700;
    line-height: 1.5;
}
.reassurance-item::before { content: '✓'; font-weight: 800; flex-shrink: 0; }

/* Formulaire */
.contact-main {
    background: var(--white);
    border: 1.5px solid var(--sand-dark);
    border-radius: var(--radius-lg);
    padding: 2rem;
}
.contact-choice {
    display: flex;
    gap: 10px;
    margin-bottom: 2rem;
}
.choice-btn {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    border: 2px solid var(--sand-dark);
    border-radius: var(--radius);
    background: var(--white);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: var(--text-sm);
    color: var(--text-muted);
    cursor: pointer;
    transition: all .18s;
}
.choice-btn:hover { border-color: var(--ocean); color: var(--ocean); background: var(--sky-light); }
.choice-btn.active {
    background: var(--ocean-deep);
    border-color: var(--ocean-deep);
    color: var(--white);
}
.form-block { display: none; }
.form-block.active { display: block; }
.form-block h2 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--ocean-deep);
}
.form-group { margin-bottom: 1.35rem; }
label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--granite);
    margin-bottom: 7px;
}
input, textarea, select {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid var(--sand-dark);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    background: var(--white);
    color: var(--text);
    transition: border-color .18s, box-shadow .18s;
    margin: 0;
}
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--ocean);
    box-shadow: 0 0 0 3px rgba(26,107,154,.1);
}
textarea { resize: vertical; min-height: 140px; }
.success-msg {
    background: #ECFDF5;
    border: 1.5px solid #6EE7B7;
    color: #065F46;
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: var(--text-sm);
    margin-bottom: 1.5rem;
}

/* ================================================
   ADMIN
================================================ */
.admin-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; }
.admin-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.admin-table th, .admin-table td { text-align: left; padding: 10px; border-bottom: 1px solid var(--sand-dark); font-size: var(--text-sm); }
.admin-table th { font-weight: 700; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); }
.btn-danger { background: #EF4444; color: white; padding: 6px 12px; border-radius: 6px; text-decoration: none; font-size: var(--text-xs); border: none; cursor: pointer; }
.admin-menu { display: flex; gap: 10px; margin: 20px 0; flex-wrap: wrap; }
.admin-menu button { padding: 10px 18px; border: 2px solid var(--sand-dark); background: var(--white); cursor: pointer; border-radius: var(--radius); font-family: var(--font-body); font-weight: 700; font-size: var(--text-sm); transition: all .15s; }
.admin-menu button.active { background: var(--ocean-deep); color: var(--white); border-color: var(--ocean-deep); }
.admin-tab { display: none; }
.admin-tab.active { display: block; }

/* ================================================
   CARTE GÉNÉRIQUE
================================================ */
.card {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1.5px solid var(--sand-dark);
    margin-bottom: 2rem;
}

/* ================================================
   PIED DE PAGE
================================================ */
footer {
    background: var(--ocean-deep);
    padding: clamp(2rem, 5vw, 3.5rem) 0 1.5rem;
    color: rgba(255,255,255,.52);
    margin-top: auto;
    position: relative;
    overflow: hidden;
}
footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
}
footer .shell-deco-footer {
    position: absolute;
    bottom: 20px; right: 40px;
    font-size: 2.2rem; opacity: .06;
    pointer-events: none;
    transform: rotate(10deg);
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
    margin-bottom: 1.5rem;
    position: relative;
}
.footer-brand .logo-container { color: var(--white); margin-bottom: 1rem; }
.footer-brand p { font-size: var(--text-sm); max-width: 280px; line-height: 1.7; }
.footer-col h4 {
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.3);
    margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.footer-col ul li a { color: rgba(255,255,255,.6); text-decoration: none; font-size: var(--text-sm); transition: color .15s; }
.footer-col ul li a:hover { color: var(--sky); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--text-xs);
    flex-wrap: wrap;
    gap: .5rem;
    position: relative;
}
.footer-bottom a { color: var(--sky); text-decoration: none; }

/* ================================================
   RESPONSIVE — 900px
================================================ */
@media (max-width: 900px) {
    /* Hero index */
    .hero-index .container { grid-template-columns: 1fr; text-align: center; }
    .hero-text .hero-desc,
    .hero-text .hero-subdesc { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-visual { display: none; }

    /* Hero index alias */
    .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
    .hero-card { display: none; }

    /* Steps */
    .steps-row { flex-wrap: wrap; gap: 1rem; }
    .step-arrow { display: none; }
    .step-card { flex: 1 1 calc(50% - .5rem); min-width: 200px; }
    .steps { grid-template-columns: 1fr 1fr; }
    .steps::before { display: none; }

    /* Grilles */
    .services-grid { grid-template-columns: 1fr 1fr; }
    .concept-grid { grid-template-columns: 1fr; }
    .click-repair-inner { grid-template-columns: 1fr; }
    .zone-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr 1fr; }
    .testimonials-grid,
    .testi-grid { grid-template-columns: 1fr 1fr; }
    .compare-cols { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .contact-sidebar { position: static; }

    /* Tarifs */
    .tarifs-layout { grid-template-columns: 1fr; }
    .tabs-sidebar { display: none; }
    .tabs-nav-mobile { display: flex; }

    /* Footer */
    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }

    /* Admin */
    .admin-grid { grid-template-columns: 1fr; }

    /* CTA */
    .cta-final-btns { flex-direction: column; align-items: center; }
}

/* ================================================
   RESPONSIVE — 640px
================================================ */
@media (max-width: 640px) {
    /* Nav mobile */
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 64px; left: 0; right: 0;
        background: rgba(253,250,246,.97);
        backdrop-filter: blur(14px);
        border-bottom: 1px solid var(--sand-dark);
        padding: 1rem;
        gap: 0;
        box-shadow: 0 8px 24px rgba(15,76,107,.1);
    }
    nav ul.active { display: flex; }
    nav ul li a {
        display: block;
        padding: .875rem 1rem;
        border-radius: var(--radius);
        font-size: 1rem;
    }
    .menu-toggle { display: flex; }

    /* Hero */
    .hero { padding: 2.5rem 0 0; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }

    /* Grilles → 1 colonne */
    .services-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
    .steps { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .step-card { flex: 1 1 100%; }
    .testimonials-grid,
    .testi-grid { grid-template-columns: 1fr; }
    .compare-cols { grid-template-columns: 1fr; }

    /* Contact */
    .contact-choice { flex-direction: column; }

    /* CTA */
    .cta-actions { flex-direction: column; align-items: center; }
    .cta-actions .btn { width: 100%; max-width: 340px; justify-content: center; }
    .cta-final-btns { flex-direction: column; align-items: center; }

    /* Misc */
    .service-item { flex-direction: column; align-items: flex-start; gap: 8px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}