* {
    box-sizing: border-box;
}


:root {
    --primary: #7fa6c9;
    --primary-dark: #5f86aa;
    --primary-soft: #edf5fb;
    --primary-light: #dbeaf5;
    --primary-muted: #a9c4dd;
    --ink: #17202a;
    --muted: #596673;
    --surface: #ffffff;
    --page: #f6f8fb;
    --warm-page: #f8fafc;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--page);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--primary-light));
}

.nav {
    position: fixed;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;

    width: min(1280px, calc(100% - 32px));
    min-height: 96px;

    padding: 12px 18px;

    border-radius: 999px;

    display: grid;
    grid-template-columns: 300px 1fr auto;
    align-items: center;
    gap: 22px;

    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(0, 0, 0, .08);
    backdrop-filter: blur(22px);
    box-shadow: 0 18px 52px rgba(0, 0, 0, .10);

    transition: .25s ease;
}

.nav.is-scrolled {
    top: 10px;
    background: rgba(255,255,255,.95);
}

.logo {
    width: 300px;
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    flex-shrink: 0;
}

.logo-visual {
    width: 300px;
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.logo-image {
    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center;

    display: block;

    filter: drop-shadow(0 6px 12px rgba(0,0,0,.12));
}

.logo-text {
    display: none;
}

.nav nav {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 18px;

    color: var(--muted);

    font-size: 14px;
    font-weight: 850;

    white-space: nowrap;
    min-width: 0;
}

.nav nav a:hover {
    color: var(--primary-dark);
}

.nav-phone {
    padding: 15px 22px;
    border-radius: 999px;
    background: var(--primary-dark);
    color: white;
    font-weight: 950;
    box-shadow: 0 12px 30px rgba(95, 134, 170, .18);
    white-space: nowrap;
}

.mobile-menu-btn {
    display: none;
}

.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    color: white;
}

.hero-image {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,.84), rgba(0,0,0,.42), rgba(0,0,0,.70)),
        url("../img/hero-apic.webp") center / cover;
    transform: scale(1.08);
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(127,166,201,.18), transparent 30%),
        linear-gradient(90deg, rgba(0,0,0,.12), rgba(0,0,0,.04));
    z-index: 1;
}

.hero-noise {
    display: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    padding: 180px clamp(20px, 6vw, 90px) 80px;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: end;
    gap: 48px;
}

.label {
    margin: 0 0 18px;
    color: #dbeaf5;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.label.dark {
    color: var(--primary-dark);
}

.hero h1 {
    max-width: 920px;
    margin: 0;
    font-size: clamp(52px, 8vw, 104px);
    line-height: .88;
    letter-spacing: -.07em;
}

.hero-copy p:not(.label) {
    max-width: 720px;
    margin: 30px 0 0;
    color: #e5e5e5;
    font-size: clamp(18px, 2vw, 23px);
    line-height: 1.65;
}

.hero-actions {
    margin-top: 38px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn {
    min-height: 56px;
    padding: 0 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 950;
    transition: .22s ease;
}

.btn.red {
    background: var(--primary-dark);
    color: white;
    box-shadow: 0 12px 34px rgba(95, 134, 170, .22);
}

.btn.glass {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.22);
    backdrop-filter: blur(14px);
    color: white;
}

.call-card {
    justify-self: end;
    width: min(520px, 100%);
    padding: 34px;
    border-radius: 34px;
    background: rgba(18, 28, 40, .72);
    border: 1px solid rgba(255,255,255,.16);
    backdrop-filter: blur(18px);
    box-shadow: 0 30px 90px rgba(0,0,0,.28);
}

.call-card a {
    display: block;
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 950;
    line-height: 1;
    letter-spacing: -.04em;
    white-space: nowrap;
}

.call-card span {
    display: block;
    color: #dbeaf5;
    font-weight: 950;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.call-card p {
    margin: 22px 0 0;
    color: #d4d4d4;
    font-weight: 800;
    line-height: 1.55;
}

.apic-warning {
    margin-top: 24px !important;
    padding: 16px 18px !important;
    border-radius: 22px !important;
    background: rgba(255,255,255,.08) !important;
    border: 1px solid rgba(219,234,245,.20) !important;
    backdrop-filter: blur(10px);
}

.apic-warning strong {
    display: block;

    margin-bottom: 8px;

    color: #dbeaf5 !important;

    font-size: 11px;
    font-weight: 950;

    line-height: 1.5;

    letter-spacing: .08em;
    text-transform: uppercase;
}

.apic-warning p {
    margin: 0 !important;

    color: rgba(255,255,255,.82) !important;

    font-size: 13px !important;
    line-height: 1.65 !important;

    font-weight: 700;
}

.intro-section {
    padding: clamp(80px, 10vw, 150px) clamp(20px, 6vw, 90px);
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 70px;
    align-items: start;
}

.intro-title h2,
.section-head h2,
.process-left h2,
.who-copy h2,
.image-band-card h2,
.contact-box h2 {
    margin: 0;
    font-size: clamp(38px, 6vw, 76px);
    line-height: .94;
    letter-spacing: -.06em;
}

.intro-text {
    display: grid;
    gap: 18px;
}

.intro-text p {
    margin: 0;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.75;
}

.when-section,
.stress-section,
.timeline-section,
.partners-section,
.team-section {
    padding: clamp(90px, 10vw, 150px) clamp(20px, 6vw, 90px);
}

.section-head {
    max-width: 900px;
    margin-bottom: 42px;
}

.interactive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}

.scenario-card {
    min-height: 170px;
    padding: 24px;
    border: 1px solid rgba(0,0,0,.10);
    border-radius: 28px;
    background: rgba(255,255,255,.72);
    box-shadow: 0 18px 50px rgba(0,0,0,.055);
    text-align: left;
    cursor: pointer;
    transition: .25s ease;
}

.scenario-card:hover,
.scenario-card.active {
    transform: translateY(-5px);
    background: #fff;
    border-color: rgba(127,166,201,.35);
}

.scenario-card span {
    display: block;
    margin-bottom: 18px;
    color: var(--primary-dark);
    font-weight: 950;
}

.scenario-card strong {
    display: block;
    font-size: 22px;
    line-height: 1.08;
    letter-spacing: -.035em;
}

.scenario-panel {
    padding: clamp(28px, 4vw, 46px);
    border-radius: 34px;
    background: var(--ink);
    color: white;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px 34px;
    align-items: end;
}

.scenario-kicker {
    grid-column: 1 / -1;
    margin: 0;
    color: #dbeaf5;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .14em;
}

.scenario-panel h3 {
    margin: 0;
    font-size: clamp(30px, 4vw, 52px);
    letter-spacing: -.05em;
    transition: opacity .16s ease;
}

.scenario-panel p {
    margin: 0;
    color: #d4d4d4;
    font-size: 18px;
    line-height: 1.65;
    transition: opacity .16s ease;
}

.scenario-call {
    grid-row: 2 / 4;
    grid-column: 2;
    padding: 16px 24px;
    border-radius: 999px;
    background: var(--primary);
    color: white;
    font-weight: 950;
    white-space: nowrap;
}

.stress-section {
    background:
        radial-gradient(circle at 12% 18%, rgba(127,166,201,.05), transparent 30%),
        var(--warm-page);
}

.stress-lab {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 34px;
    align-items: stretch;
}

.stress-map {
    position: relative;
    min-height: 600px;
    border-radius: 42px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,255,255,.82));
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 22px 60px rgba(0,0,0,.055);
    overflow: hidden;
}

.stress-map::before {
    content: "";
    position: absolute;
    inset: 26px;
    border-radius: 36px;
    border: 1px dashed rgba(127,166,201,.22);
}

.stress-map::after {
    content: "";
    position: absolute;
    inset: 82px;
    border-radius: 50%;
    border: 1px solid rgba(127,166,201,.10);
    animation: rotateSoft 18s linear infinite;
}

.stress-orbit {
    display: none;
}

.stress-orbit span {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--primary);
    box-shadow: 0 0 22px rgba(127,166,201,.7);
}

.stress-orbit span:nth-child(1) {
    top: 0;
    left: 50%;
}

.stress-orbit span:nth-child(2) {
    top: 50%;
    right: 0;
}

.stress-orbit span:nth-child(3) {
    bottom: 0;
    left: 50%;
}

.stress-orbit span:nth-child(4) {
    top: 50%;
    left: 0;
}

@keyframes rotateSoft {
    to {
        transform: rotate(360deg);
    }
}

.stress-center {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(310px, 62%);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    display: grid;
    place-items: center;
    align-content: center;
    text-align: center;
    background:
        radial-gradient(circle at 50% 36%, rgba(127,166,201,.34), transparent 42%),
        radial-gradient(circle, rgba(255,255,255,.06), transparent 58%),
        var(--ink);
    color: white;
    box-shadow:
        0 28px 80px rgba(0,0,0,.24),
        inset 0 0 0 1px rgba(255,255,255,.08);
    overflow: hidden;
}

.stress-center::before {
    content: "";
    position: absolute;
    inset: 20px;
    border-radius: 50%;
    border: 1px solid rgba(169,196,221,.35);
}

.stress-center::after {
    display: none;
}

.stress-scene {
    position: relative;
    z-index: 3;
    min-height: 118px;
    display: grid;
    place-items: center;
    margin-bottom: 10px;
    transition: opacity .18s ease, transform .18s ease;
}

.scene-human {
    font-size: 58px;
    filter: drop-shadow(0 0 22px rgba(169,196,221,.65));
    animation: humanBreath 2.8s ease-in-out infinite;
}

.scene-bubble {
    position: absolute;
    top: 0;
    left: 50%;
    min-width: 128px;
    padding: 10px 14px;
    border-radius: 28px;
    transform: translateX(-50%);
    background: rgba(169,196,221,.18);
    border: 1px solid rgba(169,196,221,.34);
    box-shadow: 0 18px 42px rgba(127,166,201,.25);
    font-size: 25px;
    animation: bubbleFloat 3.8s ease-in-out infinite;
}

.scene-bubble::after {
    content: "";
    position: absolute;
    left: 42%;
    bottom: -12px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(169,196,221,.18);
    border: 1px solid rgba(169,196,221,.30);
}

@keyframes humanBreath {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.06);
    }
}

@keyframes bubbleFloat {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.stress-center strong {
    position: relative;
    z-index: 3;
    font-size: clamp(24px, 3vw, 42px);
    font-weight: 950;
    letter-spacing: -.04em;
}

.stress-center small {
    position: relative;
    z-index: 3;
    margin-top: 8px;
    color: #dbeaf5;
    font-weight: 900;
}

.pulse-ring {
    display: none;
}

.pulse-ring.second {
    animation-delay: 1.1s;
}

@keyframes pulseRing {
    0% {
        transform: scale(.65);
        opacity: .9;
    }

    100% {
        transform: scale(1.45);
        opacity: 0;
    }
}

.stress-bubble {
    position: absolute;
    z-index: 5;
    min-width: 148px;
    padding: 14px 18px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,.10);
    background: rgba(255,255,255,.92);
    color: var(--ink);
    box-shadow: 0 18px 45px rgba(0,0,0,.09);
    font-weight: 950;
    cursor: pointer;
    transition: .25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.stress-icon {
    font-size: 24px;
    line-height: 1;
}

.stress-bubble.active,
.stress-bubble:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 22px 55px rgba(127,166,201,.30);
}

.stress-bubble[data-tab="images"] {
    left: 8%;
    top: 16%;
}

.stress-bubble[data-tab="corps"] {
    right: 8%;
    top: 18%;
}

.stress-bubble[data-tab="emotions"] {
    left: 6%;
    bottom: 18%;
}

.stress-bubble[data-tab="sommeil"] {
    right: 7%;
    bottom: 16%;
}

.stress-bubble[data-tab="distance"] {
    left: 50%;
    bottom: 6%;
    transform: translateX(-50%);
}

.stress-bubble[data-tab="distance"].active,
.stress-bubble[data-tab="distance"]:hover {
    transform: translateX(-50%) translateY(-4px) scale(1.03);
}

.stress-explain {
    position: relative;
    padding: clamp(32px, 5vw, 58px);
    border-radius: 42px;
    background:
        radial-gradient(circle at top right, rgba(127,166,201,.20), transparent 32%),
        var(--ink);
    color: white;
    overflow: hidden;
    box-shadow: 0 34px 100px rgba(0,0,0,.18);
}

.stress-explain::before {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -120px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: rgba(127,166,201,.22);
    filter: blur(50px);
}

.stress-tag {
    position: relative;
    z-index: 2;
    display: inline-flex;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.14);
    color: #dbeaf5;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.stress-explain h3 {
    position: relative;
    z-index: 2;
    margin: 34px 0 22px;
    font-size: clamp(40px, 6vw, 76px);
    line-height: .9;
    letter-spacing: -.065em;
    transition: opacity .16s ease, transform .16s ease;
}

.stress-explain p {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0;
    color: #e5e5e5;
    font-size: 20px;
    line-height: 1.75;
    transition: opacity .16s ease, transform .16s ease;
}

.stress-points {
    position: relative;
    z-index: 2;
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.stress-points span {
    padding: 12px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    color: #f5f5f5;
    font-weight: 850;
    animation: pointPop .28s ease both;
}

@keyframes pointPop {
    from {
        opacity: 0;
        transform: translateY(8px) scale(.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.image-band {
    position: relative;
    min-height: 680px;
    margin: 0 clamp(20px, 6vw, 90px);
    border-radius: 42px;
    overflow: hidden;
    display: flex;
    align-items: end;
    padding: clamp(28px, 5vw, 64px);
    color: white;
}

.image-band-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,.76), rgba(0,0,0,.20)),
        url("../img/chablais-night.webp") center / cover;
    transform: scale(1.08);
    will-change: transform;
}

.image-band-card {
    position: relative;
    z-index: 2;
    width: min(760px, 100%);
    padding: clamp(28px, 5vw, 52px);
    border-radius: 34px;
    background: rgba(0,0,0,.58);
    border: 1px solid rgba(255,255,255,.16);
    backdrop-filter: blur(18px);
}

.image-band-card p:not(.label) {
    margin: 24px 0 0;
    color: #e5e5e5;
    font-size: 18px;
    line-height: 1.75;
}

.timeline-section {
    background: var(--page);
}

.timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.timeline-item {
    position: relative;
    min-height: 320px;
    padding: 30px;
    border-radius: 32px;
    background: rgba(255,255,255,.75);
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 20px 60px rgba(0,0,0,.06);
    overflow: hidden;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: 30px;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(var(--primary-dark), transparent);
    opacity: .35;
}

.timeline-item span,
.timeline-item h3,
.timeline-item p {
    position: relative;
    z-index: 2;
    margin-left: 18px;
}

.timeline-item span {
    display: block;
    color: var(--primary-dark);
    font-weight: 950;
    margin-bottom: 80px;
}

.timeline-item h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 30px;
    letter-spacing: -.04em;
}

.timeline-item p {
    color: var(--muted);
    line-height: 1.7;
}

.who-section {
    padding: clamp(90px, 10vw, 150px) clamp(20px, 6vw, 90px);
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 50px;
    align-items: start;
    background: var(--warm-page);
}

.who-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.who-tags span {
    padding: 14px 18px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,.10);
    box-shadow: 0 14px 35px rgba(0,0,0,.05);
    font-weight: 900;
    color: #262626;
}

.phone-strip {
    margin: 0 clamp(20px, 6vw, 90px);
    padding: clamp(34px, 5vw, 64px);
    border-radius: 38px;
    background:
        radial-gradient(circle at 80% 20%, rgba(255,255,255,.16), transparent 28%),
        var(--primary-dark);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    box-shadow: 0 30px 90px rgba(127, 166, 201, .25);
}

.phone-strip span {
    color: #dbeaf5;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 950;
}

.phone-strip strong {
    display: block;
    margin-top: 10px;
    font-size: clamp(46px, 8vw, 92px);
    line-height: .9;
    letter-spacing: -.07em;
}

.phone-strip p {
    max-width: 720px;
    margin: 18px 0 0;
    color: #eaf3fa;
    font-weight: 800;
    line-height: 1.55;
}

.phone-strip a {
    flex: 0 0 auto;
    padding: 17px 28px;
    border-radius: 999px;
    background: white;
    color: var(--primary-dark);
    font-weight: 950;
}

.partners-section {
    background: var(--page);
}

.partners-intro {
    max-width: 760px;
    margin: -16px 0 42px;
}

.partners-intro p {
    margin: 0;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.75;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 18px;
}

.partner-card {
    min-height: 190px;
    padding: 28px;
    border-radius: 30px;
    background: rgba(255,255,255,.74);
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 20px 60px rgba(0,0,0,.06);
    display: grid;
    place-items: center;
    gap: 18px;
    text-align: center;
}

.partner-card img {
    max-width: 170px;
    max-height: 82px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .84;
    transition: .25s ease;
}

.partner-card:hover img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.04);
}

.partner-card span {
    color: #404040;
    font-weight: 900;
    line-height: 1.25;
}

.team-section {
    overflow: hidden;
    background: var(--warm-page);
}

.team-shell {
    position: relative;
}

.team-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 8px 4px 30px;
}

.team-track::-webkit-scrollbar {
    display: none;
}

.member {
    flex: 0 0 340px;
    min-height: 460px;
    border-radius: 36px;
    overflow: hidden;
    background: #111923;
    color: white;
    position: relative;
    box-shadow: 0 30px 90px rgba(0,0,0,.16);
    isolation: isolate;
}

.member-photo {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    transition: transform .5s ease;
}

.member:hover .member-photo {
    transform: scale(1.07);
}

.member::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.92) 8%,
            rgba(0,0,0,.55) 34%,
            rgba(0,0,0,.08) 68%
        );
}

.member > div:last-child {
    position: absolute;
    z-index: 2;
    left: 24px;
    right: 24px;
    bottom: 24px;
}

.member h3 {
    margin: 0 0 8px;
    font-size: 30px;
    letter-spacing: -.04em;
}

.member p {
    margin: 0;
    color: #dbeaf5;
    font-weight: 900;
}

.slider-btn {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 50%;
    background: var(--ink);
    color: white;
    font-size: 36px;
    cursor: pointer;
    box-shadow: 0 18px 45px rgba(0,0,0,.24);
}

.slider-btn.left {
    left: -12px;
}

.slider-btn.right {
    right: -12px;
}

.contact-section {
    position: relative;
    min-height: 650px;
    padding: clamp(80px, 10vw, 150px) clamp(20px, 6vw, 90px);
    display: flex;
    align-items: center;
    overflow: hidden;
    color: white;
}

.contact-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.35)),
        url("../img/team-bg.webp") center / cover;
    transform: scale(1.08);
    will-change: transform;
}

.contact-box {
    position: relative;
    z-index: 2;
    width: min(760px, 100%);
    padding: clamp(30px, 5vw, 58px);
    border-radius: 38px;
    background: rgba(0,0,0,.58);
    border: 1px solid rgba(255,255,255,.16);
    backdrop-filter: blur(18px);
}

.contact-box p:not(.label) {
    color: #e5e5e5;
    font-size: 18px;
    line-height: 1.75;
}

.big-phone {
    display: inline-block;
    margin-top: 26px;
    font-size: clamp(38px, 6vw, 72px);
    font-weight: 950;
    letter-spacing: -.06em;
    color: #dbeaf5;
}

.site-footer {
    background: #111923;
    color: #d4d4d4;
}

.footer-main {
    padding: clamp(50px, 7vw, 90px) clamp(20px, 6vw, 90px);
    display: grid;
    grid-template-columns: 1.4fr .8fr .8fr;
    gap: 48px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    color: white;
}

.footer-logo img {
    width: 140px;
    height: auto;
    object-fit: contain;
    background: white;
    padding: 8px;
    border-radius: 14px;
}

.footer-logo span {
    display: grid;
    gap: 5px;
}

.footer-logo strong {
    font-size: 22px;
    font-weight: 950;
}

.footer-logo small {
    color: #dbeaf5;
    font-weight: 800;
}

.footer-main p {
    max-width: 560px;
    margin: 24px 0 0;
    color: #a3a3a3;
    line-height: 1.7;
}

.footer-links,
.footer-contact {
    display: grid;
    align-content: start;
    gap: 12px;
}

.footer-links h3,
.footer-contact h3 {
    margin: 0 0 8px;
    color: white;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.footer-links a {
    color: #cfcfcf;
}

.footer-links a:hover {
    color: #dbeaf5;
}

.footer-contact a {
    color: #dbeaf5;
    font-size: 30px;
    font-weight: 950;
    letter-spacing: -.04em;
}

.footer-contact span {
    color: #a3a3a3;
    font-weight: 800;
}

.footer-bottom {
    padding: 22px clamp(20px, 6vw, 90px);
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    color: #a3a3a3;
    font-size: 14px;
}

.footer-bottom a {
    color: white;
    font-weight: 800;
}

.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .8s ease, transform .8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.tilt-card {
    transform-style: preserve-3d;
    transition: transform .15s ease, box-shadow .2s ease;
}

.magnetic {
    transition: transform .12s ease;
}

@media (max-width: 1180px) {
    .nav {
        width: min(1080px, calc(100% - 24px));
        grid-template-columns: 240px 1fr auto;
        gap: 16px;
    }

    .logo,
    .logo-visual {
        width: 240px;
        height: 64px;
    }

    .nav nav {
        gap: 12px;
        font-size: 12px;
    }

    .nav-phone {
        padding: 13px 16px;
        font-size: 13px;
    }

    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 980px) {
    .nav nav {
        display: none;
    }

    .hero-inner,
    .intro-section,
    .who-section,
    .timeline,
    .interactive-grid,
    .stress-lab {
        grid-template-columns: 1fr;
    }

    .scenario-panel {
        grid-template-columns: 1fr;
    }

    .scenario-call {
        grid-row: auto;
        grid-column: auto;
        width: fit-content;
    }

    .call-card {
        justify-self: start;
    }

    .phone-strip {
        align-items: flex-start;
        flex-direction: column;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .stress-map {
        min-height: 520px;
    }
}

@media (max-width: 640px) {
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        transform: none;

        width: 100%;
        min-height: auto;

        border-radius: 0;
        padding: 12px 14px;

        display: grid;
        grid-template-columns: 1fr auto;
        gap: 12px;
    }

    .logo,
    .logo-visual {
        width: 220px;
        max-width: 100%;
        height: 58px;
        justify-content: flex-start;
    }

    .mobile-menu-btn {
        display: grid;
        gap: 6px;
        border: 0;
        background: transparent;
        padding: 10px;
        cursor: pointer;
        margin-left: auto;
    }

    .mobile-menu-btn span {
        width: 28px;
        height: 2px;
        background: var(--ink);
    }

    .nav-phone {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .nav.menu-open nav {
        display: grid;
        width: 100%;
        gap: 12px;
        text-align: center;
        padding: 16px 0 4px;
    }

    .hero-inner {
        padding-top: 150px;
        padding-bottom: 60px;
    }

    .hero h1 {
        font-size: clamp(46px, 15vw, 72px);
    }

    .hero-actions,
    .btn,
    .phone-strip a {
        width: 100%;
    }

    .scenario-card {
        min-height: 140px;
    }

    .stress-map {
        min-height: 600px;
    }

    .stress-bubble {
        min-width: auto;
        padding: 12px 14px;
        font-size: 13px;
    }

    .stress-icon {
        font-size: 20px;
    }

    .stress-bubble[data-tab="images"] {
        left: 5%;
        top: 12%;
    }

    .stress-bubble[data-tab="corps"] {
        right: 5%;
        top: 13%;
    }

    .stress-bubble[data-tab="emotions"] {
        left: 5%;
        bottom: 20%;
    }

    .stress-bubble[data-tab="sommeil"] {
        right: 5%;
        bottom: 20%;
    }

    .stress-bubble[data-tab="distance"] {
        bottom: 7%;
    }

    .scene-human {
        font-size: 46px;
    }

    .scene-bubble {
        min-width: 110px;
        font-size: 20px;
    }

    .image-band {
        min-height: 560px;
        border-radius: 30px;
    }

    .slider-btn {
        display: none;
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }
}


.who-section {
    position: relative;

    padding:
        clamp(100px, 10vw, 160px)
        clamp(20px, 6vw, 90px);

    overflow: hidden;

    background:
        radial-gradient(circle at top left,
        rgba(127,166,201,.08),
        transparent 28%),

        linear-gradient(
            180deg,
            var(--warm-page) 0%,
            #f8f4ef 100%
        );
}

.who-background {
    position: absolute;
    inset: 0;

    opacity: .4;

    background:
        radial-gradient(circle at 20% 20%,
        rgba(127,166,201,.10),
        transparent 20%),

        radial-gradient(circle at 80% 80%,
        rgba(0,0,0,.06),
        transparent 26%);
}

.who-copy {
    position: relative;
    z-index: 2;

    max-width: 980px;

    margin-bottom: 64px;
}

.who-copy h2 {
    margin: 0;

    font-size: clamp(42px, 6vw, 82px);

    line-height: .92;
    letter-spacing: -.07em;
}

.who-description {
    max-width: 760px;

    margin-top: 28px;

    color: var(--muted);

    font-size: 20px;
    line-height: 1.8;
}

.who-grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 24px;
}

.who-card {
    position: relative;

    min-height: 280px;

    padding: 34px;

    border-radius: 34px;

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.95),
            rgba(255,255,255,.74)
        );

    border: 1px solid rgba(0,0,0,.08);

    box-shadow:
        0 24px 60px rgba(0,0,0,.06);

    transition:
        transform .24s ease,
        box-shadow .24s ease,
        border-color .24s ease;
}

.who-card::before {
    display: none;
}

.who-card:hover {
    transform:
        translateY(-8px)
        scale(1.01);

    border-color: rgba(127,166,201,.22);

    box-shadow:
        0 36px 90px rgba(0,0,0,.10);
}

.who-card:hover::before {
    opacity: 1;
}

.who-icon {
    width: 84px;
    height: 84px;

    border-radius: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 42px;

    background: var(--primary-dark);

    color: white;

    box-shadow:
        0 14px 34px rgba(95,134,170,.18);

    animation: none;
}

.who-card:nth-child(2) .who-icon {
    animation-delay: -.6s;
}

.who-card:nth-child(3) .who-icon {
    animation-delay: -1.2s;
}

.who-card:nth-child(4) .who-icon {
    animation-delay: -1.8s;
}

.who-card:nth-child(5) .who-icon {
    animation-delay: -2.4s;
}

.who-card:nth-child(6) .who-icon {
    animation-delay: -3s;
}

@keyframes whoFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.who-content {
    margin-top: 28px;
}

.who-content h3 {
    margin: 0 0 14px;

    font-size: 30px;

    line-height: 1;

    letter-spacing: -.04em;

    color: var(--ink);
}

.who-content p {
    margin: 0;

    color: var(--muted);

    font-size: 17px;

    line-height: 1.8;
}

@media (max-width: 980px) {

    .who-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {

    .who-section { 
        padding:
            90px 20px;
    }

    .who-grid {
        grid-template-columns: 1fr;
    }

    .who-card {
        min-height: auto;
    }

    .who-copy h2 {
        font-size: clamp(42px, 13vw, 64px);
    }

    .who-description {
        font-size: 18px;
    }
}

.members-intro-section {
    padding: clamp(90px, 10vw, 150px) clamp(20px, 6vw, 90px);
    background:
        radial-gradient(circle at 85% 20%, rgba(127,166,201,.08), transparent 28%),
        var(--page);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 54px;
    align-items: start;
}

.members-intro-copy h2 {
    margin: 0;
    font-size: clamp(42px, 6vw, 82px);
    line-height: .92;
    letter-spacing: -.07em;
}

.members-intro-copy p:not(.label) {
    margin-top: 28px;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.8;
}

.members-role-grid {
    display: grid;
    gap: 18px;
}

.members-role-grid article {
    padding: 28px;
    border-radius: 30px;
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 20px 60px rgba(0,0,0,.06);
}

.members-role-grid span {
    display: inline-flex;
    margin-bottom: 18px;
    font-size: 36px;
}

.members-role-grid h3 {
    margin: 0 0 12px;
    font-size: 28px;
    letter-spacing: -.04em;
}

.members-role-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}

@media (max-width: 980px) {
    .members-intro-section {
        grid-template-columns: 1fr;
    }
}
/* === PATCH RESPONSIVE + HERO SLIDER + LEGAL + COOKIES === */
.hero-slideshow {
    position: absolute;
    inset: 0;
    transform: scale(1.08);
    will-change: transform;
    overflow: hidden;
    background: #111923;
}

.hero-slide {
    position: absolute;
    inset: -2%;
    opacity: 0;
    background-position: center;
    background-size: cover;
    transform: scale(1.12) rotate(.001deg);
    filter: saturate(.9) contrast(1.05);
    transition:
        opacity 1.15s cubic-bezier(.2,.8,.2,1),
        transform 5.4s cubic-bezier(.16,1,.3,1),
        filter 1.15s ease;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,.86), rgba(0,0,0,.40), rgba(0,0,0,.72)),
        radial-gradient(circle at 22% 34%, rgba(127,166,201,.35), transparent 32%);
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.14) 42%, transparent 58%);
    transform: translateX(-120%) skewX(-16deg);
    opacity: 0;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1.02);
    filter: saturate(1.08) contrast(1.08);
    z-index: 2;
}

.hero-slide.active::after {
    animation: heroLightSweep 1.35s cubic-bezier(.16,1,.3,1) .16s both;
}

.hero-slide.previous {
    opacity: 0;
    transform: scale(1.18) translateX(-1.5%);
    z-index: 1;
}

@keyframes heroLightSweep {
    0% { opacity: 0; transform: translateX(-120%) skewX(-16deg); }
    18% { opacity: .8; }
    100% { opacity: 0; transform: translateX(120%) skewX(-16deg); }
}

.hero-dots {
    position: absolute;
    left: clamp(20px, 6vw, 90px);
    bottom: 34px;
    z-index: 5;
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 42px;
    height: 7px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.34);
    cursor: pointer;
    transition: .28s ease;
}

.hero-dot.active {
    width: 76px;
    background: #fff;
    box-shadow: 0 0 30px rgba(255,255,255,.45);
}

.legal-hero {
    position: relative;
    min-height: 56vh;
    overflow: hidden;
    color: white;
    display: grid;
    align-items: end;
    padding: 180px clamp(20px, 6vw, 90px) 70px;
}

.legal-hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,.86), rgba(0,0,0,.42)),
        url("../img/hero-apic.webp") center / cover;
    transform: scale(1.06);
}

.legal-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.legal-hero h1 {
    margin: 0;
    font-size: clamp(46px, 8vw, 96px);
    line-height: .9;
    letter-spacing: -.07em;
}

.legal-hero p:not(.label) {
    max-width: 720px;
    color: #e5e5e5;
    font-size: clamp(18px, 2vw, 23px);
    line-height: 1.65;
}

.legal-section {
    padding: clamp(70px, 9vw, 130px) clamp(20px, 6vw, 90px);
    background: var(--page);
}

.legal-card {
    max-width: 980px;
    padding: clamp(28px, 5vw, 58px);
    border-radius: 34px;
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 24px 70px rgba(0,0,0,.08);
}

.legal-card h2 {
    margin: 38px 0 12px;
    font-size: clamp(26px, 4vw, 42px);
    letter-spacing: -.045em;
}

.legal-card h2:first-child {
    margin-top: 0;
}

.legal-card p {
    margin: 0;
    color: #4a4a4a;
    font-size: 18px;
    line-height: 1.75;
}

.legal-card a {
    color: var(--primary-dark);
    font-weight: 900;
}

.cookie-banner {
    position: fixed;
    inset: auto 18px 18px 18px;
    z-index: 10000;
    display: grid;
    place-items: center;
    pointer-events: none;
    opacity: 0;
    transform: translateY(16px);
    transition: .28s ease;
}

.cookie-banner.visible {
    opacity: 1;
    transform: translateY(0);
}

.cookie-card {
    width: min(980px, 100%);
    padding: 20px;
    border-radius: 28px;
    background: rgba(17,17,17,.94);
    color: white;
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 30px 90px rgba(0,0,0,.35);
    backdrop-filter: blur(18px);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: center;
    pointer-events: auto;
}

.cookie-kicker {
    margin: 0 0 8px;
    color: #dbeaf5;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.cookie-card h2 {
    margin: 0 0 8px;
    font-size: 24px;
    letter-spacing: -.04em;
}

.cookie-card p:not(.cookie-kicker) {
    margin: 0;
    color: #d4d4d4;
    line-height: 1.55;
}

.cookie-options {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.cookie-options label {
    padding: 13px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.10);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 850;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.cookie-btn {
    border: 0;
    border-radius: 999px;
    padding: 12px 16px;
    font-weight: 950;
    cursor: pointer;
}

.cookie-btn.dark {
    background: var(--primary);
    color: white;
}

.cookie-btn.light {
    background: white;
    color: var(--ink);
}

.cookie-btn.ghost {
    background: rgba(255,255,255,.10);
    color: white;
    border: 1px solid rgba(255,255,255,.14);
}

[hidden] {
    display: none !important;
}

@media (max-width: 1180px) {
    .nav { grid-template-columns: 220px auto auto; }
}

@media (max-width: 980px) {
    .nav {
        grid-template-columns: minmax(190px, 1fr) auto auto;
    }

    .mobile-menu-btn {
        display: grid;
        gap: 6px;
        border: 0;
        background: transparent;
        padding: 10px;
        cursor: pointer;
    }

    .mobile-menu-btn span {
        width: 28px;
        height: 2px;
        background: var(--ink);
    }

    .nav.menu-open nav {
        display: grid;
        grid-column: 1 / -1;
        width: 100%;
        gap: 12px;
        padding: 16px 0 6px;
        text-align: center;
    }

    .cookie-card {
        grid-template-columns: 1fr;
    }

    .cookie-actions {
        justify-content: stretch;
    }

    .cookie-btn {
        flex: 1 1 150px;
    }
}

@media (max-width: 720px) {
    .nav {
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        border-radius: 0;
        padding: 10px 12px;
        grid-template-columns: 1fr auto;
    }

    .nav-phone {
        grid-column: 1 / -1;
        width: 100%;
        padding: 12px 14px;
    }

    .logo,
    .logo-visual {
        width: min(210px, 100%);
        height: 54px;
    }

    .hero-inner {
        min-height: 100svh;
        padding: 170px 18px 86px;
        gap: 28px;
        align-items: end;
    }

    .hero-copy p:not(.label) {
        margin-top: 22px;
        font-size: 17px;
        line-height: 1.55;
    }

    .call-card {
        padding: 24px;
        border-radius: 26px;
    }

    .hero-dots {
        left: 18px;
        right: 18px;
        bottom: 22px;
    }

    .hero-dot {
        flex: 1;
        width: auto;
    }

    .hero-dot.active {
        width: auto;
        flex: 1.8;
    }

    .interactive-grid,
    .partners-grid,
    .timeline,
    .stress-lab,
    .who-section,
    .intro-section {
        gap: 16px;
    }

    .scenario-panel,
    .stress-explain,
    .legal-card,
    .image-band-card,
    .contact-box {
        border-radius: 24px;
    }

    .stress-map {
        min-height: 520px;
        border-radius: 28px;
    }

    .stress-center {
        width: min(250px, 70%);
    }

    .stress-bubble span:last-child {
        display: none;
    }

    .stress-bubble {
        min-width: 52px;
        width: 52px;
        height: 52px;
        padding: 0;
    }

    .phone-strip strong,
    .big-phone {
        word-break: break-word;
    }

    .legal-hero {
        min-height: 52vh;
        padding: 160px 18px 54px;
    }

    .cookie-banner {
        inset: auto 10px 10px 10px;
    }

    .cookie-card {
        padding: 16px;
        border-radius: 22px;
    }

    .cookie-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .hero h1,
    .legal-hero h1 {
        letter-spacing: -.055em;
    }

    .hero-actions {
        gap: 10px;
    }

    .btn {
        min-height: 52px;
        padding: 0 18px;
    }

    .member {
        flex-basis: 92%;
        min-height: 410px;
    }

    .footer-logo {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =========================================================
   APIC FINAL PUBLIC RESPONSIVE + SAFARI + TEAM CAROUSEL
========================================================= */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

img,
video,
iframe,
svg {
    max-width: 100%;
}

button,
input,
select,
textarea {
    max-width: 100%;
}

button,
.scenario-card {
    appearance: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
}

.scenario-card {
    border: 1px solid rgba(0,0,0,.10);
    outline: none;
    background: rgba(255,255,255,.72);
    color: var(--ink);
}

.scenario-card:hover,
.scenario-card:focus,
.scenario-card:active {
    background: #fff;
    color: var(--ink);
    border-color: rgba(127,166,201,.35);
}

.scenario-card.active,
.scenario-card.active:hover,
.scenario-card.active:focus,
.scenario-card.active span,
.scenario-card.active:active {
    background: var(--primary-dark);
    color: #fff;
    border-color: rgba(127,166,201,.55);
}

/* Safari iPhone */
@supports (-webkit-touch-callout: none) {
    .nav {
        padding-top: calc(10px + env(safe-area-inset-top));
    }

    @media (max-width: 720px) {
        .nav {
            top: 0;
            padding-top: calc(10px + env(safe-area-inset-top));
        }

        .hero-inner {
            padding-top: calc(158px + env(safe-area-inset-top)) !important;
        }
    }

    @media (max-width: 420px) {
        .hero-inner {
            padding-top: calc(142px + env(safe-area-inset-top)) !important;
        }
    }
}

/* Navigation / structure mobile */
@media (max-width: 1024px) {
    .nav {
        grid-template-columns: minmax(170px, 1fr) auto auto;
        min-height: 74px;
        border-radius: 28px;
        padding: 10px 12px;
    }

    .logo,
    .logo-visual {
        width: min(210px, 52vw);
        height: 56px;
        justify-content: flex-start;
    }

    .mobile-menu-btn {
        display: grid !important;
        place-items: center;
        gap: 6px;
        width: 46px;
        height: 46px;
        border: 0;
        border-radius: 999px;
        background: #f3f0ea;
    }

    .mobile-menu-btn span {
        width: 24px;
        height: 2px;
        background: var(--ink);
        display: block;
    }

    .nav nav {
        display: none;
    }

    .nav.menu-open nav {
        display: grid !important;
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
        padding: 12px 0 4px;
    }

    .nav.menu-open nav a {
        min-height: 44px;
        display: grid;
        place-items: center;
        padding: 10px;
        border-radius: 14px;
        background: rgba(127,166,201,.07);
        white-space: normal;
        text-align: center;
    }

    .hero-inner,
    .intro-section,
    .who-section,
    .timeline,
    .interactive-grid,
    .stress-lab,
    .members-intro-section,
    .footer-main {
        grid-template-columns: 1fr !important;
    }

    .partners-grid,
    .who-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 720px) {
    .nav {
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        border-radius: 0 0 22px 22px;
        grid-template-columns: minmax(0, 1fr) auto;
        box-shadow: 0 16px 44px rgba(0,0,0,.14);
    }

    .logo,
    .logo-visual {
        width: min(210px, 100%);
        height: 54px;
    }

    .nav-phone {
        grid-column: 1 / -1;
        width: 100%;
        text-align: center;
        padding: 12px 14px;
        display: block;
    }

    .nav.menu-open nav {
        grid-template-columns: 1fr;
        max-height: calc(100svh - 150px);
        overflow: auto;
        overscroll-behavior: contain;
    }

    .hero-inner {
        min-height: 100svh;
        padding: 158px 18px 54px;
        gap: 28px;
    }

    .hero h1,
    .legal-hero h1,
    .intro-title h2,
    .who-copy h2,
    .members-intro-copy h2 {
        letter-spacing: -.05em;
        word-break: normal;
        overflow-wrap: anywhere;
    }

    .hero-copy p:not(.label) {
        font-size: 16px;
        line-height: 1.55;
    }

    .hero-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .btn,
    .hero-actions a,
    .main-action {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    section,
    .intro-section,
    .who-section,
    .timeline-section,
    .stress-section,
    .team-section,
    .partners-section,
    .contact-section,
    .legal-section,
    .members-intro-section {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .partners-grid,
    .who-grid {
        grid-template-columns: 1fr !important;
    }

    .scenario-panel,
    .stress-explain,
    .call-card,
    .legal-card,
    .contact-box,
    .image-band-card,
    .members-role-grid article {
        border-radius: 22px !important;
        padding: 22px !important;
    }

    .stress-map {
        min-height: 480px !important;
    }

    .stress-center {
        width: min(220px, 68vw) !important;
        height: min(220px, 68vw) !important;
    }

    .stress-bubble {
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        padding: 0 !important;
        display: grid !important;
        place-items: center !important;
    }

    .stress-bubble span:last-child {
        display: none !important;
    }

    .big-phone {
        overflow-wrap: anywhere;
        font-size: clamp(30px, 10vw, 52px) !important;
    }

    .cookie-banner {
        inset: auto 10px 10px 10px !important;
    }

    .cookie-card,
    .cookie-options,
    .cookie-actions {
        grid-template-columns: 1fr !important;
    }

    .cookie-actions .cookie-btn {
        width: 100%;
    }

    /* Suppression du bug Safari/gros blanc sur mobile */
    .phone-strip {
        display: none !important;
    }
}

@media (max-width: 420px) {
    .logo,
    .logo-visual {
        width: min(185px, 68vw);
        height: 48px;
    }

    .nav-phone {
        font-size: 13px;
    }

    .hero-inner {
        padding-top: 142px;
    }

    .hero h1 {
        font-size: clamp(38px, 13vw, 56px);
    }
}

/* =========================================================
   TEAM CAROUSEL - syncro correcte + espace entre cartes
========================================================= */

.team-section {
    overflow: hidden;
    background: var(--warm-page);
}

.team-shell {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.team-track {
    --team-gap: 24px;
    --team-card-width: 340px;

    display: flex;
    gap: var(--team-gap);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 8px 4px 30px;
}

.team-track::-webkit-scrollbar {
    display: none;
}

.team-track .member {
    flex: 0 0 var(--team-card-width);
    min-width: var(--team-card-width);
    max-width: var(--team-card-width);
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

@media (max-width: 980px) {
    .team-track {
        --team-gap: 18px;
        --team-card-width: calc((100% - var(--team-gap)) / 2);

        gap: var(--team-gap) !important;
        padding: 8px 0 26px !important;
        scroll-padding-left: 0;
    }

    .team-track .member {
        flex-basis: var(--team-card-width) !important;
        min-width: var(--team-card-width) !important;
        max-width: var(--team-card-width) !important;
    }
}

@media (max-width: 640px) {
    .team-section {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .team-section .section-head {
        margin-bottom: 28px;
    }

    .team-track {
        --team-gap: 16px;
        --team-card-width: calc(100% - 34px);

        gap: var(--team-gap) !important;
        padding: 0 17px 24px 0 !important;
        scroll-padding-left: 0;
    }

    .team-track .member {
        flex-basis: var(--team-card-width) !important;
        min-width: var(--team-card-width) !important;
        max-width: var(--team-card-width) !important;
        min-height: 440px;
        border-radius: 30px;
    }

    .member > div:last-child {
        left: 20px;
        right: 20px;
        bottom: 22px;
    }

    .member h3 {
        font-size: 28px;
        line-height: 1;
        word-break: normal;
        overflow-wrap: anywhere;
    }

    .member p {
        font-size: 15px;
        line-height: 1.35;
    }

    .member-photo {
        background-position: center top;
    }

    .slider-btn {
        display: none !important;
    }
}

@media (max-width: 420px) {
    .team-section {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .team-track {
        --team-gap: 14px;
        --team-card-width: calc(100% - 28px);
        padding-right: 14px !important;
    }

    .team-track .member {
        min-height: 400px;
        border-radius: 26px;
    }

    .member h3 {
        font-size: 25px;
    }
}

/* END APIC FINAL PUBLIC RESPONSIVE */
