/* ==========================================================================
   LP Télécom — feuille de style principale
   Palette et typographie alignées sur telipso.ca
   ========================================================================== */

:root {
    --teal: #004860;
    --teal-deep: #00303f;
    --teal-soft: #0d5a73;
    --cyan: #4cc1ea;
    --cyan-strong: #0b7fa8;
    --ice: #eef8fc;
    --white: #ffffff;
    --ink: #004860;
    --ink-muted: #3f6a79;
    --line: rgba(0, 72, 96, .14);
    --line-light: rgba(255, 255, 255, .16);

    --font: "henderson-sans-basic", "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;

    --radius-sm: 14px;
    --radius: 24px;
    --radius-lg: 40px;
    --container: 1240px;
    --gutter: clamp(16px, 4vw, 40px);
    --section-y: clamp(4.5rem, 9vw, 8rem);
    --header-h: 88px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --shadow: 0 24px 60px -24px rgba(0, 48, 63, .35);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--font);
    font-size: clamp(1rem, .96rem + .2vw, 1.125rem);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
strong { font-weight: 600; }
h1, h2, h3, h4 { margin: 0 0 .6em; font-weight: 600; line-height: 1.12; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.6rem + 4.4vw, 5.25rem); }
h2 { font-size: clamp(2rem, 1.5rem + 2.2vw, 3.25rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); line-height: 1.25; }
.lead { font-size: clamp(1.075rem, 1rem + .35vw, 1.3rem); line-height: 1.55; }
.accent { color: var(--cyan); }
.muted { opacity: .72; }
.nowrap { white-space: nowrap; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.skip-link {
    position: fixed; left: 16px; top: -100px; z-index: 1000;
    padding: .75rem 1.25rem; border-radius: 999px;
    background: var(--cyan); color: var(--teal); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.icon { width: 1.5rem; height: 1.5rem; flex: none; }
.icon-sm { width: 1.1rem; height: 1.1rem; }
.icon-lg { width: 2.6rem; height: 2.6rem; }

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    min-height: 52px; padding: .8rem 1.6rem;
    border: 2px solid transparent; border-radius: 999px;
    font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2;
    text-decoration: none; cursor: pointer;
    transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn-sm { min-height: 44px; padding: .55rem 1.25rem; font-size: .95rem; }
.btn-primary { background: var(--cyan); color: var(--teal); }
.btn-primary:hover { background: var(--white); color: var(--teal); }
.section:not(.section--dark) .btn-primary:hover { background: var(--teal); color: var(--white); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: var(--white); color: var(--teal); }
.btn-dark { background: var(--teal); color: var(--white); }
.btn-dark:hover { background: var(--teal-deep); }
.btn-outline-dark { border-color: var(--teal); color: var(--teal); }
.btn-outline-dark:hover { background: var(--teal); color: var(--white); }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; }
.link-arrow:hover { color: var(--cyan); }

.eyebrow {
    display: inline-flex; align-items: center; gap: .6rem;
    margin-bottom: 1rem;
    font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
    color: var(--cyan-strong);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light, .section--dark .eyebrow { color: var(--cyan); }

/* ---------- En-tête ---------- */
.site-header {
    position: fixed; inset: 0 0 auto; z-index: 100;
    color: var(--white);
    transition: background-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
.site-header.is-scrolled { background: rgba(0, 72, 96, .94); backdrop-filter: blur(12px); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: var(--header-h); }
.brand img { width: auto; height: 56px; }

.main-nav { display: flex; align-items: center; gap: 2rem; }
.nav-list { display: flex; align-items: center; gap: .25rem; list-style: none; }
.nav-link {
    display: inline-flex; align-items: center; gap: .3rem;
    padding: .6rem .9rem; border: 0; border-radius: 999px; background: none;
    font: inherit; font-size: 1rem; color: inherit; text-decoration: none; cursor: pointer;
    transition: color .2s;
}
.nav-link:hover, .nav-link[aria-current="page"], .nav-link.is-active { color: var(--cyan); }
.nav-link .icon { transition: transform .25s var(--ease); }
.has-sub { position: relative; }
.has-sub.is-open .nav-link .icon { transform: rotate(180deg); }
.sub-menu {
    position: absolute; top: calc(100% + 10px); left: 50%; width: 400px;
    padding: .6rem; list-style: none;
    background: var(--white); color: var(--teal); border-radius: var(--radius-sm); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
    transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.sub-menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-sub.is-open .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) and (min-width: 1081px) {
    .has-sub:hover .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
    .has-sub:hover .nav-link .icon { transform: rotate(180deg); }
}
.sub-menu a {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: .8rem 1rem; border-radius: 10px; text-decoration: none; font-weight: 500;
    transition: background-color .2s;
}
.sub-menu a .icon { color: var(--cyan-strong); opacity: 0; transform: translateX(-6px); transition: .2s var(--ease); }
.sub-menu a:hover, .sub-menu a[aria-current="page"] { background: var(--ice); }
.sub-menu a:hover .icon, .sub-menu a[aria-current="page"] .icon { opacity: 1; transform: none; }

.nav-actions { display: flex; align-items: center; gap: 1.25rem; }
.nav-phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
.nav-phone:hover { color: var(--cyan); }

.nav-toggle {
    display: none; place-items: center;
    width: 48px; height: 48px; padding: 0; border: 1px solid var(--line-light); border-radius: 50%;
    background: transparent; color: inherit; cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

@media (max-width: 1080px) {
    .nav-toggle { display: grid; z-index: 2; }
    .main-nav {
        position: fixed; inset: 0; z-index: 1;
        flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 2rem;
        padding: calc(var(--header-h) + 1rem) var(--gutter) 2rem;
        background: var(--teal); overflow-y: auto;
        opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
    }
    .nav-open .main-nav { opacity: 1; visibility: visible; }
    .nav-open { overflow: hidden; }
    .brand { position: relative; z-index: 2; }
    .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav-list > li { border-bottom: 1px solid var(--line-light); }
    .nav-link { width: 100%; justify-content: space-between; padding: 1.1rem 0; font-size: 1.35rem; border-radius: 0; }
    .sub-menu {
        position: static; width: auto; padding: 0 0 1rem; display: none;
        background: none; color: var(--white); box-shadow: none;
        opacity: 1; visibility: visible; transform: none;
    }
    .has-sub.is-open .sub-menu { display: block; transform: none; }
    .sub-menu a { padding: .7rem 0; }
    .sub-menu a .icon { opacity: 1; transform: none; color: var(--cyan); }
    .sub-menu a:hover, .sub-menu a[aria-current="page"] { background: none; color: var(--cyan); }
    .nav-actions { flex-direction: column; align-items: stretch; }
    .nav-phone { justify-content: center; font-size: 1.2rem; }
}

/* ---------- Héros ---------- */
.hero {
    position: relative; overflow: hidden;
    display: flex; align-items: center;
    min-height: 100svh; padding: calc(var(--header-h) + 3rem) 0 6rem;
    background: var(--teal-deep) url("../img/fond-degrade.webp") center / cover no-repeat;
    color: var(--white); text-align: center;
}
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero h1 { max-width: 15ch; margin-bottom: .45em; }
.hero-lead { max-width: 640px; margin-inline: auto; font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); opacity: .92; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 1.5rem; }

@media (max-width: 640px) { .hero .eyebrow::before { display: none; } }

.hero--page { min-height: min(78svh, 760px); }
.hero--page h1 { max-width: 18ch; font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.5rem); }
.hero--compact { min-height: min(62svh, 600px); }

.scroll-cue {
    position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%);
    width: 30px; height: 48px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 999px;
}
.scroll-cue span {
    position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; margin-left: -2px;
    border-radius: 2px; background: var(--cyan); animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section--dark { background: var(--teal); color: var(--white); }
.section--ice { background: var(--ice); }
.section--cyan { background: var(--cyan); color: var(--teal); }
.section--rounded { border-radius: var(--radius-lg) var(--radius-lg) 0 0; margin-top: calc(var(--radius-lg) * -1); position: relative; }
.section--flush-top { padding-top: 0; }

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { margin-bottom: .35em; }
.section-head .lead { margin: 0; opacity: .9; }
.section-head--center { max-width: 760px; margin-inline: auto; text-align: center; }
.section-head--split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; align-items: end; }
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; } }

/* ---------- Bloc texte + image ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.split--media-right .split-media, .split--media-right .before-after { order: 2; }
.split-text > :last-child { margin-bottom: 0; }
.split-text .btn { margin-top: 1rem; }
.split-media { position: relative; }
.rounded { width: 100%; border-radius: var(--radius); object-fit: cover; aspect-ratio: 4 / 3; }
.rounded--tall { aspect-ratio: 4 / 5; }
.media-badge {
    position: absolute; left: -1.5rem; bottom: 2rem;
    display: flex; align-items: center; gap: 1rem; max-width: 360px;
    padding: 1.1rem 1.4rem; border-radius: var(--radius-sm);
    background: var(--teal); color: var(--white); box-shadow: var(--shadow);
}
.media-badge strong { font-size: 2.6rem; line-height: 1; color: var(--cyan); }
.media-badge span { font-size: .95rem; line-height: 1.35; }
@media (max-width: 860px) {
    .split { grid-template-columns: 1fr; }
    .split--media-right .split-media, .split--media-right .before-after { order: 0; }
    .media-badge { left: 1rem; bottom: -1.5rem; }
    .rounded--tall { aspect-ratio: 4 / 3; }
}

/* Étapes numérotées (style « Notre approche » de Telipso) */
.steps { display: grid; gap: .9rem; margin: 0 0 1.5rem; list-style: none; }
.steps li { display: flex; align-items: center; gap: 1rem; font-weight: 500; }
.step-num {
    display: grid; place-items: center; flex: none;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--ice); color: var(--teal); font-weight: 600;
    box-shadow: inset 0 0 0 2px var(--cyan);
}

/* ---------- Cartes de services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2vw, 1.75rem); }
.service-grid--3 { grid-template-columns: repeat(3, 1fr); }
.service-card {
    display: flex; flex-direction: column; overflow: hidden;
    border-radius: var(--radius); background: var(--teal-soft); color: var(--white);
    text-decoration: none;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.service-card-media { aspect-ratio: 16 / 9; overflow: hidden; }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.service-card:hover .service-card-media img { transform: scale(1.05); }
.service-card-body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 1.75rem 6rem 1.9rem 1.9rem; }
.service-card-title { margin: 0 0 .5rem; font-size: clamp(1.3rem, 1.15rem + .6vw, 1.7rem); }
.service-card-text { opacity: .85; font-size: 1rem; line-height: 1.55; }
.arrow-circle {
    position: absolute; right: 1.6rem; bottom: 1.75rem;
    display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
    background: var(--teal); color: var(--white);
    transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.service-card:hover .arrow-circle { background: var(--cyan); color: var(--teal); transform: rotate(-45deg); }
@media (max-width: 960px) { .service-grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) {
    .service-grid, .service-grid--3 { grid-template-columns: 1fr; }
    .service-card-body { padding-right: 5.5rem; }
}

/* ---------- Statistiques ---------- */
.stats-band { padding: clamp(3.5rem, 7vw, 5.5rem) 0 calc(clamp(3.5rem, 7vw, 5.5rem) + var(--radius-lg)); border-top: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; }
.stats li { display: flex; flex-direction: column; gap: .3rem; padding: .5rem 1.75rem; border-left: 1px solid var(--line); }
.stats li:first-child { border-left: 0; padding-left: 0; }
.stats strong { font-size: clamp(2.6rem, 2rem + 2.4vw, 4rem); line-height: 1; font-weight: 600; color: var(--teal); }
.stats sup { font-size: .5em; vertical-align: top; position: relative; top: .25em; color: var(--cyan-strong); margin-left: .05em; }
.stats span { color: var(--ink-muted); line-height: 1.4; }
@media (max-width: 860px) {
    .stats { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
    .stats li:nth-child(odd) { border-left: 0; padding-left: 0; }
}

/* ---------- Cartes d'expertise (bordure cyan, style témoignages Telipso) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.feature-card {
    display: flex; flex-direction: column; gap: .25rem;
    padding: 2rem 1.75rem; border: 2px solid var(--cyan); border-radius: var(--radius);
    transition: background-color .3s var(--ease);
}
.feature-card:hover { background: rgba(76, 193, 234, .08); }
.feature-card .icon { color: var(--cyan); }
.feature-card > .icon { margin-bottom: 1.25rem; }
.feature-card h3 { margin-bottom: .5rem; }
.feature-card p { margin: 0; font-size: 1rem; opacity: .85; }
.section:not(.section--dark) .feature-card { background: var(--white); }
.section:not(.section--dark) .feature-card .icon { color: var(--cyan-strong); }
.feature-grid--2 { grid-template-columns: repeat(2, 1fr); }
.feature-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1080px) { .feature-grid, .feature-grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .feature-grid, .feature-grid--2, .feature-grid--3 { grid-template-columns: 1fr; } }

/* ---------- Citation ---------- */
.big-quote { position: relative; max-width: 980px; margin: 0 auto; padding-top: 1rem; text-align: center; }
.big-quote .quote-mark { width: 3.5rem; height: 3.5rem; margin: 0 auto 1.5rem; color: var(--cyan); }
.big-quote blockquote { margin: 0; }
.big-quote p { margin: 0; font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.6rem); line-height: 1.3; font-weight: 500; letter-spacing: -.01em; }

.callout {
    margin: 2rem 0; padding: 1.75rem 2rem;
    border-left: 4px solid var(--cyan); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: var(--ice); font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.5; font-weight: 500;
}
.callout p:last-child { margin: 0; }
.section--dark .callout { background: rgba(255, 255, 255, .06); }

/* ---------- Certifications ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; list-style: none; }
.cert {
    display: flex; flex-direction: column; align-items: center; gap: .3rem;
    padding: 1.75rem 1.25rem; border-radius: var(--radius); background: var(--white); text-align: center;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.cert:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cert-logo { display: grid; place-items: center; height: 64px; margin-bottom: .9rem; }
.cert-logo img { max-height: 56px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.cert:hover .cert-logo img { filter: none; opacity: 1; }
.cert strong { font-size: 1.1rem; }
.cert span { font-size: .95rem; color: var(--ink-muted); line-height: 1.4; }
@media (max-width: 1080px) { .cert-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .cert-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Avant / après ---------- */
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.before-after figure { position: relative; margin: 0; }
.before-after img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.before-after figcaption {
    position: absolute; left: 1rem; top: 1rem;
    padding: .35rem .9rem; border-radius: 999px;
    background: var(--white); color: var(--teal); font-size: .85rem; font-weight: 600;
}
.before-after figure:nth-child(even) figcaption { background: var(--cyan); }
.before-after--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .before-after--4 { grid-template-columns: 1fr 1fr; } }
.case-logo { max-width: 340px; margin-bottom: 2rem; }

.stats--compact { margin: 1.25rem 0; grid-template-columns: repeat(3, 1fr); }
.case-facts { margin-bottom: 1rem; }
.case-facts p { margin: 0; opacity: .85; }
.case-facts .stats li { border-color: var(--line-light); }
.case-facts .stats strong { color: var(--cyan); }
.case-facts .stats span { color: var(--white); opacity: .85; }
.case-facts + .zoomable .rounded { aspect-ratio: 16 / 9; }
.stats--compact strong { font-size: clamp(2rem, 1.6rem + 1.6vw, 3rem); }

/* ---------- Appel à l'action ---------- */
.cta-band .cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 2rem 4rem; align-items: center; }
.cta-band h2 { margin-bottom: .3em; }
.cta-band .lead { margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.75rem; }
.cta-band .cta-actions { justify-content: flex-end; margin: 0; }
@media (max-width: 860px) {
    .cta-band .cta-inner { grid-template-columns: 1fr; }
    .cta-band .cta-actions { justify-content: flex-start; }
}

/* ---------- Contenu des pages internes ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.5em; }
.prose > :first-child { margin-top: 0; }

.checklist { display: grid; gap: .75rem; margin: 1.25rem 0 1.75rem; list-style: none; }
.checklist li { position: relative; padding-left: 2.25rem; }
.checklist li::before {
    content: ""; position: absolute; left: 0; top: .15em;
    width: 1.5rem; height: 1.5rem; border-radius: 50%;
    background: var(--cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23004860' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 60% no-repeat;
}
.checklist--2 { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
@media (max-width: 640px) { .checklist--2 { grid-template-columns: 1fr; } }

.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.25rem 0 1.75rem; list-style: none; }
.chips li { padding: .55rem 1.1rem; border-radius: 999px; background: var(--ice); font-weight: 500; font-size: .98rem; }
.section--dark .chips li { background: rgba(255, 255, 255, .1); }

.question-list { display: grid; gap: .9rem; margin: 0 0 2rem; list-style: none; }
.question-list li {
    padding: 1.1rem 1.4rem; border-radius: var(--radius-sm);
    background: var(--ice); border-left: 4px solid var(--cyan);
    font-size: 1.08rem; font-style: italic;
}
.section--dark .question-list li { background: rgba(255, 255, 255, .08); }

.cert-note {
    display: flex; gap: 1.25rem; align-items: flex-start;
    margin-top: 2.5rem; padding: 1.5rem 1.75rem; border-radius: var(--radius-sm);
    border: 1px solid var(--line);
}
.cert-note .icon { color: var(--cyan-strong); width: 2rem; height: 2rem; }
.cert-note p { margin: 0; }

/* ---------- Coordonnées ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }

.info-card { padding: 2rem; border-radius: var(--radius); background: var(--teal); color: var(--white); }
.info-card h2, .info-card h3 { font-size: 1.4rem; margin-bottom: 1rem; }
.info-card ul { display: grid; gap: .9rem; list-style: none; }
.info-card li, .info-card address { display: flex; gap: .8rem; align-items: flex-start; }
.info-card .icon { color: var(--cyan); margin-top: .15rem; }
.info-card a { text-decoration: none; }
.info-card a:hover { color: var(--cyan); }
.info-card + .info-card { margin-top: 1rem; }
.info-card--light { background: var(--ice); color: var(--teal); }
.info-card--light .icon { color: var(--cyan-strong); }

/* ---------- Formulaire ---------- */
.form-card { padding: clamp(1.5rem, 4vw, 3rem); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); color: var(--teal); }
.form-card h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-size: .92rem; font-weight: 600; }
.field label .req { color: var(--cyan-strong); }
.field input, .field select, .field textarea {
    width: 100%; padding: .9rem 1.1rem;
    border: 1.5px solid var(--line); border-radius: 12px; background: var(--white);
    font: inherit; font-size: 1rem; color: var(--teal);
    transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field select {
    appearance: none; padding-right: 2.75rem;
    background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23004860' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 1rem center / 1.1rem no-repeat;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(76, 193, 234, .25); }
.field.has-error input, .field.has-error textarea { border-color: #c2410c; }
.field-error { font-size: .85rem; color: #c2410c; }
.check { display: flex; gap: .75rem; align-items: flex-start; font-size: .95rem; line-height: 1.45; cursor: pointer; }
.check input { flex: none; width: 1.25rem; height: 1.25rem; margin-top: .1rem; accent-color: var(--teal); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.form-footer small { color: var(--ink-muted); }
.form-status { margin-top: 1.25rem; padding: 1rem 1.25rem; border-radius: 12px; font-weight: 500; }
.form-status[hidden] { display: none; }
.form-status.is-error { background: #fff1ea; color: #9a3412; }
.form-success { text-align: center; padding: 2rem 0; }
.form-success .icon { width: 4rem; height: 4rem; margin: 0 auto 1rem; padding: .9rem; border-radius: 50%; background: var(--cyan); color: var(--teal); }
.btn[disabled] { opacity: .6; pointer-events: none; }
.cf-turnstile { margin-top: 1.25rem; }

/* ---------- Pied de page ---------- */
.site-footer {
    position: relative; overflow: hidden;
    padding: clamp(4rem, 8vw, 6.5rem) 0 2rem;
    background: var(--teal-deep) url("../img/fond-degrade.webp") center / cover no-repeat;
    color: var(--white);
}
.site-footer::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 48, 63, .55), rgba(0, 48, 63, .35)); }
.site-footer .container { position: relative; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 3rem; }
.footer-brand img { width: auto; height: 64px; margin-bottom: 1.5rem; }
.footer-tagline { font-size: 1.4rem; font-weight: 600; margin-bottom: .5rem; }
.footer-brand p:not(.footer-tagline) { max-width: 420px; opacity: .85; font-size: .98rem; }
.footer-title { margin-bottom: 1.1rem; font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.footer-col ul { display: grid; gap: .6rem; list-style: none; }
.footer-col a { text-decoration: none; opacity: .9; transition: color .2s, opacity .2s; }
.footer-col a:hover { color: var(--cyan); opacity: 1; }
.footer-col address { margin-bottom: 1rem; line-height: 1.55; }
.footer-contact li { display: flex; white-space: nowrap; }
.footer-contact a { display: inline-flex; align-items: center; gap: .5rem; }
.social { display: flex; gap: .75rem; margin-top: 1.5rem; }
.social a {
    display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
    border: 1px solid var(--line-light); transition: background-color .2s, color .2s, border-color .2s;
}
.social a:hover { background: var(--cyan); border-color: var(--cyan); color: var(--teal); }
.social .icon { width: 1.2rem; height: 1.2rem; }
.footer-division {
    display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem;
    margin-top: 3.5rem; padding: 1.5rem 1.75rem; border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .07); border: 1px solid var(--line-light);
}
.footer-division img { height: 26px; width: auto; }
.footer-division p { flex: 1; min-width: 220px; margin: 0; opacity: .9; }
.footer-bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
    margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-light);
    font-size: .9rem; opacity: .85;
}
.footer-bottom p { margin: 0; }
.to-top { text-decoration: none; }
.to-top:hover { color: var(--cyan); }
@media (max-width: 1080px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-top { grid-template-columns: 1fr; gap: 2.25rem; } }

/* ---------- Agrandissement des photos ---------- */
.zoomable { display: block; overflow: hidden; border-radius: var(--radius); cursor: zoom-in; }
.zoomable img { transition: transform .5s var(--ease); }
.zoomable:hover img { transform: scale(1.03); }
.zoomable:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.lightbox {
    width: 100vw; height: 100vh; max-width: none; max-height: none;
    margin: 0; padding: 0; border: 0; background: transparent; color: var(--white);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(0, 32, 43, .94); }
.lightbox figure { display: grid; justify-items: center; gap: 1rem; margin: 0; padding: 5rem 6rem 2rem; }
.lightbox img { width: auto; max-width: min(100%, 1100px); max-height: calc(100vh - 10rem); border-radius: var(--radius-sm); }
.lightbox figcaption { max-width: 60ch; text-align: center; font-size: .95rem; opacity: .85; }
.lightbox-btn {
    position: absolute; display: grid; place-items: center; width: 52px; height: 52px;
    border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: var(--white); cursor: pointer;
    transition: background .2s, color .2s;
}
.lightbox-btn:hover, .lightbox-btn:focus-visible { background: var(--cyan); color: var(--teal); outline: none; }
.lightbox-close { top: 1.25rem; right: 1.25rem; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 1.25rem; }
.lightbox-next { right: 1.25rem; }
.lightbox-prev .icon { transform: rotate(180deg); }
.lightbox-btn[hidden] { display: none; }
body.lightbox-open { overflow: hidden; }
@media (max-width: 640px) {
    .lightbox figure { padding: 4.5rem 1rem 6.5rem; }
    .lightbox img { max-height: calc(100vh - 13rem); }
    .lightbox-prev, .lightbox-next { top: auto; bottom: 1.25rem; transform: none; }
    .lightbox-prev { left: calc(50% - 64px); }
    .lightbox-next { right: calc(50% - 64px); }
}

/* ---------- 404 ---------- */
.error-code { font-size: clamp(6rem, 4rem + 10vw, 12rem); line-height: 1; font-weight: 600; color: var(--cyan); margin-bottom: .1em; }

/* ---------- Apparition au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}
