/* =========================================================
   SEESMILE · PROVENCEVET — shared.css
   DA "Architecture & Précision" : tout carré (0 radius),
   grille bordée apparente, motif d'arches (pont d'Avignon),
   fond papier chaud. Palette rouge (accent) / marine (base).
   Typo : Poppins.
   ========================================================= */

:root {
    /* Couleurs */
    --red:        #E63329;
    --red-dark:   #C0271E;
    --red-soft:   #FBE7E5;
    --navy:       #1B3A4B;
    --navy-dark:  #122833;
    --navy-soft:  #EEF3F5;
    --ink:        #152229;
    --muted:      #5C6B72;
    --paper:      #FFFFFF;   /* fond principal : blanc */
    --paper-2:    #F7F8F9;   /* alternance très légère (gris froid quasi blanc) */
    --paper-3:    #EEF1F3;
    --line:       #E2E6E9;   /* filets : gris clair discret (plus de marine plein) */
    --line-soft:  #ECEFF1;
    --white:      #FFFFFF;

    /* Alias génériques (compatibilité socle Seesmile) */
    --teal:       var(--red);
    --teal-dark:  var(--red-dark);
    --sage:       var(--navy);
    --sage-light: var(--navy-soft);
    --cream:      var(--paper);
    --cream-warm: var(--paper-2);

    /* Typo */
    --font-title: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body:  'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Layout */
    --container: 1280px;
    --narrow:    760px;
    --bw:        1px;            /* épaisseur des filets : fine */
    --ease:      cubic-bezier(0.16, 0.8, 0.3, 1);

    --shadow-soft: 0 6px 24px rgba(18,40,51,.06);
    --shadow-card: 0 10px 30px rgba(18,40,51,.08);
}

/* ---- Reset & fondations ---- */
*, *::before, *::after { box-sizing: border-box; border-radius: 0; }
html, body {
    width: 100%;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.62;
    color: var(--ink);
    background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.022em;
    color: var(--navy);
    margin: 0;
}

::selection { background: var(--red); color: #fff; }

/* ---- Conteneurs ---- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.container--narrow { max-width: var(--narrow); }
.text-center { text-align: center; }

/* ---- Sections ---- */
.section { padding: 96px 0; position: relative; }
.section--dark { background: var(--navy); color: #fff; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

/* ---- Kicker / tag de section (éditorial, numéroté) ---- */
.section-tag,
.hero-eyebrow,
.prefooter-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.74rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--red);
    margin: 0 0 22px;
}
/* Trait en arche, clin d'œil au Pont d'Avignon */
.section-tag::before,
.hero-eyebrow::before,
.prefooter-tag::before {
    content: "";
    width: 34px;
    height: 11px;
    flex-shrink: 0;
    border: var(--bw) solid var(--red);
    border-bottom: none;
    border-radius: 34px 34px 0 0 !important;
    display: inline-block;
}
/* Variante centrée : le kicker se centre dans son conteneur */
.section-tag--center, .text-center > .section-tag,
.section-tag.text-center, .hero-eyebrow.text-center,
.hero-page--center .section-tag, .hero-page--center .hero-eyebrow {
    justify-content: center;
    display: flex;
}
.section-tag--light, .section--dark .section-tag { color: #fff; }
.section--dark .section-tag::before { border-color: #fff; }

/* ---- Titres de section ---- */
.section-title {
    font-size: clamp(1.9rem, 3.4vw, 2.9rem);
    margin: 0 0 22px;
    max-width: 22ch;
}
/* Titre centré : on centre aussi le bloc (sinon il reste calé à gauche) */
.section-title.text-center, .text-center > .section-title {
    margin-left: auto;
    margin-right: auto;
}

/* ---- Boutons (carrés, anguleux) ---- */
.btn-primary, .btn-secondary, .btn-ghost, .btn-ghost-dark {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    padding: 17px 32px;
    border: var(--bw) solid var(--red);
    transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
    cursor: pointer;
    text-align: center;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

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

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

.btn-ghost-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost-dark:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* Liens fléchés */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--red);
    padding-bottom: 3px;
    border-bottom: var(--bw) solid var(--red);
    transition: gap .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.link-arrow::after { content: "→"; }
.link-arrow:hover { gap: 15px; color: var(--navy); border-color: var(--navy); }

/* ---- Grilles utilitaires ---- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }

/* =========================================================
   MOTIF ARCHES (pont d'Avignon) — signature ProvenceVet
   Utilisé en séparateur de sections et en décor.
   ========================================================= */
.arches {
    display: flex;
    align-items: flex-end;
    height: 58px;
    width: 100%;
}
.arch-unit {
    flex: 1;
    height: 100%;
    border: var(--bw) solid var(--line);
    border-bottom: none;
    border-right: none;
    position: relative;
}
.arch-unit:last-child { border-right: var(--bw) solid var(--line); }
.arch-unit::before {
    /* la "voûte" : un quart-de-cercle dessiné en bordure haute */
    content: "";
    position: absolute;
    inset: 0;
    border-top: var(--bw) solid transparent;
}
.arch-unit--red { border-color: var(--red); }
.arch-unit--red:last-child { border-right-color: var(--red); }
.arches--light .arch-unit { border-color: rgba(255,255,255,.32); }
.arches--light .arch-unit:last-child { border-right-color: rgba(255,255,255,.32); }

/* Séparateur d'arches pleine largeur (paw-divider réutilisé) */
.arch-divider { width: 100%; overflow: hidden; line-height: 0; }
.arch-divider svg { display: block; width: 100%; height: auto; }

/* ---- Reveal animations (sobres, sans déplacement de layout fort) ---- */
.reveal, .reveal-left, .reveal-right, .reveal-fade {
    opacity: 0;
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    will-change: opacity, transform;
}
.reveal { transform: translateY(22px); }
.reveal-left { transform: translateX(-26px); }
.reveal-right { transform: translateX(26px); }
.reveal-fade { transform: none; }
.reveal.is-visible, .reveal-left.is-visible, .reveal-right.is-visible, .reveal-fade.is-visible {
    opacity: 1;
    transform: none;
}
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }
.delay-4 { transition-delay: .32s; }
.delay-5 { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; transition: none; }
}

/* ---- Icônes inline ---- */
.ssicon { width: 24px; height: 24px; display: inline-block; vertical-align: middle; stroke: currentColor; fill: none; }

/* ---- Accessibilité ---- */
.screen-reader-text {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 100000;
    background: var(--navy); color: #fff; padding: 12px 20px; font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---- Barre de progression scroll ---- */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 0;
    background: var(--red); z-index: 9999; transition: width .1s linear;
}

/* =========================================================
   TOPBAR
   ========================================================= */
.topbar {
    background: var(--navy-dark);
    color: rgba(255,255,255,.85);
    font-size: 0.8rem;
    border-bottom: var(--bw) solid var(--red);
}
.topbar-inner {
    max-width: 100%;
    margin: 0 auto;
    padding: 9px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.topbar-tagline { display: inline-flex; align-items: center; gap: 9px; letter-spacing: 0.02em; }
.topbar-paw .ssicon { width: 17px; height: 17px; color: var(--red); }
.topbar-links { display: flex; gap: 0; }
.topbar-links a {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 5px 16px;
    border-left: var(--bw) solid rgba(255,255,255,.16);
    color: rgba(255,255,255,.85);
    font-weight: 500;
    transition: color .2s var(--ease), background .2s var(--ease);
}
.topbar-links a:last-child { border-right: var(--bw) solid rgba(255,255,255,.16); }
.topbar-links a:hover { color: #fff; background: rgba(255,255,255,.06); }
.topbar-links .ssicon { width: 15px; height: 15px; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
    position: sticky; top: 0; z-index: 900;
    background: var(--paper);
    border-bottom: var(--bw) solid var(--line);
    transition: box-shadow .25s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--navy), 0 6px 22px rgba(18,40,51,.10); }
.header-inner {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 84px;
}
.header-inner--full { max-width: 100%; }

/* Logo */
.site-branding { display: flex; align-items: center; flex-shrink: 0; }
.custom-logo, .custom-logo-link img { max-height: 56px; width: auto; }
.site-logo-text { display: inline-flex; align-items: center; gap: 11px; }
.logo-mark {
    width: 38px; height: 38px; background: var(--red); color: #fff;
    display: grid; place-items: center; font-weight: 700; font-size: 1.3rem;
}
.logo-words { font-family: var(--font-title); font-weight: 700; font-size: 1.3rem; color: var(--navy); letter-spacing: -.02em; }

/* Actions header */
.header-actions { display: flex; align-items: center; gap: 0; flex-shrink: 0; }
.header-phone {
    display: inline-flex; align-items: center; gap: 9px;
    font-weight: 600; font-size: 0.92rem; color: var(--navy);
    padding: 12px 18px; border: var(--bw) solid var(--line); border-right: none;
    transition: background .2s var(--ease), color .2s var(--ease);
}
.header-phone:hover { background: var(--navy); color: #fff; }
.header-phone .phone-icon { color: var(--red); }
.header-phone:hover .phone-icon { color: #fff; }
.btn-rdv { padding: 13px 24px; font-size: 0.9rem; }

/* =========================================================
   MEGA MENU (desktop)
   ========================================================= */
.main-nav { flex: 1; display: flex; justify-content: center; }
.mega-nav { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; }
.mega-item { position: relative; }
.mega-item > a {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 30px 20px;
    font-family: var(--font-title); font-weight: 500; font-size: 0.96rem; color: var(--navy);
    transition: color .2s var(--ease);
    position: relative;
}
.mega-item > a::after {
    content: ""; position: absolute; left: 20px; right: 20px; bottom: 22px; height: var(--bw);
    background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.mega-item:hover > a { color: var(--red); }
.mega-item:hover > a::after { transform: scaleX(1); }
.mega-caret { font-size: 0.65rem; transition: transform .25s var(--ease); }
.mega-item:hover .mega-caret { transform: rotate(180deg); }

/* Panneau */
.mega-panel {
    position: absolute; top: 100%; left: 0;
    background: var(--paper);
    border: var(--bw) solid var(--line);
    min-width: 440px;
    display: grid; grid-template-columns: 1fr;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
    z-index: 950;
}
.mega-panel--wide { min-width: 860px; grid-template-columns: 1fr 1fr 1fr 1.1fr; }
.mega-item:hover .mega-panel { opacity: 1; visibility: visible; transform: translateY(0); }

.mega-col { padding: 26px 24px; border-right: var(--bw) solid var(--line-soft); }
.mega-col:last-child { border-right: none; }
.megamenu-title {
    display: block; font-family: var(--font-title); font-weight: 600;
    font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--red); margin-bottom: 16px; padding-bottom: 10px;
    border-bottom: var(--bw) solid var(--line-soft);
}
.mega-col > a {
    display: block; padding: 9px 0;
    color: var(--navy); font-weight: 500; font-size: 0.95rem;
    transition: color .18s var(--ease), padding-left .18s var(--ease);
}
.mega-col > a:hover { color: var(--red); padding-left: 8px; }
.mm-link-t { display: block; font-weight: 600; }
.mm-link-d { display: block; font-weight: 400; font-size: 0.8rem; color: var(--muted); margin-top: 1px; }

/* Colonne visuelle */
.mega-col--visual {
    position: relative; overflow: hidden; min-height: 220px;
    display: flex; align-items: flex-end; padding: 0;
    background-size: cover; background-position: center; background-color: var(--navy);
}
.mega-visual-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,40,51,.15), rgba(18,40,51,.9)); }
.mega-visual-content { position: relative; z-index: 2; padding: 22px 24px; width: 100%; }
.mega-col--visual .megamenu-title { color: #fff; border-color: rgba(255,255,255,.3); }
.mega-cta { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 600; font-size: 0.9rem; }
.mega-col--visual:hover .mega-cta { color: var(--red); }

/* =========================================================
   MOBILE NAV
   ========================================================= */
.burger {
    display: none; width: 48px; height: 48px;
    border: var(--bw) solid var(--line); background: transparent;
    flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    margin-left: 0;
}
.burger span { width: 22px; height: 2px; background: var(--navy); transition: transform .25s var(--ease), opacity .2s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
    position: fixed; inset: 0; z-index: 1000;
    background: var(--paper);
    padding: 90px 0 30px;
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    overflow-y: auto;
    visibility: hidden;
}
.mobile-nav.is-open { transform: translateX(0); visibility: visible; }
.mobile-nav-list { list-style: none; margin: 0; padding: 0; border-top: var(--bw) solid var(--line); }
.mobile-nav-list > li { border-bottom: var(--bw) solid var(--line-soft); }
.mobile-nav-list > li > a, .mobile-accordion-trigger {
    display: flex; align-items: center; justify-content: space-between; width: 100%;
    padding: 18px 28px; font-family: var(--font-title); font-weight: 600; font-size: 1.1rem;
    color: var(--navy); background: transparent; border: none; text-align: left;
}
.mobile-accordion-trigger .acc-chevron { font-size: 1.4rem; color: var(--red); transition: transform .25s var(--ease); }
.mobile-accordion.is-open .acc-chevron { transform: rotate(45deg); }
.mobile-accordion-panel {
    max-height: 0; overflow: hidden; transition: max-height .3s var(--ease);
    background: var(--paper-2);
}
.mobile-accordion.is-open .mobile-accordion-panel { max-height: 600px; }
.mobile-accordion-panel a {
    display: block; padding: 13px 40px; font-weight: 500; font-size: 0.98rem;
    color: var(--navy); border-bottom: var(--bw) solid var(--line-soft);
}
.mobile-accordion-panel a:last-child { border-bottom: none; }
.mobile-nav-cta { display: flex; flex-direction: column; gap: 0; padding: 24px 28px 0; }
.mobile-nav-cta .btn-primary, .mobile-nav-cta .btn-secondary { width: 100%; justify-content: center; }
.mobile-nav-cta .btn-secondary { border-top: none; }

/* =========================================================
   HERO D'ACCUEIL — grille architecturale (gauche texte / droite arches+stats)
   ========================================================= */
.hero-home {
    background: var(--navy);
    color: #fff;
    border-bottom: 3px solid var(--red);
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 84px - 35px); /* viewport - header - topbar */
    display: flex;
    flex-direction: column;
}
.hero-home-grid {
    max-width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: 1.45fr 0.9fr;
    flex: 1;
    min-height: 0;
}
.hero-home-left {
    padding: 64px 7vw 64px 7vw;
    display: flex; flex-direction: column; justify-content: center;
    border-right: var(--bw) solid rgba(255,255,255,.18);
}
.hero-home-left .hero-eyebrow { color: #fff; }
.hero-home-left .hero-eyebrow::before { background: var(--red); }
.hero-home-title {
    color: #fff;
    font-size: clamp(2.3rem, 4.6vw, 4rem);
    font-weight: 700;
    margin: 22px 0;
    letter-spacing: -.025em;
}
.hero-home-title .red { color: var(--red); }
.hero-home-lead {
    color: rgba(255,255,255,.82);
    font-size: clamp(1rem, 1.4vw, 1.12rem);
    font-weight: 300;
    max-width: 50ch;
    margin: 0;
}
.hero-home-cta { display: flex; gap: 0; margin-top: 36px; flex-wrap: wrap; }
.hero-home-cta .btn-ghost-dark { border-left: none; }

/* Colonne droite : arches + stats empilées */
.hero-home-right { background: var(--navy-dark); display: flex; flex-direction: column; }
.hero-home-arches { flex: 1; display: flex; align-items: flex-end; min-height: 200px; padding: 0; }
.hero-home-arches svg { width: 100%; height: 100%; display: block; }
.hero-home-stat {
    border-top: var(--bw) solid rgba(255,255,255,.18);
    padding: 22px 28px;
    display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
}
.hero-home-stat .v { font-family: var(--font-title); font-size: 1.9rem; font-weight: 700; color: #fff; line-height: 1; }
.hero-home-stat .v small { font-size: .9rem; color: var(--red); font-weight: 600; }
.hero-home-stat .l { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,.6); text-align: right; }

/* Barre de badges sous le hero */
.hero-badges {
    list-style: none; margin: 0; padding: 0;
    max-width: 100%;
    margin: 0;
    display: grid; grid-template-columns: repeat(3, 1fr);
    border-top: var(--bw) solid rgba(255,255,255,.18);
    flex-shrink: 0;
}
.hero-badge {
    display: flex; align-items: center; gap: 12px;
    padding: 20px 7vw;
    font-weight: 500; font-size: 0.9rem; color: #fff;
    border-right: var(--bw) solid rgba(255,255,255,.18);
}
.hero-badge:last-child { border-right: none; }
.hero-badge .ssicon { width: 22px; height: 22px; color: var(--red); flex-shrink: 0; }
.hero-badge--urgent { background: var(--red); }
.hero-badge--urgent .ssicon { color: #fff; }
.hero-badge--urgent a { color: #fff; font-weight: 700; }
.hero-badge--urgent a:hover { text-decoration: underline; }
.hero-badge-dot {
    width: 9px; height: 9px; background: #fff; flex-shrink: 0;
    animation: seesmile-pulse 1.8s infinite;
}
@keyframes seesmile-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.6); } 70% { box-shadow: 0 0 0 9px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
@media (prefers-reduced-motion: reduce) { .hero-badge-dot { animation: none; } }

/* =========================================================
   HERO PAGES INTÉRIEURES
   ========================================================= */
.hero-page {
    background: var(--navy); color: #fff; position: relative; overflow: hidden;
    border-bottom: 3px solid var(--red);
}
.hero-page-bg { position: absolute; inset: 0; z-index: 0; opacity: .28; }
.hero-page-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-page-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(18,40,51,.6), rgba(18,40,51,.92)); }
.hero-page-inner { position: relative; z-index: 2; max-width: var(--container); margin: 0 auto; padding: 84px 28px; }
.hero-page--center .hero-page-inner { text-align: center; }
.hero-page--center .section-tag, .hero-page--center .hero-eyebrow { justify-content: center; }
.hero-page-title { color: #fff; font-size: clamp(2.1rem, 4vw, 3.4rem); margin: 0 0 16px; max-width: 20ch; }
.hero-page--center .hero-page-title { margin-left: auto; margin-right: auto; }
.hero-page-sub { color: rgba(255,255,255,.82); font-size: 1.08rem; font-weight: 300; max-width: 60ch; }
.hero-page--center .hero-page-sub { margin: 0 auto; }
.hero-page-actions { display: flex; gap: 0; margin-top: 30px; flex-wrap: wrap; }
.hero-page--center .hero-page-actions { justify-content: center; }

/* =========================================================
   PÔLES (accueil) — grille bordée, hover plein
   ========================================================= */
.poles .section-title { max-width: 28ch; }
.poles-grid { gap: 20px; margin-top: 40px; }
.pole-card {
    display: flex; flex-direction: column; align-items: flex-start;
    padding: 32px 28px;
    border: var(--bw) solid var(--line);
    background: var(--paper); color: var(--navy);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
    position: relative; min-height: 210px;
}
.pole-card:hover { box-shadow: var(--shadow-card); border-color: var(--red); }
.pole-icon { width: 52px; height: 52px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; margin-bottom: 20px; transition: background .25s, color .25s; }
.pole-icon .ssicon { width: 26px; height: 26px; }
.pole-card:hover .pole-icon { background: var(--red); color: #fff; }
.pole-name { font-family: var(--font-title); font-weight: 700; font-size: 1.2rem; margin-bottom: 9px; }
.pole-desc { font-size: 0.9rem; font-weight: 300; color: var(--muted); margin-top: auto; }

/* =========================================================
   STATS + TICKER
   ========================================================= */
.stats-section { background: var(--navy-dark); color: #fff; padding: 0; position: relative; overflow: hidden; }
.stats-section .blobs { display: none; } /* on supprime les blobs organiques de l'ancienne DA */
.stats-grid { border-top: var(--bw) solid rgba(255,255,255,.18); }
.stat-card {
    padding: 46px 28px; text-align: left;
    border-right: var(--bw) solid rgba(255,255,255,.18);
    display: flex; flex-direction: column; gap: 8px;
}
.stat-card:last-child { border-right: none; }
.stat-number { font-family: var(--font-title); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; color: #fff; display: flex; align-items: baseline; }
.stat-suffix { color: var(--red); font-size: .6em; margin-left: 3px; }
.stat-label { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,.6); }

.ticker { border-top: var(--bw) solid rgba(255,255,255,.18); overflow: hidden; padding: 16px 0; }
.ticker-track { display: flex; gap: 0; white-space: nowrap; animation: ticker-scroll 30s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { font-family: var(--font-title); font-weight: 600; font-size: 0.92rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,.78); padding: 0 22px; }
.ticker-sep { color: var(--red); }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* =========================================================
   PRÉSENTATION (accueil) — texte / média, encadrés
   ========================================================= */


/* =========================================================
   ÉQUIPE / TEAM
   ========================================================= */
.team .section-title, .equipe-page .section-title { max-width: 26ch; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: var(--bw) solid var(--line); border-left: var(--bw) solid var(--line); margin-top: 36px; }
.team-card {
    border-right: var(--bw) solid var(--line); border-bottom: var(--bw) solid var(--line);
    background: var(--paper); display: flex; flex-direction: column;
    transition: background .25s var(--ease);
}
.team-card:hover { background: var(--paper-2); }
.team-photo { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--navy); border-bottom: var(--bw) solid var(--line); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .35s var(--ease); }
.team-card:hover .team-photo img { filter: grayscale(0); }
.team-initials, .team-initials--lg {
    width: 100%; height: 100%; display: grid; place-items: center;
    background: var(--navy); color: #fff; font-family: var(--font-title); font-weight: 700; font-size: 2.4rem;
}
.team-pattern { display: none; }
.team-card .team-name, .team-name { font-family: var(--font-title); font-weight: 700; font-size: 1.12rem; color: var(--navy); padding: 18px 22px 4px; }
.team-role { font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--red); padding: 0 22px 20px; font-weight: 600; }
.team-more { text-align: center; margin-top: 36px; }

/* =========================================================
   CARTES GÉNÉRIQUES (blog, liens)
   ========================================================= */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: var(--bw) solid var(--line); border-left: var(--bw) solid var(--line); }
.card {
    border-right: var(--bw) solid var(--line); border-bottom: var(--bw) solid var(--line);
    background: var(--paper); display: flex; flex-direction: column;
    transition: background .25s var(--ease);
}
.card:hover { background: var(--paper-2); }
.card-thumb { aspect-ratio: 16/10; overflow: hidden; border-bottom: var(--bw) solid var(--line); background: var(--paper-2); }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.card:hover .card-thumb img { transform: scale(1.04); }
.card-cat { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); font-weight: 600; padding: 18px 22px 0; }
.card-title { font-family: var(--font-title); font-weight: 700; font-size: 1.16rem; color: var(--navy); padding: 8px 22px; }
.card-excerpt { font-size: 0.9rem; color: var(--muted); font-weight: 300; padding: 0 22px 22px; margin-top: auto; }

/* Cartes liens (guide proprio/véto) */
.link-card { padding: 34px 30px; border: var(--bw) solid var(--line); background: var(--paper); transition: background .25s var(--ease), color .25s var(--ease); }
.link-card:hover { background: var(--navy); color: #fff; }
.link-card-title { font-family: var(--font-title); font-weight: 700; font-size: 1.3rem; color: var(--navy); margin-bottom: 10px; }
.link-card:hover .link-card-title { color: #fff; }

/* =========================================================
   AVIS — voir le bloc "CARROUSEL AVIS" plus bas (colonnes verticales supprimées)
   ========================================================= */
@keyframes avis-scroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }


/* =========================================================
   FAQ — accordéon carré
   ========================================================= */
.faq-home { background: var(--paper); padding: 96px 0; }
.faq-home-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; }
.faq-home-intro { display: flex; flex-direction: column; }
.faq-home-intro p { color: var(--muted); font-weight: 300; margin-bottom: 26px; }
.faq-home-intro .btn-secondary { margin-top: 8px; align-self: flex-start; }
.faq-list { display: flex; flex-direction: column; border-top: var(--bw) solid var(--line); }
.faq-item { border-bottom: var(--bw) solid var(--line); }
.faq-question {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
    padding: 22px 4px; background: transparent; border: none; text-align: left;
    font-family: var(--font-title); font-weight: 600; font-size: 1.02rem; color: var(--navy);
    transition: color .2s var(--ease);
}
.faq-question:hover { color: var(--red); }
.faq-chevron { font-size: 1.5rem; color: var(--red); flex-shrink: 0; line-height: 1; transition: transform .25s var(--ease); }
.faq-item.is-open .faq-chevron { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq-item.is-open .faq-answer { max-height: 400px; }
.faq-answer p { padding: 0 4px 24px; margin: 0; color: var(--muted); font-size: 0.95rem; }

/* =========================================================
   RÉFÉRER UN PATIENT — "dossier de référé" carré
   ========================================================= */
.referer-section { background: var(--navy); color: #fff; border-top: 3px solid var(--red); padding: 0; }
.referer-grid { display: grid; grid-template-columns: 1fr 1fr; max-width: var(--container); margin: 0 auto; align-items: stretch; }
.referer-text { padding: 64px 48px; border-right: var(--bw) solid rgba(255,255,255,.18); display: flex; flex-direction: column; justify-content: center; }
.referer-text .section-tag { color: #fff; }
.referer-text .section-tag::before { border-color: #fff; }
.referer-text .section-title { color: #fff; }
.referer-text > p { color: rgba(255,255,255,.8); font-weight: 300; max-width: 44ch; }
.referer-points { list-style: none; margin: 28px 0 0; padding: 0; }
.referer-points li { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: var(--bw) solid rgba(255,255,255,.14); font-size: 0.96rem; }
.referer-points li:last-of-type { border-bottom: none; }
.referer-check { width: 34px; height: 34px; border: var(--bw) solid var(--red); color: var(--red); display: grid; place-items: center; flex-shrink: 0; }
.referer-check .ssicon { width: 18px; height: 18px; }
.referer-text .btn-primary { margin-top: 28px; align-self: flex-start; }

/* Maquette "dossier" */
.referer-form-demo { background: var(--navy-dark); display: flex; flex-direction: column; align-items: stretch; justify-content: center; height: 100%; padding: 50px 48px; }
.rf-window { width: 100%; }
.rf-body { width: 100%; border: var(--bw) solid rgba(255,255,255,.24); }
.rf-bar { display: flex; align-items: center; gap: 9px; padding: 14px 18px; border-bottom: var(--bw) solid rgba(255,255,255,.18); }
.rf-dot { width: 10px; height: 10px; background: rgba(255,255,255,.3); }
.rf-dot:nth-child(1){ background: var(--red); }
.rf-url { margin-left: auto; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.rf-field { padding: 16px 20px; border-bottom: var(--bw) solid rgba(255,255,255,.12); }
.rf-label { display: block; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 7px; }
.rf-input { display: block; min-height: 22px; font-size: 1rem; color: #fff; font-weight: 500; }
.rf-input::before { content: attr(data-typed); }
.rf-input.is-active { border-bottom: 2px solid var(--red); padding-bottom: 4px; }
.rf-input.is-typing::after { content: ""; display: inline-block; width: 9px; height: 17px; background: var(--red); vertical-align: -3px; margin-left: 2px; animation: rf-blink 1s steps(2) infinite; }
@keyframes rf-blink { 50% { opacity: 0; } }
.rf-submit { width: 100%; border: none; border-top: var(--bw) solid rgba(255,255,255,.24); padding: 18px; background: var(--red); color: #fff; font-family: var(--font-title); font-weight: 600; transition: background .2s var(--ease); }
.rf-submit:hover { background: var(--red-dark); }
.rf-check { color: #fff; }

/* =========================================================
   INFOS BAND (accueil)
   ========================================================= */
.infos-band { padding: 0; background: var(--paper); }
.infos-grid { border-top: var(--bw) solid var(--line); border-bottom: var(--bw) solid var(--line); }
.info-card { padding: 40px 30px; border-right: var(--bw) solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.info-card:last-child { border-right: none; }
.info-icon { width: 44px; height: 44px; border: var(--bw) solid var(--red); color: var(--red); display: grid; place-items: center; margin-bottom: 6px; }
.info-icon .ssicon { width: 22px; height: 22px; }
.info-label { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.info-value { font-size: 0.98rem; color: var(--navy); font-weight: 500; }

/* =========================================================
   PREFOOTER + FOOTER
   ========================================================= */
.prefooter-cta { position: relative; background: var(--red); color: #fff; padding: 72px 0; overflow: hidden; text-align: center; }
.prefooter-cta--image .prefooter-bg { position: absolute; inset: 0; z-index: 0; opacity: .2; }
.prefooter-cta--image .prefooter-bg img { width: 100%; height: 100%; object-fit: cover; }
.prefooter-overlay { position: absolute; inset: 0; z-index: 1; background: var(--red); opacity: .8; }
.prefooter-inner { position: relative; z-index: 2; }
.prefooter-tag { color: #fff; justify-content: center; }
.prefooter-tag::before { border-color: #fff; }
.prefooter-title { font-family: var(--font-title); font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 2.8rem); color: #fff; margin: 0 0 30px; letter-spacing: -.02em; }
.prefooter-actions { display: flex; gap: 0; justify-content: center; flex-wrap: wrap; }
.prefooter-actions .btn-ghost-dark { background: rgba(255,255,255,.12); }

.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.78); }
.footer-grid { max-width: 100%; margin: 0; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; border-left: var(--bw) solid rgba(255,255,255,.14); }
.footer-col { padding: 48px 32px; border-right: var(--bw) solid rgba(255,255,255,.14); }
.footer-col--hidden-dup { display: none; }
.footer-logo-text { font-family: var(--font-title); font-weight: 700; font-size: 1.5rem; color: #fff; display: block; margin-bottom: 16px; }
.footer-brand .custom-logo, .footer-brand img { max-height: 54px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-desc { font-size: 0.9rem; font-weight: 300; line-height: 1.7; }
.footer-social { display: flex; gap: 0; margin-top: 20px; }
.footer-social a { width: 40px; height: 40px; border: var(--bw) solid rgba(255,255,255,.3); display: grid; place-items: center; color: #fff; font-weight: 600; border-right: none; transition: background .2s, color .2s; }
.footer-social a:last-child { border-right: var(--bw) solid rgba(255,255,255,.3); }
.footer-social a:hover { background: var(--red); border-color: var(--red); }
.footer-title { font-family: var(--font-title); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; margin: 0 0 18px; padding-bottom: 10px; border-bottom: var(--bw) solid rgba(255,255,255,.18); }
.footer-title--mt { margin-top: 28px; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: 11px; }
.footer-list a, .footer-list li { font-size: 0.9rem; transition: color .18s var(--ease), padding-left .18s var(--ease); }
.footer-list a:hover { color: #fff; padding-left: 6px; }
.footer-bottom { border-top: var(--bw) solid rgba(255,255,255,.14); }
.footer-bottom-inner { max-width: 100%; margin: 0; padding: 24px 48px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer-disclaimer { font-size: 0.76rem; color: rgba(255,255,255,.5); max-width: 60ch; font-weight: 300; }
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,.6); }

/* =========================================================
   BREADCRUMB
   ========================================================= */
.breadcrumb { max-width: var(--container); margin: 0 auto; padding: 16px 28px; font-size: 0.82rem; color: var(--muted); display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.breadcrumb a { color: var(--navy); font-weight: 500; }
.breadcrumb a:hover { color: var(--red); }
.bc-sep { color: var(--red); }
.bc-current, .breadcrumb .current { color: var(--muted); }

/* =========================================================
   SERVICES (page hub) — stack scroll
   ========================================================= */
.services-stack-section { padding: 0; }
.services-stack { max-width: var(--container); margin: 0 auto; }
.stack-card { border: var(--bw) solid var(--line); border-top: none; background: var(--paper); position: sticky; top: 84px; }
.stack-card:first-child { border-top: var(--bw) solid var(--line); }
.stack-card-inner { display: grid; grid-template-columns: 1fr 1fr; min-height: 420px; }
.stack-card-text { padding: 52px 46px; display: flex; flex-direction: column; justify-content: center; }
.stack-num { font-family: var(--font-title); font-weight: 700; font-size: 0.9rem; color: var(--red); letter-spacing: 0.1em; margin-bottom: 14px; }
.stack-ic { width: 54px; height: 54px; border: var(--bw) solid var(--red); color: var(--red); display: grid; place-items: center; margin-bottom: 20px; }
.stack-ic .ssicon { width: 28px; height: 28px; }
.stack-title { font-family: var(--font-title); font-weight: 700; font-size: 1.7rem; color: var(--navy); margin-bottom: 14px; }
.stack-desc { color: var(--muted); margin-bottom: 22px; }
.stack-links { display: flex; gap: 24px; flex-wrap: wrap; }
.stack-card-media { position: relative; border-left: var(--bw) solid var(--line); overflow: hidden; background: var(--navy); min-height: 420px; }
.stack-card-media img { width: 100%; height: 100%; object-fit: cover; }
.stack-media-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(18,40,51,.4), transparent); }

/* Services : cartes & hero icône (single + hub) */
.service-pole { padding: 70px 0 0; }
.service-pole-title { max-width: var(--container); margin: 0 auto 28px; padding: 0 28px; display: flex; align-items: center; gap: 16px; font-family: var(--font-title); font-weight: 700; font-size: 1.5rem; color: var(--navy); }
.service-card-grid, .expertise-grid, .approach-grid, .equip-grid, .lab-grid, .hospit-grid, .access-grid, .guide-actions, .histoire-grid, .sitemap-grid, .contact-grid, .conseil-filters { display: grid; }
.service-card { border: var(--bw) solid var(--line); background: var(--paper); padding: 30px 26px; transition: background .25s var(--ease), color .25s var(--ease); }
.service-card:hover { background: var(--navy); color: #fff; }
.service-icon, .service-hero-icon { width: 50px; height: 50px; border: var(--bw) solid var(--red); color: var(--red); display: grid; place-items: center; margin-bottom: 16px; }
.service-card:hover .service-icon { border-color: #fff; color: #fff; }
.service-card-title { font-family: var(--font-title); font-weight: 700; font-size: 1.15rem; color: var(--navy); margin-bottom: 8px; }
.service-card:hover .service-card-title { color: #fff; }
.service-card-desc { font-size: 0.9rem; color: var(--muted); font-weight: 300; }
.service-card:hover .service-card-desc { color: rgba(255,255,255,.78); }
.service-banner, .clinic-banner { background: var(--navy); color: #fff; padding: 40px; border: var(--bw) solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* =========================================================
   PLATEAU / ÉQUIPEMENT
   ========================================================= */
.plateau-seo { padding: 70px 0; }
.plateau-block { padding: 80px 0; }
.plateau-block--alt { background: var(--paper-2); }
.plateau-block--alt .plateau-media { background: var(--navy-dark); }
.plateau-head { padding: 0 0 8px; display: flex; flex-direction: column; max-width: 60ch; }
.plateau-num { font-family: var(--font-title); font-weight: 700; color: var(--red); font-size: 0.9rem; letter-spacing: 0.1em; margin-bottom: 12px; }
.equip-grid { grid-template-columns: repeat(3, 1fr); border-top: var(--bw) solid var(--line); border-left: var(--bw) solid var(--line); }
.equip-card { border-right: var(--bw) solid var(--line); border-bottom: var(--bw) solid var(--line); padding: 30px 26px; background: var(--paper); transition: background .25s; }
.equip-card:hover { background: var(--paper-2); }
.equip-icon { width: 48px; height: 48px; border: var(--bw) solid var(--red); color: var(--red); display: grid; place-items: center; margin-bottom: 16px; }
.equip-name { font-family: var(--font-title); font-weight: 700; font-size: 1.1rem; color: var(--navy); margin-bottom: 8px; }
.equip-desc { font-size: 0.88rem; color: var(--muted); font-weight: 300; }
.lab-grid { grid-template-columns: repeat(2, 1fr); border-top: var(--bw) solid var(--line); border-left: var(--bw) solid var(--line); }
.lab-item { border-right: var(--bw) solid var(--line); border-bottom: var(--bw) solid var(--line); padding: 22px 24px; display: flex; gap: 14px; align-items: flex-start; background: var(--paper); }
.lab-check { color: var(--red); flex-shrink: 0; }
.lab-name { font-weight: 600; color: var(--navy); }
.lab-desc { font-size: 0.86rem; color: var(--muted); }

/* =========================================================
   EXPERTISE / APPROCHE / STEPS
   ========================================================= */
.expertise-grid { grid-template-columns: repeat(3, 1fr); border-top: var(--bw) solid var(--line); border-left: var(--bw) solid var(--line); }
.expertise-card { border-right: var(--bw) solid var(--line); border-bottom: var(--bw) solid var(--line); padding: 32px 28px; background: var(--paper); }
.expertise-icon { width: 50px; height: 50px; border: var(--bw) solid var(--red); color: var(--red); display: grid; place-items: center; margin-bottom: 18px; }
.expertise-title { font-family: var(--font-title); font-weight: 700; font-size: 1.2rem; color: var(--navy); margin-bottom: 10px; }
.expertise-desc, .expertise-body { font-size: 0.9rem; color: var(--muted); font-weight: 300; }
.approach-grid { grid-template-columns: repeat(4, 1fr); border-top: var(--bw) solid var(--line); border-left: var(--bw) solid var(--line); }
.approach-step, .step-card { border-right: var(--bw) solid var(--line); border-bottom: var(--bw) solid var(--line); padding: 30px 26px; background: var(--paper); }
.approach-num, .step-num { font-family: var(--font-title); font-weight: 700; font-size: 2.2rem; color: var(--red); line-height: 1; margin-bottom: 14px; }
.approach-title, .step-title { font-family: var(--font-title); font-weight: 700; font-size: 1.1rem; color: var(--navy); margin-bottom: 8px; }
.step-desc { font-size: 0.88rem; color: var(--muted); font-weight: 300; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid { grid-template-columns: 1fr 1fr; border: var(--bw) solid var(--line); }
.contact-list { padding: 48px 44px; border-right: var(--bw) solid var(--line); }
.contact-subtitle { color: var(--muted); margin-bottom: 28px; font-weight: 300; }
.contact-actions { display: flex; flex-direction: column; gap: 0; }
.contact-ic { width: 44px; height: 44px; border: var(--bw) solid var(--red); color: var(--red); display: grid; place-items: center; flex-shrink: 0; }
.contact-map { min-height: 420px; }
.contact-map iframe { width: 100%; height: 100%; min-height: 420px; border: none; display: block; }

/* =========================================================
   GUIDE (proprio / véto) + ANIMAUX + HISTOIRE + HOSPIT
   ========================================================= */
.guide-actions { grid-template-columns: repeat(2, 1fr); }
.guide-card { padding: 40px 36px; border: var(--bw) solid var(--line); background: var(--paper); }
.guide-icon { width: 52px; height: 52px; border: var(--bw) solid var(--red); color: var(--red); display: grid; place-items: center; margin-bottom: 20px; }
.animal-card { border: var(--bw) solid var(--line); background: var(--paper); padding: 30px 26px; display: flex; flex-direction: column; transition: background .25s; }
.animal-card:hover { background: var(--navy); color: #fff; }
.animal-icon { width: 50px; height: 50px; border: var(--bw) solid var(--red); color: var(--red); display: grid; place-items: center; margin-bottom: 16px; }
.animal-name { font-family: var(--font-title); font-weight: 700; font-size: 1.2rem; color: var(--navy); margin-bottom: 8px; }
.animal-card:hover .animal-name, .animal-card:hover .animal-icon { color: #fff; }
.animal-card:hover .animal-icon { border-color: #fff; }
.animal-desc, .animal-body { font-size: 0.9rem; color: var(--muted); font-weight: 300; }
.histoire-grid { grid-template-columns: 1fr 1fr; border: var(--bw) solid var(--line); }
.hospit-grid { grid-template-columns: 1fr 1fr; border: var(--bw) solid var(--line); }
.hospit-points { list-style: none; margin: 20px 0 0; padding: 0; }
.hospit-points li { display: flex; gap: 12px; padding: 12px 0; border-bottom: var(--bw) solid var(--line-soft); }
.urgence-note { background: var(--red); color: #fff; padding: 20px 26px; border: var(--bw) solid var(--red); font-weight: 500; }

/* =========================================================
   SITEMAP / PLAN DU SITE
   ========================================================= */
.sitemap-html { padding: 70px 0; }
.sitemap-grid { grid-template-columns: repeat(3, 1fr); border-top: var(--bw) solid var(--line); border-left: var(--bw) solid var(--line); }
.sitemap-col { border-right: var(--bw) solid var(--line); border-bottom: var(--bw) solid var(--line); padding: 30px 28px; }
.sitemap-title { font-family: var(--font-title); font-weight: 700; color: var(--navy); margin-bottom: 14px; padding-bottom: 10px; border-bottom: var(--bw) solid var(--red); }
.sitemap-list { list-style: none; margin: 0; padding: 0; }
.sitemap-list li { margin-bottom: 9px; }
.sitemap-list a { color: var(--muted); font-size: 0.92rem; }
.sitemap-list a:hover { color: var(--red); padding-left: 6px; }
.sitemap-ic { color: var(--red); }

/* =========================================================
   CONSEILS (filtres)
   ========================================================= */
.conseil-filters { display: flex; gap: 0; flex-wrap: wrap; margin-bottom: 36px; border: var(--bw) solid var(--line); }
.conseil-filter { padding: 12px 22px; background: var(--paper); border-right: var(--bw) solid var(--line); font-weight: 500; font-size: 0.9rem; color: var(--navy); transition: background .2s, color .2s; }
.conseil-filter:last-child { border-right: none; }
.conseil-filter:hover, .conseil-filter.is-active { background: var(--red); color: #fff; }
.conseil-cta { margin-top: 40px; text-align: center; }

/* =========================================================
   ENTRY CONTENT (articles / pages WYSIWYG)
   ========================================================= */
.entry-content { font-size: 1.05rem; line-height: 1.75; color: var(--ink); max-width: 760px; }
.entry-content > * { margin: 0 0 1.3em; }
.entry-content h2 { font-size: 1.7rem; margin: 1.6em 0 .6em; padding-left: 16px; border-left: 4px solid var(--red); }
.entry-content h3 { font-size: 1.3rem; margin: 1.4em 0 .5em; color: var(--navy); }
.entry-content a { color: var(--red); border-bottom: 1px solid var(--red); }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li { margin-bottom: .5em; }
.entry-content img { border: var(--bw) solid var(--line); }
.entry-content blockquote { border-left: 4px solid var(--red); padding: 8px 0 8px 22px; color: var(--muted); font-style: italic; }

/* =========================================================
   404
   ========================================================= */
.error-hero {
    position: relative; overflow: hidden;
    background: linear-gradient(165deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: #fff; text-align: center;
    padding: 96px 0 90px; border-bottom: 3px solid var(--red);
}
.error-hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .14; }
.error-paw { position: absolute; color: #fff; }
.error-paw .ssicon { width: 100%; height: 100%; }
/* Traces qui s'éloignent en diagonale, tailles décroissantes */
.error-paw--1 { width: 90px; height: 90px; left: 6%;  bottom: 8%;  transform: rotate(-18deg); }
.error-paw--2 { width: 70px; height: 70px; left: 18%; bottom: 28%; transform: rotate(-8deg); opacity: .85; }
.error-paw--3 { width: 54px; height: 54px; left: 30%; bottom: 48%; transform: rotate(-14deg); opacity: .7; }
.error-paw--4 { width: 42px; height: 42px; right: 30%; top: 30%;  transform: rotate(12deg); opacity: .6; }
.error-paw--5 { width: 32px; height: 32px; right: 18%; top: 18%;  transform: rotate(6deg); opacity: .5; }
.error-paw--6 { width: 24px; height: 24px; right: 8%;  top: 10%;  transform: rotate(16deg); opacity: .4; }
.error-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.error-code { font-family: var(--font-title); font-weight: 800; font-size: clamp(5rem, 16vw, 10rem); color: #fff; line-height: .9; margin: 0 0 8px; letter-spacing: -.02em; }
.error-title { font-family: var(--font-title); font-weight: 700; color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin: 8px auto 14px; max-width: 18ch; }
.error-sub { color: rgba(255,255,255,.82); font-weight: 300; max-width: 52ch; margin: 0 auto; }
.error-actions { display: flex; gap: 0; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.error-hero .btn-primary:hover { background: #fff; color: var(--navy-dark); border-color: #fff; }
.error-hero .btn-ghost-dark { color: #fff; border-color: rgba(255,255,255,.55); }
.error-hero .btn-ghost-dark:hover { background: #fff; color: var(--navy-dark); border-color: #fff; }
.error-hero .btn-pair-paw { background: #fff; color: var(--red); box-shadow: 0 0 0 4px var(--navy-dark); }
@media (max-width: 768px) {
    .error-hero { padding: 70px 0 64px; }
    .error-paw--3, .error-paw--4, .error-paw--5 { display: none; }
    .error-actions { flex-direction: column; width: 100%; }
}

/* =========================================================
   FLOATING UI (nudge urgences + scroll top)
   ========================================================= */
.rdv-nudge { position: fixed; bottom: 0; right: 24px; z-index: 800; max-width: 340px; background: var(--navy); color: #fff; border: var(--bw) solid var(--red); display: flex; align-items: center; gap: 14px; padding: 16px 18px; transform: translateY(120%); transition: transform .4s var(--ease); }
.rdv-nudge.is-visible { transform: translateY(0); }
.rdv-nudge-close { position: absolute; top: 6px; right: 8px; background: transparent; border: none; color: rgba(255,255,255,.6); font-size: 1.3rem; line-height: 1; }
.rdv-nudge-icon { width: 40px; height: 40px; border: var(--bw) solid var(--red); color: var(--red); display: grid; place-items: center; flex-shrink: 0; }
.rdv-nudge-body { display: flex; flex-direction: column; gap: 2px; }
.rdv-nudge-title { font-weight: 600; font-size: 0.88rem; }
.rdv-nudge-text { font-size: 0.78rem; color: rgba(255,255,255,.7); }
.rdv-nudge-btn { background: var(--red); color: #fff; padding: 9px 16px; font-weight: 600; font-size: 0.82rem; flex-shrink: 0; }
.rdv-nudge-btn:hover { background: var(--red-dark); }
.scroll-top { position: fixed; bottom: 24px; left: 24px; z-index: 800; width: 48px; height: 48px; background: var(--navy); color: #fff; border: var(--bw) solid var(--line); font-size: 1.2rem; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s, background .2s; }
.scroll-top.is-visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--red); border-color: var(--red); }

/* Anciennes classes blobs (DA organique) — neutralisées */
.blobs, .blob, .blob--1, .blob--2, .blob--3, .blob--teal, .blob--sage, .blob--cream, .team-pattern { display: none !important; }

/* Diviseur de pattes (ancien) -> on n'affiche rien d'organique */
.paw-divider { display: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* ---- Tablette ≤ 1024px ---- */
@media (max-width: 1024px) {
    .header-inner { min-height: 72px; }
    .main-nav { display: none; }       /* mega-menu desktop masqué */
    .burger { display: flex; }
    .header-phone { display: none; }

    .hero-home-grid { grid-template-columns: 1fr; }
    .hero-home-left { border-right: none; border-bottom: var(--bw) solid rgba(255,255,255,.18); padding: 44px 28px; }
    .hero-home-right { flex-direction: row; }
    .hero-home-arches { display: none; }
    .hero-home-stat { flex: 1; border-top: none; border-right: var(--bw) solid rgba(255,255,255,.18); flex-direction: column; align-items: flex-start; gap: 6px; }
    .hero-home-stat:last-child { border-right: none; }
    .hero-home-stat .l { text-align: left; }

    .grid-4, .poles-grid, .team-grid, .card-grid, .equip-grid, .expertise-grid, .sitemap-grid { grid-template-columns: repeat(2, 1fr); }
    .approach-grid { grid-template-columns: repeat(2, 1fr); }
    .mega-panel--wide { min-width: 0; }

    .faq-home-grid { grid-template-columns: 1fr; }
    .faq-home-intro { border-right: none; border-bottom: var(--bw) solid var(--line); }
    .referer-grid, .contact-grid, .presentation-grid, .stack-card-inner, .plateau-block, .histoire-grid, .hospit-grid, .guide-actions { grid-template-columns: 1fr; }
    .referer-text { border-right: none; border-bottom: var(--bw) solid rgba(255,255,255,.18); }
    .presentation-media { border-left: none; border-top: var(--bw) solid var(--line); }
    .stack-card-media { border-left: none; border-top: var(--bw) solid var(--line); min-height: 280px; }
    .stack-card { position: static; }    /* on désactive le sticky en tablette/mobile */
    .contact-list { border-right: none; border-bottom: var(--bw) solid var(--line); }
}

/* ---- Mobile ≤ 768px ---- */
@media (max-width: 768px) {
    body { font-size: 16px; }
    .section { padding: 64px 0; }
    .container { padding: 0 18px; }

    .topbar-links { display: none; }
    .topbar-inner { justify-content: center; padding: 8px 18px; }

    .hero-home-left { padding: 40px 20px; }
    .hero-home-cta { flex-direction: column; }
    .hero-home-cta .btn-primary, .hero-home-cta .btn-ghost-dark { width: 100%; justify-content: center; border-left: var(--bw) solid; }
    .hero-home-cta .btn-ghost-dark { border-top: none; }
    .hero-badges { grid-template-columns: 1fr; }
    .hero-badge { border-right: none; border-bottom: var(--bw) solid rgba(255,255,255,.18); }
    .hero-badge--urgent { border-bottom: none; }

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

    .grid-2, .grid-3, .grid-4,
    .poles-grid, .team-grid, .card-grid, .equip-grid, .expertise-grid,
    .approach-grid, .lab-grid, .sitemap-grid, .infos-grid, .stats-grid { grid-template-columns: 1fr; }

    .stat-card, .info-card, .hero-home-stat { border-right: none; border-bottom: var(--bw) solid rgba(255,255,255,.18); }
    .info-card { border-bottom-color: var(--navy); }
    .info-card:last-child, .stat-card:last-child { border-bottom: none; }

    .pole-card, .team-card, .card, .equip-card, .expertise-card,
    .approach-step, .step-card, .service-card, .animal-card,
    .sitemap-col { border-left: var(--bw) solid var(--line); }

    .presentation-text, .referer-text, .contact-list, .stack-card-text,
    .faq-home-intro { padding: 36px 24px; }

    .presentation-links, .stack-links, .referer-text .btn-primary { width: 100%; }
    .prefooter-actions, .hero-page-actions, .error-actions { flex-direction: column; width: 100%; }
    .prefooter-actions .btn-primary, .prefooter-actions .btn-ghost-dark,
    .hero-page-actions .btn-primary, .hero-page-actions .btn-ghost-dark { width: 100%; justify-content: center; }

    .footer-grid { grid-template-columns: 1fr; border-left: none; }
    .footer-col { border-right: none; border-bottom: var(--bw) solid rgba(255,255,255,.14); }
    .footer-bottom-inner { flex-direction: column; align-items: flex-start; }

    .rf-window { padding: 30px 22px; }
    .referer-text { padding: 44px 24px; }

    .rdv-nudge { right: 12px; left: 12px; max-width: none; }
    .scroll-top { bottom: 12px; left: 12px; }
}

/* ---- Très petit ≤ 380px ---- */
@media (max-width: 380px) {
    .hero-home-title { font-size: 2rem; }
    .section-title { font-size: 1.6rem; }
    .hero-home-right { flex-direction: column; }
    .hero-home-stat { border-right: none; }
    .logo-words { font-size: 1.1rem; }
}

/* =========================================================
   CLASSES COMPLÉMENTAIRES (pages internes existantes)
   ========================================================= */

/* page-hero (search, archive, single, page génériques) */
.page-hero { background: var(--navy); color: #fff; border-bottom: 3px solid var(--red); padding: 70px 0; }
.page-hero--service { background: var(--navy-dark); }
.page-hero .container, .page-hero-inner { max-width: var(--container); margin: 0 auto; }
.page-hero-title { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); margin: 0 0 14px; }
.page-hero-sub { color: rgba(255,255,255,.82); font-weight: 300; max-width: 60ch; }

/* stat-count (compteur animé) */
.stat-count { font-variant-numeric: tabular-nums; }

/* avis fade (compat ancien markup) */


/* nav-card (page clinique : sous-pages) */
.nav-cards { display: grid; grid-template-columns: repeat(2, 1fr); border-top: var(--bw) solid var(--line); border-left: var(--bw) solid var(--line); }
.nav-card { border-right: var(--bw) solid var(--line); border-bottom: var(--bw) solid var(--line); padding: 34px 30px; background: var(--paper); display: flex; flex-direction: column; transition: background .25s var(--ease), color .25s var(--ease); }
.nav-card:hover { background: var(--navy); color: #fff; }
.nav-card-icon { width: 50px; height: 50px; border: var(--bw) solid var(--red); color: var(--red); display: grid; place-items: center; margin-bottom: 18px; }
.nav-card:hover .nav-card-icon { border-color: #fff; color: #fff; }
.nav-card-title { font-family: var(--font-title); font-weight: 700; font-size: 1.25rem; color: var(--navy); margin-bottom: 8px; }
.nav-card:hover .nav-card-title { color: #fff; }
.nav-card-desc { font-size: 0.9rem; color: var(--muted); font-weight: 300; }
.nav-card:hover .nav-card-desc { color: rgba(255,255,255,.78); }

/* pillars (valeurs / piliers page clinique) */
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: var(--bw) solid var(--line); border-left: var(--bw) solid var(--line); }
.pillar-card { border-right: var(--bw) solid var(--line); border-bottom: var(--bw) solid var(--line); padding: 32px 28px; background: var(--paper); }
.pillar-icon { width: 50px; height: 50px; border: var(--bw) solid var(--red); color: var(--red); display: grid; place-items: center; margin-bottom: 18px; }
.pillar-title { font-family: var(--font-title); font-weight: 700; font-size: 1.15rem; color: var(--navy); margin-bottom: 10px; }

/* steps-grid (référer : étapes) */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: var(--bw) solid var(--line); border-left: var(--bw) solid var(--line); }

/* member (fiche praticien) */
.member-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; border: var(--bw) solid var(--line); }
.member-photo { aspect-ratio: 4/5; overflow: hidden; background: var(--navy); border-right: var(--bw) solid var(--line); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.member-bio { padding: 44px 40px; }
.member-diplomes { list-style: none; margin: 22px 0 0; padding: 0; }
.member-diplomes li { display: flex; gap: 12px; padding: 11px 0; border-bottom: var(--bw) solid var(--line-soft); font-size: 0.92rem; }

/* nav-card / seo-local / clinique links / contact-info (compat divers) */
.seo-local-links, .clinique-links, .card-link, .contact-info { display: block; }
.service-cross { color: var(--red); }

/* pagination */
.pagination { display: flex; gap: 0; justify-content: center; margin-top: 48px; }
.pagination a, .pagination .current { padding: 12px 18px; border: var(--bw) solid var(--line); border-right: none; font-weight: 600; color: var(--navy); background: var(--paper); }
.pagination a:last-child, .pagination .current:last-child { border-right: var(--bw) solid var(--line); }
.pagination .current { background: var(--red); color: #fff; border-color: var(--red); }
.pagination a:hover { background: var(--navy); color: #fff; }

/* single article */
.single-article, .single-thumb { max-width: var(--container); margin: 0 auto; }
.single-thumb { border: var(--bw) solid var(--line); overflow: hidden; margin-bottom: 36px; }
.single-thumb img { width: 100%; display: block; }
.entry-title { font-size: clamp(1.9rem, 4vw, 3rem); color: var(--navy); margin-bottom: 18px; }

/* notices (admin / formulaires) */
.notice { padding: 16px 20px; border: var(--bw) solid var(--line); margin: 16px 0; background: var(--paper); }
.notice-success { border-color: #2E7D32; }
.notice-warning { border-color: var(--red); }

@media (max-width: 1024px) {
    .nav-cards, .pillars-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .member-grid { grid-template-columns: 1fr; }
    .member-photo { border-right: none; border-bottom: var(--bw) solid var(--line); aspect-ratio: 16/9; }
}
@media (max-width: 768px) {
    .nav-cards, .pillars-grid, .steps-grid { grid-template-columns: 1fr; }
    .nav-card, .pillar-card { border-left: var(--bw) solid var(--line); }
}

/* ---- Wrappers & variantes secondaires (compat templates internes) ---- */
.footer-grid--full { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; }
.presentation { padding: 96px 0; }
.faq-section { padding: 96px 0; background: var(--paper); }
.search-results, .error-404 { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.rdv-actions { display: flex; gap: 0; flex-wrap: wrap; margin-top: 24px; }
.lab-body { font-size: 0.86rem; color: var(--muted); }
.nav-card-body { font-size: 0.9rem; color: var(--muted); font-weight: 300; }
.animal-photo { aspect-ratio: 4/3; overflow: hidden; border-bottom: var(--bw) solid var(--line); background: var(--navy); }
.animal-photo img { width: 100%; height: 100%; object-fit: cover; }
.animal-card--photo { padding: 0; }
.animal-card--photo .animal-name { padding: 18px 24px 4px; }
.animal-card--photo .animal-desc { padding: 0 24px 22px; }
.animal-card--cta { background: var(--red); color: #fff; justify-content: center; align-items: center; text-align: center; }
.animal-cta-inner { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.animal-cta-title { font-family: var(--font-title); font-weight: 700; font-size: 1.3rem; color: #fff; }
.animal-cta-desc { font-size: 0.92rem; color: rgba(255,255,255,.85); }
@media (max-width: 768px){ .footer-grid--full { grid-template-columns: 1fr; } .rdv-actions { flex-direction: column; } }

/* compat section-referer (maquette dossier) */
.referer-form-demo .rf-window { background: var(--navy-dark); border: var(--bw) solid rgba(255,255,255,.24); padding: 0; display: block; }
.rf-submit { display: flex; align-items: center; justify-content: center; gap: 10px; cursor: default; }
.rf-submit-text { font-weight: 600; }
.rf-check { opacity: 0; transition: opacity .3s var(--ease); }
.rf-submit.is-done .rf-check { opacity: 1; }

/* Page "Notre équipement" — blocs détaillés image/texte */
.plateau-detail { margin-top: 28px; }
.plateau-detail .histoire-grid { align-items: stretch; }
.plateau-media { position: relative; overflow: hidden; min-height: 320px; background: var(--navy); }
.plateau-media img, .plateau-media .presentation-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.plateau-media .media-placeholder { min-height: 320px; }
.plateau-text { padding: 44px 40px; display: flex; flex-direction: column; justify-content: center; }
.plateau-text .equip-name { font-family: var(--font-title); font-weight: 700; font-size: 1.35rem; color: var(--navy); margin-bottom: 16px; }
.plateau-text p { color: var(--ink); margin: 0 0 16px; }
.plateau-text p:last-child { margin-bottom: 0; }
@media (max-width: 768px) {
    .plateau-media { min-height: 240px; }
    .plateau-text { padding: 32px 24px; }
}

/* =========================================================
   ALLÈGEMENT GLOBAL — cartes espacées, fond blanc, plus d'air
   (surcharge volontairement placée en fin de feuille)
   ========================================================= */

/* Grilles de cartes : on passe du "tableau jointif" à des cartes espacées */
.poles-grid, .team-grid, .card-grid, .equip-grid, .expertise-grid,
.approach-grid, .lab-grid, .sitemap-grid, .nav-cards, .pillars-grid,
.steps-grid, .infos-grid {
    border: none;
    gap: 20px;
}

/* Cartes individuelles : bordure fine, fond blanc, hover en élévation douce */
.team-card, .card, .equip-card, .expertise-card, .approach-step, .step-card,
.service-card, .animal-card, .sitemap-col, .nav-card, .pillar-card,
.lab-item, .info-card, .guide-card, .link-card {
    border: var(--bw) solid var(--line) !important;
    background: var(--paper);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.team-card:hover, .card:hover, .equip-card:hover, .expertise-card:hover,
.service-card:hover, .animal-card:hover, .nav-card:hover, .guide-card:hover,
.link-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: transparent !important;
}

/* On annule les anciens hovers "plein marine/rouge" qui inversaient texte+fond */
.service-card:hover, .service-card:hover .service-card-title, .service-card:hover .service-card-desc,
.animal-card:hover, .animal-card:hover .animal-name, .animal-card:hover .animal-desc,
.nav-card:hover, .nav-card:hover .nav-card-title, .nav-card:hover .nav-card-desc,
.link-card:hover, .link-card:hover .link-card-title,
.pole-card:hover, .pole-card:hover .pole-desc {
    background: var(--paper);
    color: inherit;
}
.service-card:hover .service-card-title, .nav-card:hover .nav-card-title,
.link-card:hover .link-card-title { color: var(--navy); }
.service-card:hover .service-card-desc, .nav-card:hover .nav-card-desc { color: var(--muted); }

/* Icônes de cartes : pastille douce rouge au lieu d'un carré bordé */
.equip-icon, .expertise-icon, .service-icon, .service-hero-icon,
.animal-icon, .nav-card-icon, .pillar-icon, .guide-icon, .info-icon,
.contact-ic, .referer-check, .stack-ic {
    border: none !important;
    background: var(--red-soft);
    color: var(--red);
}
.service-card:hover .service-icon, .animal-card:hover .animal-icon,
.nav-card:hover .nav-card-icon { background: var(--red); color: #fff; }

/* Bandeaux services/clinic : fond marine doux plutôt que plein, texte foncé */
.service-banner, .clinic-banner {
    background: var(--navy-soft);
    color: var(--ink);
    border: var(--bw) solid var(--line);
}
.service-banner h2, .service-banner h3, .clinic-banner h2, .clinic-banner h3 { color: var(--navy); }

/* Stats : grille aérée sur fond marine (on garde le contraste) */
.stats-grid { border-top: none; gap: 0; }

/* Conseil filtres : pastilles légères, pas un bloc bordé massif */
.conseil-filters { border: none; gap: 10px; }
.conseil-filter { border: var(--bw) solid var(--line); }
.conseil-filter:hover, .conseil-filter.is-active { background: var(--red); border-color: var(--red); color: #fff; }

/* Sépare les cartes redevenues bordées individuellement en mobile */
@media (max-width: 768px) {
    .pole-card, .team-card, .card, .equip-card, .expertise-card,
    .approach-step, .step-card, .service-card, .animal-card, .sitemap-col,
    .nav-card, .pillar-card { border-left: var(--bw) solid var(--line) !important; }
}

/* =========================================================
   CONTRASTE SUR FONDS COLORÉS — éviter rouge/rouge et marine/marine
   ========================================================= */

/* --- Sur fond ROUGE (prefooter-cta, hero-badge--urgent) --- */
.prefooter-cta .btn-primary,
.prefooter-cta .btn-ghost,
.referer-section.is-red .btn-primary {
    background: #fff; color: var(--red); border-color: #fff;
}
.prefooter-cta .btn-primary:hover { background: var(--navy-dark); color: #fff; border-color: var(--navy-dark); }
.prefooter-cta .btn-ghost-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.prefooter-cta .btn-ghost-dark:hover { background: #fff; color: var(--red); border-color: #fff; }
.prefooter-cta .prefooter-title, .prefooter-cta .prefooter-tag { color: #fff; }

/* --- Sur fond MARINE (referer-section, section--dark, hero) --- */
.referer-section .btn-primary,
.section--dark .btn-primary {
    background: var(--red); color: #fff; border-color: var(--red);
}
.referer-section .btn-primary:hover,
.section--dark .btn-primary:hover { background: #fff; color: var(--navy-dark); border-color: #fff; }
.referer-section .btn-ghost-dark, .section--dark .btn-ghost-dark { color: #fff; border-color: rgba(255,255,255,.5); }
.referer-section .btn-ghost-dark:hover, .section--dark .btn-ghost-dark:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* Titres & textes lisibles sur fonds foncés */
.referer-section .section-title, .referer-section .section-tag,
.section--dark .section-title, .section--dark .section-tag,
.hero-home-title, .hero-page-title { color: #fff; }
.referer-section .section-tag::before, .section--dark .section-tag::before { border-color: #fff; }

/* Liens fléchés : sur fond foncé, passer en blanc/rouge clair */
.section--dark .link-arrow, .referer-section .link-arrow,
.prefooter-cta .link-arrow { color: #fff; border-color: #fff; }
.section--dark .link-arrow:hover, .referer-section .link-arrow:hover { color: var(--red); border-color: var(--red); }

/* Sécurité générale : un btn-primary ne doit jamais être rouge sur rouge */
[style*="background:#E63329"] .btn-primary,
[style*="background: #E63329"] .btn-primary { background:#fff; color:var(--red); border-color:#fff; }

/* Icônes sur fond MARINE : pastille rouge pleine (le rose pâle serait illisible) */
.referer-section .referer-check {
    background: var(--red); color: #fff;
}
.hero-home-stat .v small { color: #fff; }

/* =========================================================
   PAIRE DE BOUTONS avec bulle "patte" centrale
   ========================================================= */
.btn-pair { display: inline-flex; align-items: center; gap: 0; position: relative; flex-wrap: nowrap; }
.btn-pair .btn-primary, .btn-pair .btn-secondary, .btn-pair .btn-ghost, .btn-pair .btn-ghost-dark { position: relative; }
.btn-pair-paw {
    position: relative; z-index: 3;
    width: 46px; height: 46px; flex-shrink: 0;
    margin: 0 -10px;                 /* chevauche légèrement les 2 boutons */
    border-radius: 50% !important;  /* seule exception ronde : la bulle patte */
    display: grid; place-items: center;
    background: var(--red); color: #fff;
    box-shadow: 0 0 0 4px var(--paper);
}
.btn-pair-paw .ssicon { width: 24px; height: 24px; }
/* Adapte la bulle au fond de section */
.section--dark .btn-pair-paw, .referer-section .btn-pair-paw { background: #fff; color: var(--red); box-shadow: 0 0 0 4px var(--navy); }
.prefooter-cta .btn-pair-paw { background: #fff; color: var(--red); box-shadow: 0 0 0 4px var(--red); }
.hero-home .btn-pair-paw { box-shadow: 0 0 0 4px var(--navy); }
/* Header : bulle plus petite */
.header-actions .btn-pair-paw { width: 38px; height: 38px; box-shadow: 0 0 0 3px var(--paper); }
.header-actions .btn-pair-paw .ssicon { width: 19px; height: 19px; }

@media (max-width: 768px) {
    .btn-pair { flex-direction: column; gap: 0; width: 100%; }
    .btn-pair .btn-primary, .btn-pair .btn-secondary, .btn-pair .btn-ghost, .btn-pair .btn-ghost-dark { width: 100%; justify-content: center; }
    .btn-pair-paw { margin: -10px 0; }
}

/* =========================================================
   PÔLES — faisceau rouge tournant au survol (boucle continue)
   Technique : pseudo-élément avec dégradé conique fixe que l'on
   FAIT TOURNER en transform:rotate (supporté partout, fluide),
   + un masque qui ne laisse voir que le contour (effet "bordure").
   ========================================================= */
.pole-card { position: relative; isolation: isolate; overflow: hidden; }
.pole-card::before {
    content: ""; position: absolute;
    top: 50%; left: 50%; width: 180%; aspect-ratio: 1;
    transform: translate(-50%, -50%) rotate(0deg);
    background: conic-gradient(from 0deg, transparent 0deg, transparent 230deg, #ff7a6e 300deg, var(--red) 340deg, transparent 360deg);
    opacity: 0; transition: opacity .3s var(--ease);
    z-index: 0; pointer-events: none;
}
/* Le contenu réel de la carte au-dessus du faisceau, sur un fond blanc
   légèrement réduit pour ne laisser apparaître que le liseré tournant. */
.pole-card::after {
    content: ""; position: absolute; inset: 1.5px; z-index: 0;
    background: var(--paper); pointer-events: none;
    transition: background .25s var(--ease);
}
.pole-card > * { position: relative; z-index: 1; }
.pole-card:hover::before { opacity: 1; animation: beam-spin 2.2s linear infinite; }
@keyframes beam-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    .pole-card:hover::before { animation: none; opacity: 1; }
}

/* =========================================================
   HERO — vidéo de fond
   ========================================================= */
.hero-home-video {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: 0;
}
.hero-home-video-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(110deg, rgba(18,40,51,.92) 0%, rgba(18,40,51,.78) 45%, rgba(18,40,51,.55) 100%);
}
.hero-home--video .hero-home-grid { position: relative; z-index: 2; }
.hero-home--video .hero-home-right { background: transparent; }
.hero-home--video .hero-home-left { border-right-color: rgba(255,255,255,.14); }
.hero-home--video .hero-home-stat { border-top-color: rgba(255,255,255,.14); }
.hero-home--video .hero-badges { position: relative; z-index: 2; }

/* =========================================================
   CARROUSEL AVIS — défilement auto continu + drag souris/tactile
   ========================================================= */
.avis-carousel-section { padding: 96px 0; background: var(--paper-2); overflow: hidden; }
.avis-head { margin-bottom: 40px; }
.avis-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.avis-head .section-title { margin: 0; }
.avis-rating { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.avis-rating-score { font-family: var(--font-title); font-weight: 700; font-size: 2.2rem; color: var(--navy); line-height: 1; }
.avis-rating-stars { color: #E6A817; font-size: 1.1rem; letter-spacing: 2px; }
.avis-rating-meta { font-size: 0.82rem; color: var(--muted); }

.avis-carousel { width: 100%; overflow-x: auto; overflow-y: hidden; cursor: grab; scrollbar-width: none; -ms-overflow-style: none; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.avis-carousel::-webkit-scrollbar { display: none; }
.avis-carousel.is-dragging { cursor: grabbing; }
.avis-track { display: flex; gap: 22px; width: max-content; padding: 8px 24px; animation: avis-scroll-x 70s linear infinite; }
.avis-carousel.is-dragging .avis-track, .avis-carousel:hover .avis-track { animation-play-state: paused; }
@keyframes avis-scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .avis-track { animation: none; } }

.avis-carousel .avis-card {
    flex: 0 0 360px; max-width: 360px;
    background: var(--paper); border: var(--bw) solid var(--line);
    padding: 26px 24px; display: flex; flex-direction: column;
    transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.avis-carousel .avis-card:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.avis-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.avis-gmark { width: 30px; height: 30px; display: grid; place-items: center; font-family: var(--font-title); font-weight: 700; color: #4285F4; border: var(--bw) solid var(--line); }
.avis-stars { color: #E6A817; letter-spacing: 1px; font-size: 0.95rem; }
.avis-carousel .avis-text { font-size: 0.92rem; line-height: 1.6; color: var(--ink); margin: 0 0 18px; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.avis-meta { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; border-top: var(--bw) solid var(--line); }
.avis-avatar { width: 38px; height: 38px; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 0.9rem; flex-shrink: 0; }
.avis-author { display: flex; flex-direction: column; }
.avis-name { font-weight: 600; font-size: 0.9rem; color: var(--navy); }
.avis-animal { font-size: 0.78rem; color: var(--muted); }
.avis-cta { text-align: center; margin-top: 40px; }

@media (max-width: 768px) {
    .avis-carousel-section { padding: 64px 0; }
    .avis-carousel .avis-card { flex-basis: 280px; max-width: 280px; }
    .avis-head-row { align-items: flex-start; }
    .avis-rating { align-items: flex-start; }
}

/* =========================================================
   SECTION ACTUALITÉS (accueil)
   ========================================================= */
.actus-section { background: var(--paper); }
.actus-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.actus-head .section-title { margin: 0; }
.actus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.actus-card { display: flex; flex-direction: column; background: var(--paper); border: var(--bw) solid var(--line); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.actus-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: transparent; }
.actus-thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--paper-2); border-bottom: var(--bw) solid var(--line); }
.actus-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.actus-card:hover .actus-thumb img { transform: scale(1.04); }
.actus-thumb .media-placeholder { min-height: 0; height: 100%; }
.actus-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.actus-cat { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); font-weight: 600; }
.actus-title { font-family: var(--font-title); font-weight: 700; font-size: 1.16rem; color: var(--navy); line-height: 1.25; }
.actus-excerpt { font-size: 0.9rem; color: var(--muted); font-weight: 300; }
.actus-body .link-arrow { margin-top: 8px; align-self: flex-start; }
@media (max-width: 1024px) { .actus-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .actus-grid { grid-template-columns: 1fr; } .actus-head { flex-direction: column; align-items: flex-start; } }

/* Logo V2TU dans la carte urgences */
.info-card--urgent { position: relative; }
.info-v2tu-logo { margin-top: 14px; max-height: 48px; width: auto; opacity: .92; }

/* =========================================================
   PRÉSENTATION — points clés + badge sur image
   ========================================================= */
.presentation-points { list-style: none; margin: 4px 0 28px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.presentation-points li { display: flex; align-items: center; gap: 14px; font-size: 0.96rem; color: var(--ink); font-weight: 500; }
.pp-ic { width: 38px; height: 38px; flex-shrink: 0; background: var(--red-soft); color: var(--red); display: grid; place-items: center; }
.pp-ic .ssicon { width: 20px; height: 20px; }
.presentation-links { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

.presentation-media { position: relative; }
.presentation-badge {
    position: absolute; left: -24px; bottom: 28px; z-index: 3;
    background: var(--red); color: #fff;
    padding: 18px 22px; display: flex; flex-direction: column; gap: 2px;
    box-shadow: var(--shadow-card); max-width: 190px;
}
.presentation-badge .pb-num { font-family: var(--font-title); font-weight: 700; font-size: 2.4rem; line-height: 1; }
.presentation-badge .pb-plus { font-size: 1.2rem; vertical-align: super; }
.presentation-badge .pb-label { font-size: 0.78rem; line-height: 1.3; opacity: .95; }

@media (max-width: 768px) {
    .presentation-grid { gap: 32px; }
    .presentation-media { min-height: 280px; order: -1; }   /* image en premier sur mobile */
    .presentation-badge { left: 16px; bottom: 16px; padding: 14px 18px; }
    .presentation-badge .pb-num { font-size: 1.9rem; }
    .presentation-links { flex-direction: column; align-items: stretch; gap: 16px; }
    .presentation-links .btn-primary { width: 100%; justify-content: center; }
    .presentation-links .link-arrow { align-self: center; }
}

/* =========================================================
   FAQ — encart contact dans l'intro + responsive
   ========================================================= */
.faq-contact-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: var(--bw) solid var(--line); background: var(--paper-2); margin: 4px 0 24px; }
.faq-contact-ic { width: 42px; height: 42px; flex-shrink: 0; background: var(--red-soft); color: var(--red); display: grid; place-items: center; }
.faq-contact-ic .ssicon { width: 22px; height: 22px; }
.faq-contact-body { display: flex; flex-direction: column; }
.faq-contact-label { font-size: 0.8rem; color: var(--muted); }
.faq-contact-phone { font-family: var(--font-title); font-weight: 700; font-size: 1.2rem; color: var(--navy); text-decoration: none; }
.faq-contact-phone:hover { color: var(--red); }

@media (max-width: 768px) {
    .faq-home { padding: 64px 0; }
    .faq-home-grid { grid-template-columns: 1fr; gap: 36px; }
    .faq-home-intro .btn-secondary { width: 100%; text-align: center; }
    .faq-question { font-size: 0.96rem; padding: 18px 2px; }
    .faq-answer p { padding: 0 2px 20px; }
}

/* Hero : bouton Référer lisible au survol (fond bleu → bouton blanc, texte bleu foncé) */
.hero-home .btn-primary:hover,
.hero-home-cta .btn-primary:hover { background: #fff; color: var(--navy-dark); border-color: #fff; }
.hero-home .btn-ghost-dark:hover,
.hero-home-cta .btn-ghost-dark:hover { background: #fff; color: var(--navy-dark); border-color: #fff; }

/* =========================================================
   GALERIE (qui-sommes-nous) + encart préparation (propriétaire)
   ========================================================= */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item { aspect-ratio: 4/3; overflow: hidden; border: var(--bw) solid var(--line); background: var(--paper-2); }
.gallery-img, .gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }
@media (max-width: 1024px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; } }

.info-prep { display: flex; gap: 22px; align-items: flex-start; padding: 32px 34px; border: var(--bw) solid var(--line); background: var(--paper-2); }
.info-prep-ic { width: 54px; height: 54px; flex-shrink: 0; background: var(--red-soft); color: var(--red); display: grid; place-items: center; }
.info-prep-ic .ssicon { width: 28px; height: 28px; }
.info-prep-title { font-family: var(--font-title); font-weight: 700; font-size: 1.25rem; color: var(--navy); margin: 0 0 10px; }
.info-prep-body p { margin: 0; color: var(--ink); }
@media (max-width: 768px) { .info-prep { flex-direction: column; gap: 16px; padding: 26px 22px; } }

/* =========================================================
   FORMULAIRES NATIFS (recrutement, contact)
   ========================================================= */
.seesmile-form { margin-top: 36px; display: flex; flex-direction: column; gap: 18px; }
.sf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sf-field { display: flex; flex-direction: column; gap: 7px; }
.sf-field > span { font-size: 0.82rem; font-weight: 600; color: var(--navy); letter-spacing: .01em; }
.sf-field input, .sf-field select, .sf-field textarea {
    font-family: var(--font-body); font-size: 0.95rem; color: var(--ink);
    padding: 13px 15px; border: var(--bw) solid var(--line); background: var(--paper);
    transition: border-color .2s var(--ease);
}
.sf-field input:focus, .sf-field select:focus, .sf-field textarea:focus { outline: none; border-color: var(--red); }
.sf-field textarea { resize: vertical; min-height: 120px; }
.sf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sf-rgpd { font-size: 0.8rem; color: var(--muted); margin: 0; }
.sf-rgpd a { color: var(--red); }
.seesmile-form .btn-primary { align-self: flex-start; border: none; cursor: pointer; }
.form-notice { margin-top: 28px; padding: 18px 22px; border: var(--bw) solid var(--line); font-size: 0.95rem; }
.form-notice--ok { border-color: #2e7d52; background: #eaf6ef; color: #1d5b39; }
.form-notice--err { border-color: var(--red); background: var(--red-soft); color: var(--red-dark); }
@media (max-width: 768px) {
    .sf-row { grid-template-columns: 1fr; }
    .seesmile-form .btn-primary { width: 100%; justify-content: center; }
}

/* =========================================================
   HERO-PAGE — cohérence avec l'accueil (contraste sur fond marine)
   ========================================================= */
/* Fil d'Ariane lisible sur tout hero foncé (pages internes + pages légales) */
.hero-page .breadcrumb, .page-hero .breadcrumb { color: rgba(255,255,255,.7); }
.hero-page .breadcrumb a, .page-hero .breadcrumb a { color: #fff; }
.hero-page .breadcrumb a:hover, .page-hero .breadcrumb a:hover { color: var(--red-soft); }
.hero-page .bc-current, .hero-page .breadcrumb .current, .hero-page .breadcrumb .bc-sep,
.page-hero .bc-current, .page-hero .breadcrumb .current, .page-hero .breadcrumb .bc-sep { color: rgba(255,255,255,.6); }

/* Boutons du hero-page : lisibles au survol (jamais bleu sur bleu) */
.hero-page-actions .btn-primary { background: var(--red); color: #fff; border-color: var(--red); }
.hero-page-actions .btn-primary:hover { background: #fff; color: var(--navy-dark); border-color: #fff; }
.hero-page-actions .btn-ghost-dark { color: #fff; border-color: rgba(255,255,255,.55); }
.hero-page-actions .btn-ghost-dark:hover { background: #fff; color: var(--navy-dark); border-color: #fff; }

/* Bulle patte entre 2 boutons collés du hero-page */
.hero-page-actions .btn-pair-paw { background: #fff; color: var(--red); box-shadow: 0 0 0 4px var(--navy-dark); }

/* =========================================================
   PAGE CONTACT — carte Maps stylée avec carte d'info
   ========================================================= */
.contact-map-section { padding: 0; }
.contact-map-wrap { position: relative; width: 100%; }
.contact-map-iframe { width: 100%; height: 480px; border: 0; display: block; filter: grayscale(.3) contrast(1.02); }
.contact-map-card {
    position: absolute; top: 50%; left: 6%; transform: translateY(-50%);
    width: min(360px, 84%); z-index: 2;
    background: var(--paper); border-top: 3px solid var(--red);
    box-shadow: var(--shadow-card); padding: 30px 30px 32px;
}
.contact-map-logo { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.contact-map-logo img { height: 56px; width: auto; }
.contact-map-mark { width: 44px; height: 44px; background: var(--red); color: #fff; display: grid; place-items: center; }
.contact-map-mark .ssicon { width: 24px; height: 24px; }
.contact-map-brand { font-family: var(--font-title); font-weight: 700; font-size: 1.3rem; color: var(--navy); }
.contact-map-addr { font-weight: 600; color: var(--navy); margin: 0 0 6px; font-size: 1rem; }
.contact-map-meta { color: var(--muted); font-size: 0.88rem; font-weight: 300; margin: 0 0 22px; }
.contact-map-btn { display: inline-flex; align-items: center; gap: 9px; }
.contact-map-btn .ssicon { width: 18px; height: 18px; }

@media (max-width: 768px) {
    .contact-map-wrap { display: flex; flex-direction: column; }
    .contact-map-iframe { height: 300px; order: 2; }
    .contact-map-card { position: static; transform: none; width: 100%; order: 1; box-shadow: none; border-top: none; border-bottom: 3px solid var(--red); padding: 28px 22px; }
}

/* =========================================================
   PAGE URGENCES — bandeau d'appel + logo V2TU
   ========================================================= */
.urgence-band { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: 28px 34px; background: var(--red-soft); border-left: 4px solid var(--red); }
.urgence-band-main { display: flex; align-items: center; gap: 18px; }
.urgence-dot { width: 14px; height: 14px; border-radius: 50% !important; background: var(--red); flex-shrink: 0; position: relative; }
.urgence-dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--red); opacity: .5; animation: urgence-pulse 1.8s ease-out infinite; }
@keyframes urgence-pulse { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }
.urgence-band-label { font-size: 0.85rem; color: var(--red-dark); font-weight: 600; margin: 0 0 2px; }
.urgence-band-phone { font-family: var(--font-title); font-weight: 700; font-size: 1.9rem; color: var(--navy); text-decoration: none; line-height: 1; }
.urgence-band-phone:hover { color: var(--red); }
.urgence-band-v2tu { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.urgence-band-v2tu img { height: 44px; width: auto; }
@media (max-width: 768px) {
    .urgence-band { flex-direction: column; align-items: flex-start; gap: 18px; padding: 24px 22px; }
    .urgence-band-phone { font-size: 1.6rem; }
}

/* =========================================================
   ÉTAT "EN COURS DE CONSTRUCTION" (services)
   ========================================================= */
.wip-section { min-height: 60vh; display: grid; place-items: center; padding: 90px 0; background: var(--paper); }
.wip-inner { text-align: center; max-width: 600px; }
.wip-badge { width: 72px; height: 72px; margin: 0 auto 24px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; }
.wip-badge .ssicon { width: 36px; height: 36px; }
.wip-inner .section-tag { justify-content: center; }
.wip-title { font-family: var(--font-title); font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--navy); margin: 0 0 18px; }
.wip-text { color: var(--muted); font-size: 1.02rem; margin: 0 auto 14px; max-width: 50ch; }
.wip-actions { margin-top: 30px; display: flex; justify-content: center; }
/* Bulle patte sur fond blanc (WIP) : rouge plein + halo blanc pour ressortir */
.wip-section .btn-pair-paw { background: var(--red); color: #fff; box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--line); }

/* =========================================================
   PAGE ÉQUIPE — portraits PNG détourés (fond transparent)
   ========================================================= */
.team-head { max-width: 60ch; margin-bottom: 44px; }
.team-head-sub { color: var(--muted); font-weight: 300; margin-top: 12px; }

/* ---- Vétérinaires : carte avec portrait sur fond dégradé + bio ---- */
.team-detailed--vet { display: grid; grid-template-columns: 1fr; gap: 26px; }
.team-pro { display: grid; grid-template-columns: 260px 1fr; background: var(--paper); border: var(--bw) solid var(--line); box-shadow: var(--shadow-soft); overflow: hidden; transition: box-shadow .3s var(--ease), border-color .3s var(--ease); align-items: stretch; }
.team-pro:hover { box-shadow: var(--shadow-card); border-color: var(--red); }
.team-pro-portrait {
    position: relative; display: flex; align-items: flex-end; justify-content: center;
    background: linear-gradient(165deg, var(--navy) 0%, var(--navy-dark) 100%);
    overflow: hidden; height: 300px;
}
/* halo décoratif derrière le portrait */
.team-pro-portrait::before {
    content: ""; position: absolute; left: 50%; top: 42%; width: 180px; height: 180px;
    transform: translate(-50%, -50%); border-radius: 50% !important;
    background: radial-gradient(circle, rgba(230,51,41,.5), transparent 70%);
}
/* Portrait : hauteur fixe et cadrage uniforme pour TOUS (cover) */
.team-pro-img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.team-pro-initials { position: relative; z-index: 1; font-family: var(--font-title); font-weight: 700; font-size: 3.4rem; color: #fff; align-self: center; }
.team-pro-body { padding: 30px 32px; display: flex; flex-direction: column; }
.team-pro-tag { align-self: flex-start; font-size: 0.72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--red); background: var(--red-soft); padding: 5px 12px; margin-bottom: 14px; }
.team-pro-name { font-family: var(--font-title); font-weight: 700; font-size: 1.5rem; color: var(--navy); margin: 0 0 6px; }
.team-pro-dip { font-size: 0.9rem; color: var(--muted); margin: 0 0 16px; font-style: italic; }

/* Bio repliée par défaut (fondu en bas), dépliée via .is-expanded */
.team-pro-bio { position: relative; font-size: 0.95rem; line-height: 1.7; color: var(--ink); max-height: 5.1em; overflow: hidden; transition: max-height .4s var(--ease); }
.team-pro-bio p { margin: 0 0 .9em; }
.team-pro-bio p:last-child { margin-bottom: 0; }
.team-pro-bio::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2.4em; background: linear-gradient(transparent, var(--paper)); pointer-events: none; transition: opacity .3s var(--ease); }
.team-pro.is-expanded .team-pro-bio { max-height: 1500px; }
.team-pro.is-expanded .team-pro-bio::after { opacity: 0; }

/* Bouton Lire plus / moins */
.team-pro-toggle { align-self: flex-start; margin-top: 14px; background: none; border: none; cursor: pointer; padding: 0; font-family: var(--font-body); font-weight: 600; font-size: 0.85rem; color: var(--red); display: inline-flex; align-items: center; gap: 6px; }
.team-pro-toggle::after { content: "+"; font-size: 1.1rem; line-height: 1; }
.team-pro.is-expanded .team-pro-toggle::after { content: "–"; }
.team-pro-toggle:hover { color: var(--red-dark); }
.team-pro-toggle .tpt-less { display: none; }
.team-pro.is-expanded .team-pro-toggle .tpt-more { display: none; }
.team-pro.is-expanded .team-pro-toggle .tpt-less { display: inline; }

/* ---- ASV : grille compacte, photos uniformes ---- */
.team-detailed--asv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.team-detailed--asv .team-pro { grid-template-columns: 1fr; }
.team-detailed--asv .team-pro-portrait { height: 260px; }
.team-detailed--asv .team-pro-initials { font-size: 2.6rem; }
.team-detailed--asv .team-pro-body { padding: 22px 24px; }
.team-detailed--asv .team-pro-name { font-size: 1.2rem; }
.team-detailed--asv .team-pro-bio { font-size: 0.9rem; max-height: 4.3em; }

@media (max-width: 900px) {
    .team-detailed--asv { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
    .team-pro { grid-template-columns: 1fr; }
    .team-pro-portrait { height: 320px; }
    .team-detailed--asv { grid-template-columns: 1fr; }
    .team-detailed--asv .team-pro-portrait { height: 300px; }
}

/* Note SeeSmile sur page WIP (discrète, pour le décideur qui regarde la maquette) */
.wip-note { margin-top: 40px; padding-top: 24px; border-top: var(--bw) solid var(--line); font-size: 0.85rem; color: var(--muted); max-width: 46ch; margin-left: auto; margin-right: auto; }
.wip-note a { color: var(--red); font-weight: 600; }

/* =========================================================
   POPUP OFFRE SeeSmile / SOFTSVET (accueil)
   ========================================================= */
.ss-pop { position: fixed; inset: 0; z-index: 9998; display: flex; align-items: center; justify-content: center; padding: 20px; }
.ss-pop[hidden] { display: none; }
.ss-pop-overlay { position: absolute; inset: 0; background: rgba(18,40,51,.72); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s var(--ease); }
.ss-pop.is-open .ss-pop-overlay { opacity: 1; }
.ss-pop-box {
    position: relative; z-index: 1; width: 100%; max-width: 460px;
    background: var(--paper); border-top: 4px solid var(--red);
    box-shadow: 0 30px 70px rgba(18,40,51,.35);
    padding: 38px 36px 30px; max-height: 92vh; overflow-y: auto;
    transform: translateY(18px) scale(.98); opacity: 0;
    transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.ss-pop.is-open .ss-pop-box { transform: translateY(0) scale(1); opacity: 1; }
.ss-pop-x { position: absolute; top: 12px; right: 14px; background: none; border: none; font-size: 1.8rem; line-height: 1; color: var(--muted); cursor: pointer; padding: 4px 8px; transition: color .2s var(--ease); }
.ss-pop-x:hover { color: var(--red); }
.ss-pop-kicker { display: inline-block; font-family: var(--font-title); font-weight: 700; font-size: 0.68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); background: var(--red-soft); padding: 6px 12px; margin-bottom: 14px; }
.ss-pop-title { font-family: var(--font-title); font-weight: 700; font-size: 1.7rem; color: var(--navy); margin: 0 0 10px; line-height: 1.15; }
.ss-pop-sub { font-size: 0.92rem; color: var(--muted); margin: 0 0 20px; line-height: 1.55; }
.ss-pop-list { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ss-pop-list li { position: relative; padding-left: 26px; font-size: 0.92rem; color: var(--ink); }
.ss-pop-list li::before { content: "→"; position: absolute; left: 0; top: 0; color: var(--red); font-weight: 700; }
.ss-pop-price { background: var(--navy); color: #fff; padding: 16px 20px; display: flex; flex-direction: column; gap: 2px; margin-bottom: 16px; }
.ss-pop-price-main { font-family: var(--font-title); font-weight: 700; font-size: 1.35rem; }
.ss-pop-price-sub { font-size: 0.82rem; opacity: .85; }
.ss-pop-bonus { font-size: 0.82rem; color: var(--ink); background: var(--red-soft); padding: 12px 14px; margin: 0 0 22px; line-height: 1.5; }
.ss-pop-actions { display: flex; flex-direction: column; gap: 10px; }
.ss-pop-actions .btn-primary { width: 100%; justify-content: center; border: none; }
.ss-pop-later { background: none; border: none; cursor: pointer; font-family: var(--font-body); font-size: 0.85rem; color: var(--muted); padding: 6px; }
.ss-pop-later:hover { color: var(--navy); }
.ss-pop-foot { text-align: center; font-size: 0.76rem; color: var(--muted); margin: 14px 0 0; }
@media (max-width: 480px) {
    .ss-pop-box { padding: 32px 22px 26px; }
    .ss-pop-title { font-size: 1.4rem; }
}

/* =========================================================
   FORMULAIRE RÉFÉRÉ — cases à cocher examens + note contact
   ========================================================= */
.sf-checks { border: none; padding: 0; margin: 0; }
.sf-checks > span { font-size: 0.82rem; font-weight: 600; color: var(--navy); display: block; margin-bottom: 12px; }
.sf-checks-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.sf-check { display: flex; align-items: flex-start; gap: 9px; font-size: 0.88rem; color: var(--ink); cursor: pointer; }
.sf-check input { margin-top: 3px; flex-shrink: 0; accent-color: var(--red); }
.ref-contact-note { margin-top: 24px; padding-top: 20px; border-top: var(--bw) solid var(--line); font-size: 0.9rem; color: var(--muted); text-align: center; }
.ref-contact-note a { color: var(--red); font-weight: 600; }
@media (max-width: 560px) { .sf-checks-grid { grid-template-columns: 1fr; } }
