/* =====================================================
   ProspecTIK, design tokens (Leexi-inspired palette)
   ===================================================== */
:root {
    /* Primary (ProspecTIK blue, from the logo #3a649e) */
    --primary-50:  #f2f6fb;
    --primary-100: #e2ebf6;
    --primary-600: #3a649e;
    --primary-950: #182a43;

    /* Orange de marque, accents du blog et de l'annuaire */
    --accent-orange: #e16e13;
    /* Declinaisons de l'orange : clair (sur fond sombre), fonce (texte sur fond clair,
       contraste AA), fond pale des chips */
    --amber-300: #f0a868;
    --amber-600: #b35406;
    --amber-50: #fdf0e2;

    /* Text */
    --text-dark: #182a43;
    --text-muted: #5b6472;

    /* Texte et accents recurrents sur fond sombre (bandeaux, footer).
       --dark-text-dim reste au-dessus de 4.5:1 sur les fonds sombres du site */
    --dark-text-muted: #b7c0d6;
    --dark-text-dim: #9aa6c0;
    --dark-accent-blue: #8fb4e8;
    --dark-gradient-mid: #1d3450;
    --dark-gradient-deep: #14273f;
    /* Degrade sombre signature : bleu nuit vers bleu vers une pointe d'ambre */
    --gradient-dark: linear-gradient(135deg, #0d1626 0%, #1e3a5c 65%, #4d3413 135%);

    /* Meta text sur fond clair (cartes), 4.5:1 minimum sur blanc */
    --text-faint: #6b7686;

    --font: 'Inter', ui-sans-serif, system-ui, sans-serif;

    --header-height: 72px;
    --shadow-soft: 0 4px 24px rgba(24, 42, 67, 0.08);
    --shadow-cta: 0 8px 20px rgba(58, 100, 158, 0.35);
    --shadow-dark: 0 6px 18px rgba(0, 0, 0, 0.3);
}

/* ===== Base ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    color: var(--text-dark);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Anneau de focus clavier visible sur fond clair comme sur fond sombre */
:focus-visible {
    outline: 2px solid var(--primary-600);
    outline-offset: 2px;
}

.site-header :focus-visible,
.announcement-bar :focus-visible,
.hero :focus-visible,
footer :focus-visible,
.final-cta :focus-visible {
    outline-color: var(--amber-300);
}

/* ===== Lien d'evitement ===== */
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 999;
    padding: 0.7rem 1.4rem;
    border-radius: 9999px;
    background: var(--primary-600);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    transition: top 0.15s ease;
}

.skip-link:focus {
    top: 1rem;
}

/* ===== Buttons ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    border-radius: 9999px;
    background: var(--primary-600);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover keeps the exact same color. Only lift and shadow change */
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-cta);
}

/* =====================================================
   Announcement bar
   ===================================================== */
.announcement-bar {
    /* Lighter blend of the three background tones. La pointe d'ambre reste
       assez sombre pour garder le texte blanc au-dessus de 4.5:1 */
    background: linear-gradient(98deg, #35597e 0%, #4a729e 60%, #8a5c1e 140%);
    color: #fff;
}

.announcement-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.55rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem 1.25rem;
}

.announce-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    flex-shrink: 0;
}

.announcement-text {
    font-size: 0.95rem;
    font-weight: 700;
}

.store-badges {
    display: flex;
    /* stretch : les deux badges prennent la hauteur du plus grand, jamais d'épaisseurs différentes */
    align-items: stretch;
    gap: 0.6rem;
}

.store-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #000;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    padding: 5px 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.store-badge svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.store-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    text-align: left;
}

.store-text small {
    font-size: 0.53rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    opacity: 0.85;
    text-transform: none;
}

.store-text strong {
    font-size: 0.85rem;
    font-weight: 700;
}

/* =====================================================
   Header
   ===================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    /* Darkened blend of the three background tones: night blue → brand blue → amber */
    background: linear-gradient(98deg, #0d1626 0%, var(--dark-gradient-deep) 48%, #1e3a5c 82%, #4d3413 125%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
    border-bottom-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 4px 24px rgba(24, 42, 67, 0.35);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    height: var(--header-height);
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

/* Logo à l'extrémité gauche, tout le reste poussé à droite.
   flex-shrink: 0, sans ça le flex compresse le logo horizontalement quand la place manque */
.header-logo {
    margin-right: auto;
    flex-shrink: 0;
}

.header-logo img {
    height: 46px;
    width: auto;
    /* Renders the blue wordmark in white for the dark header */
    filter: brightness(0) invert(1);
}

/* --- Desktop nav --- */
.header-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    position: relative;
    font-size: 0.95rem;
    font-weight: 500;
    color: #fff;
    padding: 0.25rem 0;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

/* CTA inside the nav is only for the mobile panel */
.nav-cta {
    display: none;
}

/* Réseaux sociaux du menu : uniquement dans le panneau mobile */
.nav-social {
    display: none;
}

/* --- Dropdown "Fonctionnalités" --- */
.nav-item {
    position: relative;
}

.nav-drop-btn {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font);
}

.nav-chevron {
    width: 14px;
    height: 14px;
    transition: transform 0.25s ease;
}

.nav-item.open .nav-chevron {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -6px);
    min-width: 320px;
    /* Same tones as the header gradient */
    background: linear-gradient(135deg, #0d1626 0%, var(--dark-gradient-deep) 70%, #1e3a5c 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(13, 22, 38, 0.5);
    padding: 8px;
    margin-top: 12px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 60;
}

/* Invisible bridge so the hover doesn't drop in the gap */
.nav-dropdown::before {
    content: "";
    position: absolute;
    top: -14px;
    left: 0;
    width: 100%;
    height: 14px;
}

.nav-item.open .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

@media (min-width: 1081px) {
    .nav-item:hover .nav-dropdown,
    .nav-item:focus-within .nav-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0);
    }

    .nav-item:hover .nav-chevron {
        transform: rotate(180deg);
    }
}

.drop-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.65rem 0.8rem;
    border-radius: 10px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.drop-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-dark);
}

.drop-num {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--dark-accent-blue);
    padding-top: 0.1rem;
    flex-shrink: 0;
}

.drop-text b {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
}

.drop-text small {
    display: block;
    font-size: 0.8rem;
    color: var(--dark-text-muted);
    margin-top: 2px;
}

/* --- Right-side group: language, CTA, burger --- */
.header-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* White outline so the blue pill stands out on the dark gradient */
.header-cta {
    border: 1px solid rgba(255, 255, 255, 0.55);
    white-space: nowrap;
}

/* --- Language switcher --- */
.lang-switcher {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.08);
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lang-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-dark);
}

.lang-flag {
    display: block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.lang-flag svg {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.lang-chevron {
    width: 14px;
    height: 14px;
    color: rgba(255, 255, 255, 0.75);
    transition: transform 0.25s ease;
}

.lang-open .lang-chevron {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 170px;
    list-style: none;
    background: #fff;
    border: 1px solid var(--primary-50);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 60;
}

.lang-open .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    min-height: 44px;
    padding: 0.6rem 0.75rem;
    border: none;
    border-radius: 10px;
    background: none;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.lang-option:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.lang-option[aria-current="true"] {
    background: var(--primary-50);
    color: var(--primary-600);
}

.lang-option[aria-current="true"]::after {
    content: "✓";
    margin-left: auto;
    font-weight: 700;
}

/* --- Burger (hidden on desktop) --- */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.burger:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-dark);
}

.burger span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Burger → X */
.menu-open .burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-open .burger span:nth-child(2) {
    opacity: 0;
}

.menu-open .burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =====================================================
   Hero
   ===================================================== */
.hero {
    min-height: calc(100vh - var(--header-height) - 52px);
    /* svh : la barre d'URL mobile ne fait plus deborder le hero */
    min-height: calc(100svh - var(--header-height) - 52px);
    display: flex;
    align-items: center;
    justify-content: center;
    /* cover : jamais de deformation. Le voile sombre garantit le contraste
       du texte blanc et ambre quel que soit le recadrage de la photo */
    background:
        linear-gradient(rgba(13, 22, 38, 0.45), rgba(13, 22, 38, 0.45)),
        url("../img/fond3_web.jpg") center / cover no-repeat;
    padding: 4rem 1.5rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 820px;
}

.hero-logo {
    width: 128px;
    height: 128px;
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(24, 42, 67, 0.35);
}

.hero-title {
    margin-top: 2rem;
    font-size: clamp(2.1rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fff;
    text-shadow: 0 2px 24px rgba(24, 42, 67, 0.45);
}

.hero-tagline {
    margin-top: 1rem;
    font-size: clamp(1.3rem, 2.8vw, 1.85rem);
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
    text-shadow: 0 1px 16px rgba(24, 42, 67, 0.45);
}

.hero-accent {
    color: var(--amber-300);
}

.hero-sub {
    margin-top: 0.9rem;
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 500;
    color: #fff;
    text-shadow: 0 1px 16px rgba(24, 42, 67, 0.45);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.9rem;
}

.hero-cta .btn-primary,
.btn-hero-ghost {
    padding: 0.85rem 1.9rem;
    font-size: 1.02rem;
}

.btn-hero-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-hero-ghost:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-dark);
}

.hero-note {
    margin-top: 1rem;
    padding-top: 3rem;
    font-size: 0.9rem;
    color: #fff;
    text-shadow: 0 1px 12px rgba(24, 42, 67, 0.45);
}

/* =====================================================
   Sections communes
   ===================================================== */
.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 3rem 0;
}

section[id],
footer[id],
.feature[id] {
    scroll-margin-top: calc(var(--header-height) + 16px);
}

.section-head {
    max-width: 550px;
    margin: 0 auto 3.5rem;
    text-align: center;
}

.section-head h2 {
    font-size: clamp(1.95rem, 3.8vw, 2.65rem);
    font-weight: 800;
    letter-spacing: -0.01em;
}

.section-head p {
    color: var(--text-muted);
    font-size: 1.06rem;
    margin-top: 0.9rem;
}

.tag {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-600);
    margin-bottom: 4rem;
}

.tag-amber {
    color: #f0a868;
}

/* Apparition au scroll */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* =====================================================
   Problème + chiffres
   ===================================================== */
.problem {
    background: linear-gradient(168deg, var(--primary-950) 40%, var(--dark-gradient-mid) 95%, #4d3413 140%);
    color: #fff;
    padding: 3rem 0 4rem;
}

.problem-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3.5rem;
    align-items: center;
}

.proof .problem-grid {
    align-items: flex-start;
    padding-top: 3rem;
}

.big-stat {
    font-weight: 800;
    font-size: clamp(4rem, 9vw, 7rem);
    line-height: 1;
    background: linear-gradient(135deg, var(--dark-accent-blue), #f0a868);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
}

.problem-text h2 {
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
}

.problem-text p {
    color: var(--dark-text-muted);
    font-size: 1rem;
    margin-bottom: 0.65rem;
}

.problem-text .source {
    font-size: 0.8rem;
    color: var(--dark-text-dim);
    margin-top: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
    margin-top: 3.5rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat b {
    display: block;
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--dark-accent-blue), #f0a868);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat span {
    display: block;
    font-size: 0.85rem;
    color: var(--dark-text-muted);
    margin-top: 0.4rem;
}

/* =====================================================
   Fonctionnalités (zigzag)
   ===================================================== */
.features {
    /* Blanc → bleu très pâle : reste clair mais dans l'univers du site */
    background: linear-gradient(180deg, #ffffff 0%, #f2f6fb 55%, #e2ebf6 100%);
}

.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4.5rem 0;
    border-bottom: 1px solid var(--primary-50);
}

.feature:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.feature.reverse .feature-media {
    order: -1;
}

.step-tag {
    display: inline-block;
    font-weight: 800;
    font-size: 0.8rem;
    color: var(--primary-600);
    background: var(--primary-50);
    padding: 0.35rem 0.8rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Mot-clé de marque (Meet. Qualify. …) comme sur les visuels store */
.feature-kw {
    font-size: clamp(2.3rem, 4.6vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
    color: var(--primary-950);
    margin-bottom: 0.75rem;
}

.dot {
    color: #cf5d10;
}

.feature-text h3 {
    font-size: clamp(1.25rem, 2.4vw, 1.55rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 0.9rem;
    color: var(--primary-600);
}

.feature-list {
    list-style: none;
    margin-bottom: 1.4rem;
}

.feature-list li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.55rem;
    color: var(--text-muted);
    font-size: 0.97rem;
    line-height: 1.55;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 800;
    color: var(--primary-600);
}

.feature-text .desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 1.4rem;
}

.fact-box {
    display: flex;
    gap: 0.9rem;
    background: #fbf2e7;
    border: 1px solid #f2e0c8;
    border-radius: 14px;
    padding: 1rem 1.1rem;
}

.fact-box .ic {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.fact-box .fb-title {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #8f5817;
    margin-bottom: 0.25rem;
}

.fact-box p {
    font-size: 0.9rem;
    color: var(--text-dark);
}

.feature-media .shot {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--primary-100);
    box-shadow: var(--shadow-soft);
    background: #fff;
}

/* Mockups détourés (fond transparent) : pas de carte blanche,
   une ombre qui suit la silhouette du téléphone */
.feature-media .shot.clear {
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.shot.clear img {
    filter: drop-shadow(0 18px 36px rgba(24, 42, 67, 0.28));
}

/* 300px ≈ largeur du grand téléphone des paires duales (flex 1.15
   dans une colonne de ~534px) : le visuel seul de "Meet" reste à la même échelle */
.feature-media:not(.dual) .shot {
    max-width: 300px;
    margin: 0 auto;
}

.feature-media.dual {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
}

.feature-media.dual .shot:first-child {
    flex: 1.15;
}

.feature-media.dual .shot:last-child {
    flex: 0.85;
    margin-bottom: -1.5rem;
}

/* Points du carrousel mobile (créés par main.js sous chaque paire
   de téléphones). Invisibles au-delà de 560px : les deux téléphones
   y sont côte à côte, il n'y a rien à faire défiler. */
.carousel-dots {
    display: none;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background: var(--primary-100);
    transition: background 0.25s ease, width 0.25s ease;
}

.carousel-dot.active {
    width: 22px;
    background: var(--primary-600);
}

/* =====================================================
   Méthode BRIDGE
   ===================================================== */
.bridge {
    background: linear-gradient(168deg, var(--primary-950) 30%, var(--dark-gradient-mid) 95%, #4d3413 140%);
    color: #fff;
    padding: 3rem 0 6rem 0;
}

.bridge .section-head h2 {
    color: #fff;
}

.bridge .section-head p {
    color: var(--dark-text-muted);
}

.bridge-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
}

.bridge-cards {
    display: grid;
    gap: 0.75rem;
}

.bridge-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    padding: 0.9rem 1.1rem;
}

.bridge-card b {
    font-size: 1rem;
    color: #fff;
}

.bridge-letter {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--dark-accent-blue), #f0a868);
    color: #0d1626;
    font-weight: 800;
    font-size: 1rem;
}

.bridge-note {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
    background: rgba(240, 168, 104, 0.12);
    border: 1px solid rgba(240, 168, 104, 0.3);
    border-radius: 14px;
    padding: 1rem 1.1rem;
}

.bridge-note .ic {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.bridge-note p {
    color: #f0d9c0;
    font-size: 0.92rem;
    line-height: 1.55;
}

.bridge-media img {
    /* Aligné sur les téléphones des sections features (même échelle partout) */
    max-width: 300px;
    margin: 0 auto;
    filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.4));
}

/* =====================================================
   Tarifs
   ===================================================== */
.pricing {
    background: linear-gradient(180deg, #e2ebf6 0%, #f2f6fb 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 880px;
    margin: 0 auto;
    align-items: stretch;
}

.price-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--primary-100);
    border-radius: 24px;
    padding: 2.25rem 2rem;
    box-shadow: var(--shadow-soft);
}

.price-card.dark {
    background: var(--gradient-dark);
    border: none;
    color: #fff;
}

.price-badge {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-600);
    margin-bottom: 0.8rem;
}

.price-card.dark .price-badge {
    color: #f0a868;
}

.price-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 0.35rem;
}

.price-amount {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--primary-600);
    margin-bottom: 0.4rem;
    line-height: 1;
}

.price-card.dark .price-amount {
    color: #f0a868;
}

.price-from {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.35rem;
    color: var(--text-muted);
}

.price-per {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
}

.price-card.dark .price-from,
.price-card.dark .price-per {
    color: var(--dark-text-muted);
}

.price-card:not(.dark) .price-desc {
    color: var(--text-muted);
}

.price-desc {
    color: var(--dark-text-muted);
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0.5rem 0 1rem;
}

.price-list {
    list-style: none;
    display: grid;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
    flex: 1;
    align-content: start;
}

.price-list li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.5;
}

.price-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: 800;
    color: var(--primary-600);
}

.price-card.dark .price-list li {
    color: var(--dark-text-muted);
}

.price-card.dark .price-list li::before {
    color: #f0a868;
}

.price-card .btn-primary,
.price-card .btn-ghost {
    align-self: flex-start;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-ghost:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-dark);
}

/* =====================================================
   La preuve (beTIK), miroir positif du « constat »
   ===================================================== */
.proof {
    background: linear-gradient(168deg, var(--dark-gradient-mid) 0%, var(--primary-950) 95%, #4d3413 140%);
    color: #fff;
    padding: 3rem 0 4.5rem;
}

.proof .stats-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* "30 ans" est plus large qu'un pourcentage : on reste sur une ligne.
   Plancher a 2.4rem pour ne jamais deborder sur un ecran de 320px */
.proof .big-stat {
    font-size: clamp(2.4rem, 7vw, 5.6rem);
    white-space: nowrap;
}

/* Le tag chapeaute la section : "30 ans" et "de vente terrain" restent alignés */
.proof-tag {
    text-align: center;
    margin-bottom: 2rem;
}

.proof-tag .tag {
    margin-bottom: 0;
}

.proof .source a {
    color: var(--dark-text-dim);
}

.proof .source a:hover {
    text-decoration: underline;
}

.proof-punch {
    margin-top: 2.75rem;
    text-align: center;
    font-size: clamp(1.15rem, 2.4vw, 1.5rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #fff;
}

.proof-cta {
    text-align: center;
    margin-top: 0.9rem;
}

.proof-cta a {
    color: var(--dark-accent-blue);
    font-weight: 600;
    font-size: 0.95rem;
}

.proof-cta a:hover {
    text-decoration: underline;
}

/* =====================================================
   Pour qui
   ===================================================== */
.who {
    background: #e2ebf6;
}

.who-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.who-card {
    background: #fff;
    border: 1px solid var(--primary-100);
    border-radius: 18px;
    padding: 1.75rem 1rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.who-ic {
    display: block;
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.who-card h3 {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-dark);
}

.who-card p {
    margin-top: 0.55rem;
    font-size: 0.86rem;
    line-height: 1.5;
    color: var(--text-muted);
}

/* =====================================================
   FAQ
   ===================================================== */
.faq-section {
    background: #e2ebf6;
}

.faq {
    max-width: 780px;
    margin: 0 auto;
}

.faq details {
    background: #fff;
    border: 1px solid var(--primary-100);
    border-radius: 16px;
    padding: 1.1rem 1.4rem;
    margin-bottom: 0.75rem;
    box-shadow: var(--shadow-soft);
}

.faq summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--primary-600);
    flex-shrink: 0;
    line-height: 1;
}

.faq details[open] summary::after {
    content: "−";
}

.faq details p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-top: 0.85rem;
}

/* Liens dans les réponses : clairement cliquables */
.faq details p a {
    display: inline-block;
    margin-top: 0.6rem;
    color: var(--primary-600);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.faq details p a:hover {
    text-decoration-thickness: 2px;
}

/* =====================================================
   CTA final
   ===================================================== */
.download {
    padding-bottom: 8rem;
    /* Continue la descente vers le footer sombre */
    background: linear-gradient(180deg, #e2ebf6 0%, #c5d7ec 100%);
}

.final-cta {
    background: var(--gradient-dark);
    color: #fff;
    border-radius: 32px;
    padding: 4rem 3rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
    align-items: center;
}

.final-cta h2 {
    font-size: clamp(1.6rem, 3.6vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 0.9rem;
}

.final-cta > div > p {
    color: var(--dark-text-muted);
    font-size: 1rem;
    margin-bottom: 1.6rem;
}

.final-cta .store-badge {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.28);
}

.final-cta .store-badge svg {
    width: 24px;
    height: 24px;
}

.final-cta .store-text small {
    font-size: 0.62rem;
}

.final-cta .store-text strong {
    font-size: 1rem;
}

.qr-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    justify-self: end;
}

/* Only the QR code gets the white frame */
.qr-card img {
    width: 150px;
    height: 150px;
    border: 10px solid #fff;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

/* Selector kept specific: .final-cta > div > p would repaint it pale gray */
.final-cta .qr-card p {
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    text-align: center;
    max-width: 180px;
    line-height: 1.4;
    margin: 0;
}

/* =====================================================
   Page légale (confidentialité)
   ===================================================== */
.legal {
    background: linear-gradient(180deg, #ffffff 0%, #f2f6fb 100%);
    padding: 4rem 0 5rem;
}

.legal-container {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.legal h1 {
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.01em;
}

.legal-updated {
    color: var(--text-faint);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.legal-intro {
    margin-top: 1.5rem;
    font-size: 1.05rem;
    color: var(--text-dark);
    background: var(--primary-50);
    border: 1px solid var(--primary-100);
    border-radius: 14px;
    padding: 1.1rem 1.3rem;
}

.legal-note {
    margin-top: 2rem;
}

.legal h2 {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 2.25rem 0 0.75rem;
    color: var(--primary-600);
}

.legal p,
.legal li {
    color: var(--text-muted);
    font-size: 0.97rem;
    line-height: 1.7;
}

.legal p + p {
    margin-top: 0.6rem;
}

.legal ul {
    padding-left: 1.3rem;
    display: grid;
    gap: 0.4rem;
}

.legal a {
    color: var(--primary-600);
    font-weight: 600;
}

.legal a:hover {
    text-decoration: underline;
}

/* Les boutons dans une page légale gardent leur texte blanc */
.legal a.btn-primary {
    color: #fff;
}

.legal a.btn-primary:hover {
    text-decoration: none;
}

.legal strong {
    color: var(--text-dark);
}

.error-404 {
    text-align: center;
    padding: 3rem 0;
}

.error-404-code {
    font-size: clamp(4rem, 10vw, 7rem);
}

.error-404-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
}

.error-404-text {
    margin-top: 1rem;
    color: var(--text-muted);
}

.error-404-cta {
    margin-top: 2rem;
}

/* =====================================================
   Footer
   ===================================================== */
footer {
    /* Meme degrade que la carte CTA : bleu nuit vers bleu vers une pointe d'ambre */
    background: var(--gradient-dark);
    color: var(--dark-text-muted);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

/* La colonne "Ressources" (blog + annuaire) n'existe que sur les pages FR */
.footer-grid:has(> div:nth-child(4)) {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
}

.footer-container {
    position: relative;
}

.back-to-top {
    position: absolute;
    top: 0;
    right: 1.5rem;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-dark);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
    /* Wordmark in white on the dark footer */
    filter: brightness(0) invert(1);
}

.footer-blurb {
    color: var(--dark-text-muted);
    font-size: 0.92rem;
    max-width: 320px;
    margin-bottom: 1rem;
}

.footer-contact {
    color: var(--dark-text-muted);
    font-size: 0.92rem;
}

.footer-contact a {
    color: var(--dark-accent-blue);
    font-weight: 600;
}

/* Réseaux sociaux, même langage visuel que le bouton back-to-top.
   Regles partagees avec .nav-social (panneau mobile), voir plus bas. */
.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.footer-social a,
.nav-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-social a:hover,
.nav-social a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-dark);
}

.footer-social svg,
.nav-social svg {
    width: 18px;
    height: 18px;
}

footer h2 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--dark-text-dim);
    margin-bottom: 1rem;
}

.flinks a {
    display: block;
    color: var(--dark-text-muted);
    font-size: 0.92rem;
    /* Zone tactile confortable sans changer le rythme visuel */
    padding: 0.3rem 0;
    margin-bottom: 0.1rem;
}

.flinks a:hover {
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--dark-text-dim);
    font-size: 0.85rem;
}

.footer-langs a {
    display: inline-block;
    color: var(--dark-text-muted);
    font-weight: 600;
    padding: 0.55rem 0.35rem;
}

.footer-langs a.active {
    color: #fff;
}

.footer-langs a:hover {
    text-decoration: underline;
}

.betik-link {
    color: var(--dark-accent-blue);
    font-weight: 600;
}

.footer-bottom a:not(.betik-link),
.footer-bottom .manage-cookies {
    color: var(--dark-text-muted);
    font-weight: 600;
}

.footer-bottom .manage-cookies {
    font-family: inherit;
    font-size: inherit;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.footer-bottom a:hover,
.footer-bottom .manage-cookies:hover {
    text-decoration: underline;
}

/* =====================================================
   Mobile
   ===================================================== */
@media (max-width: 600px) {
    .header-logo img {
        height: 44px;
    }
}

@media (max-width: 400px) {
    /* Le logo cede la place : a largeur fixe, logo + langue + burger
       depassent 320px et toute la page scrolle horizontalement */
    .header-inner {
        gap: 0.75rem;
    }

    .header-logo {
        flex-shrink: 1;
        min-width: 0;
    }

    .header-logo img {
        width: 100%;
        max-width: 158px;
        height: auto;
    }

    /* Les boutons pilule sont en nowrap : dans une carte tarif de
       320px, le libelle long imposait ~300px de min-content */
    .price-card .btn-primary,
    .price-card .btn-ghost {
        white-space: normal;
        text-align: center;
    }
}

/* Le header passe en burger dès 1080px : en dessous, le header desktop complet
   (logo + nav + CTA + langue) ne tient plus et provoque un scroll horizontal */
@media (max-width: 1080px) {
    /* Le header physique passe a 64px : la variable suit, sinon les ancres
       et le calcul de hauteur du hero gardent 24px d'ecart */
    :root {
        --header-height: 64px;
    }

    .header-inner {
        height: 64px;
        padding: 0 1rem;
    }

    /* Nav becomes a dropdown panel under the header, same tones as the header.
       Aligné sur l'apparition du burger : sans ça, le burger
       est affiché mais inactif et les liens compressent le logo */
    .header-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: linear-gradient(180deg, var(--dark-gradient-deep) 0%, #0d1626 100%);
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 12px 32px rgba(13, 22, 38, 0.5);
        padding: 0 1rem;
        max-height: 0;
        overflow: hidden;
        visibility: hidden;
        transition: max-height 0.3s ease, visibility 0.3s;
    }

    .menu-open .header-nav {
        max-height: calc(100vh - 64px);
        max-height: calc(100dvh - 64px);
        overflow-y: auto;
        visibility: visible;
    }

    .nav-link {
        padding: 1rem 0.5rem;
        font-size: 1rem;
        color: #fff;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-link::after {
        display: none;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-drop-btn {
        width: 100%;
        justify-content: space-between;
        border-bottom: none;
    }

    .nav-dropdown {
        position: static;
        transform: none;
        min-width: 0;
        background: none;
        border: none;
        border-radius: 0;
        box-shadow: none;
        margin-top: 0;
        padding: 0 0 0 0.75rem;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        /* hidden : les liens replies sortent de l'ordre de tabulation */
        visibility: hidden;
        transition: max-height 0.3s ease, visibility 0.3s;
    }

    .nav-dropdown::before {
        display: none;
    }

    .nav-item.open .nav-dropdown {
        max-height: 500px;
        transform: none;
        padding-bottom: 0.5rem;
        visibility: visible;
    }

    .nav-cta {
        display: inline-flex;
        margin: 1rem 0.5rem 0;
    }

    /* Pastilles sociales en bas du panneau, même style que le footer */
    .nav-social {
        display: flex;
        gap: 0.75rem;
        margin: 1rem 0.5rem 1.25rem;
    }

    /* Flèche sobre vers le footer, à l'opposé des icônes sociales */
    .nav-social .nav-to-footer {
        margin-left: auto;
    }

    .nav-social .nav-to-footer svg {
        width: 20px;
        height: 20px;
    }

    .header-cta {
        display: none;
    }

    .burger {
        display: flex;
    }

    .header-right {
        gap: 0.5rem;
    }

    .lang-btn {
        padding: 0.4rem 0.6rem;
    }
}

@media (max-width: 900px) {
    .announcement-inner {
        padding: 0.5rem 0.75rem;
    }

    .announcement-text {
        font-size: 0.85rem;
        text-align: center;
    }

    .announce-icon {
        display: none;
    }

    .hero {
        min-height: calc(100vh - 64px - 90px);
        min-height: calc(100svh - 64px - 90px);
        padding: 3rem 1.25rem;
    }

    .hero-logo {
        width: 96px;
        height: 96px;
        border-radius: 22px;
    }

    .section {
        /* Moins d'air vertical qu'en desktop, pas davantage */
        padding: 2.5rem 0;
    }

    .problem-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

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

    .feature,
    .feature.reverse {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 3rem 0;
    }

    .feature.reverse .feature-media {
        order: 0;
    }

    .bridge-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .proof .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

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

    .bridge-media img {
        max-width: 280px;
    }

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

    .final-cta {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 3rem 1.75rem;
    }

    .final-cta .store-badges {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.8rem;
    }

    .final-cta .store-badge {
        flex: 1 1 calc(50% - 0.4rem);
        min-height: 56px;
    }

    .qr-card {
        justify-self: center;
    }

    /* Le selecteur :has() qui ajoute la 4e colonne est plus specifique
       que .footer-grid seul : il faut le repeter ici, sinon les 4
       colonnes persistent en mobile et font deborder la page. */
    .footer-grid,
    .footer-grid:has(> div:nth-child(4)) {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 560px) {
    /* Une seule largeur de téléphone sur mobile : le visuel seul de
       Meet, les carrousels et le téléphone BRIDGE. Sans cela, la page
       mélange trois tailles (300px, 58vw, 280px). */
    .feature-media:not(.dual) .shot {
        max-width: 58vw;
    }

    .bridge-media img {
        max-width: 58vw;
    }

    /* Ombre portée adoucie : dans le carrousel, les grandes ombres des
       téléphones voisins se cumulent et dessinent un halo gris qui
       ressemble à un fond. */
    .shot.clear img {
        filter: drop-shadow(0 10px 18px rgba(24, 42, 67, 0.18));
    }

    /* Les paires de téléphones deviennent un carrousel à glisser :
       empilées verticalement, elles allongeaient trop la page. */
    .feature-media.dual {
        flex-wrap: nowrap;
        align-items: center;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 3vw;
        /* Gouttières symétriques : le téléphone actif est centré, ses
           voisins dépassent également des deux côtés. En vw, pas en %,
           car un % se résoudrait sur la zone déjà réduite par ces
           mêmes gouttières. L'air en bas garde l'ombre portée visible. */
        padding: 0.5rem calc(50% - 29vw) 2rem;
        scroll-padding-inline: calc(50% - 29vw);
    }

    .feature-media.dual::-webkit-scrollbar {
        display: none;
    }

    .feature-media.dual .shot,
    .feature-media.dual .shot:first-child,
    .feature-media.dual .shot:last-child {
        flex: 0 0 58vw;
        scroll-snap-align: center;
        margin-bottom: 0;
    }

    .carousel-dots {
        display: flex;
        justify-content: center;
        gap: 0.45rem;
        margin-top: -0.8rem;
    }

    /* Store badges on mobile: ensure both App Store and Google Play have same height */
    .store-badges {
        gap: 0.8rem;
        flex-wrap: wrap;
    }

    .store-badge {
        flex: 1 1 calc(50% - 0.4rem);
        min-height: 50px;
        justify-content: center;
    }

    /* Dans la barre d'annonce, les badges restent compacts : la barre
       ne doit pas manger l'écran au-dessus du header */
    .announcement-bar .store-badge {
        flex: 0 1 auto;
        min-height: 0;
        padding: 6px 14px;
    }

    .announcement-bar .store-badge svg {
        width: 18px;
        height: 18px;
    }

    .announcement-bar .store-text small {
        font-size: 0.52rem;
    }

    .announcement-bar .store-text strong {
        font-size: 0.8rem;
    }
}

/* Apres le bloc 900px pour gagner la cascade sur .final-cta .store-badge */
@media (max-width: 400px) {
    /* Sous 400px, deux badges cote a cote passent sous leur largeur minimale */
    .final-cta .store-badge,
    .store-badge {
        flex: 1 1 100%;
    }

    .announcement-bar .store-badge {
        flex: 0 1 auto;
    }
}

/* =====================================================
   Bannière cookies (consentement Google Analytics)
   ===================================================== */
.cookie-banner {
    position: fixed;
    bottom: 1.25rem;
    left: 1.25rem;
    z-index: 1000;
    max-width: 380px;
    background: #fff;
    border: 1px solid var(--primary-100);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(24, 42, 67, 0.18);
    padding: 1.25rem 1.4rem;
    opacity: 0;
    transform: translateY(12px);
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.cookie-banner.visible {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.cookie-title {
    font-weight: 700;
    font-size: 0.98rem;
    margin-bottom: 0.4rem;
}

.cookie-text {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.cookie-more {
    color: var(--primary-600);
    font-weight: 600;
    text-decoration: underline;
}

/* Accepter et Refuser ont même taille et même poids, le refus doit être
   aussi simple que l'accord (exigence RGPD) */
.cookie-actions {
    display: flex;
    gap: 0.6rem;
}

.cookie-btn {
    flex: 1;
    min-height: 44px;
    padding: 0.6rem 1rem;
    border-radius: 9999px;
    border: none;
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cookie-btn:hover {
    transform: translateY(-1px);
}

.cookie-accept {
    background: var(--primary-600);
    color: #fff;
}

.cookie-accept:hover {
    box-shadow: var(--shadow-cta);
}

.cookie-refuse {
    background: var(--primary-100);
    color: var(--text-dark);
}

.cookie-refuse:hover {
    box-shadow: var(--shadow-soft);
}

@media (max-width: 480px) {
    .cookie-banner {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
        max-width: none;
    }

    /* Une seule colonne : deux cartes de ~120px etaient illisibles */
    .who-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   Contenu editorial : blog + annuaire des salons
   (prefixe .ed- pour "editorial")
   ===================================================== */
.ed {
    background: #fff;
}

/* ----- Hero commun aux pages de contenu ----- */
.ed-hero {
    /* Meme fond que le hero de l'accueil, recouvert du degrade sombre :
       la texture reste lisible sans jamais gener le contraste du texte. */
    background:
        linear-gradient(168deg, rgba(24, 42, 67, 0.93) 30%, rgba(29, 52, 80, 0.88) 100%),
        url("../img/fond3_web.jpg") center / cover no-repeat;
    color: #fff;
    padding: 3.5rem 0 3rem;
}

.ed-hero h1 {
    font-size: clamp(1.95rem, 4vw, 2.9rem);
    font-weight: 800;
    letter-spacing: -0.015em;
    line-height: 1.15;
    max-width: 20ch;
}

.ed-hero-post h1 {
    max-width: 26ch;
}

/* Hero en deux colonnes : texte a gauche, visuel de l'app a droite */
.ed-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: center;
}

/* Le visuel est centre dans la section, comme la colonne de texte en face.
   Padding haut et bas identiques, sinon un visuel centre parait decale.
   Seul le mockup telephone fait exception : il s'assied volontairement sur le
   bord bas pour donner l'impression de sortir du cadre. */
.ed-hero-split {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
}

.ed-hero-split:has(.ed-hero-visual.is-mockup) {
    padding-bottom: 0;
}

.ed-hero-visual {
    position: relative;
    align-self: center;
    justify-self: center;
    display: flex;
    justify-content: center;
}

.ed-hero-visual.is-mockup {
    align-self: end;
}

/* Halo diffus derriere le telephone, dans les tons de la charte */
.ed-hero-visual.is-mockup::before {
    content: '';
    position: absolute;
    inset: -8% -22% -4%;
    background: radial-gradient(closest-side, rgba(143, 180, 232, 0.28), rgba(240, 168, 104, 0.12) 58%, transparent 80%);
    pointer-events: none;
}

.ed-hero-visual.is-mockup img {
    position: relative;
    width: auto;
    height: auto;
    max-height: 340px;
    filter: drop-shadow(0 22px 44px rgba(0, 0, 0, 0.45));
}

.ed-hero-lead {
    margin-top: 1.1rem;
    max-width: 68ch;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.86);
}

.ed-hero-sub {
    margin-top: 1.1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.66);
}

.ed-hero-sub a {
    /* Amber clair : l'orange de marque manque de contraste sur le hero sombre */
    color: var(--amber-300);
    font-weight: 600;
}

.ed-hero-sub a:hover {
    text-decoration: underline;
}

.ed-hero-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--amber-300);
    margin-bottom: 0.85rem;
}

/* ----- Fil d'Ariane ----- */
.crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 1.4rem;
}

.crumb a {
    display: inline-block;
    padding: 0.35rem 0;
    color: rgba(255, 255, 255, 0.8);
}

.crumb a:hover {
    text-decoration: underline;
}

.crumb [aria-current="page"] {
    color: rgba(255, 255, 255, 0.55);
}

/* ----- Filtres par secteur ----- */
.ed-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 2.25rem;
}

/* Sans JS le filtre est inutilisable : on le masque, toutes les fiches restent visibles */
.ed-filters[hidden] {
    display: none;
}

.ed-chip {
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--primary-50);
    border: 1px solid var(--primary-100);
    border-radius: 9999px;
    padding: 0.42rem 0.95rem;
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ed-chip:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}

.ed-chip.active {
    background: var(--primary-600);
    border-color: var(--primary-600);
    color: #fff;
}

/* ----- Grille de cartes (salons et articles) ----- */
.ed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 1.5rem;
}

.ed-card {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    background: #fff;
    border: 1px solid var(--primary-100);
    border-radius: 18px;
    padding: 1.5rem;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ed-card[hidden] {
    display: none;
}

.ed-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.ed-card h2,
.ed-card h3 {
    font-size: 1.16rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.ed-card h2 a:hover,
.ed-card h3 a:hover {
    text-decoration: underline;
}

.ed-card-tag {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    /* Orange de marque : accent du contenu editorial (charte) */
    color: var(--amber-600);
    background: var(--amber-50);
    border-radius: 9999px;
    padding: 0.25rem 0.7rem;
}

.ed-card-meta {
    font-size: 0.82rem;
    color: var(--text-faint);
}

.ed-card-text {
    font-size: 0.94rem;
    line-height: 1.65;
    color: var(--text-muted);
}

.ed-card-link {
    margin-top: auto;
    padding-top: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--amber-600);
}

.ed-card:hover .ed-card-link {
    text-decoration: underline;
}

.ed-empty {
    margin-top: 2rem;
    text-align: center;
    color: var(--text-muted);
}

/* =====================================================
   Visuels editoriaux du blog et de l'annuaire

   Deux modes, choisis par photo_mode dans les fichiers de contenu.

   .is-photo    photographie. Cadre arrondi, format CARRE par defaut.
                Aucun filtre ni voile : la photo est affichee telle quelle.
   .is-portrait variante verticale 4/5 de .is-photo (photo_ratio a '4/5').
   .is-cutout   PNG ou WEBP a fond transparent. Ni cadre ni fond, la silhouette
                flotte avec une ombre portee qui suit ses contours.
   ===================================================== */
.ed-hero-visual.is-photo {
    width: 100%;
    max-width: 460px;
    aspect-ratio: 1 / 1;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(13, 22, 38, 0.35);
}

.ed-hero-visual.is-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ----- Variante verticale ----- */
.ed-hero-visual.is-portrait {
    max-width: 380px;
    aspect-ratio: 4 / 5;
}

.ed-hero-visual.is-portrait img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ----- Detourage sur fond transparent ----- */
.ed-hero-visual.is-cutout {
    background: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.ed-hero-visual.is-cutout img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 360px;
    filter: drop-shadow(0 22px 44px rgba(0, 0, 0, 0.45));
}

/* ----- Fiche salon : encadre pratique + corps ----- */
.ed-body {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
}

.ed-facts {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    background: var(--primary-50);
    border: 1px solid var(--primary-100);
    border-radius: 18px;
    padding: 1.5rem;
}

.ed-facts h2 {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--primary-600);
    margin-bottom: 1rem;
}

.ed-facts dl {
    display: grid;
    gap: 0.9rem;
}

.ed-facts dt {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-faint);
}

.ed-facts dd {
    font-size: 0.94rem;
    line-height: 1.5;
    color: var(--text-dark);
    margin-top: 0.15rem;
}

.ed-facts-link {
    display: inline-block;
    margin-top: 1.3rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-600);
}

.ed-facts-link:hover {
    text-decoration: underline;
}

.ed-facts-note {
    margin-top: 1.3rem;
    font-size: 0.85rem;
    color: var(--text-faint);
}

.ed-main h2 {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 2.25rem 0 0.85rem;
}

.ed-main h2:first-child {
    margin-top: 0;
}

.ed-main p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-muted);
    max-width: 68ch;
}

.ed-tips {
    display: grid;
    gap: 0.9rem;
    padding-left: 1.3rem;
    max-width: 68ch;
}

.ed-tips li {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
    padding-left: 0.35rem;
}

.ed-tips li::marker {
    color: var(--accent-orange);
    font-weight: 800;
}

/* ----- Methode en trois temps ----- */
.ed-method-section {
    background: linear-gradient(180deg, #ffffff 0%, #f2f6fb 100%);
}

.ed-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.ed-step {
    background: #fff;
    border: 1px solid var(--primary-100);
    border-radius: 18px;
    padding: 1.75rem;
}

.ed-step-phase {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-600);
    margin-bottom: 0.7rem;
}

.ed-step h3 {
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.7rem;
}

.ed-step p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.ed-step-warn {
    margin-top: 1rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--primary-100);
    font-size: 0.9rem;
}

.ed-step-warn strong {
    color: var(--text-dark);
}

/* ----- Bloc "ou ProspecTIK intervient" ----- */
.ed-app-section {
    background: linear-gradient(168deg, var(--dark-gradient-mid) 0%, var(--primary-950) 95%, #4d3413 140%);
    color: #fff;
}

.ed-app-section .section-head p {
    color: rgba(255, 255, 255, 0.78);
}

.ed-app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.ed-app-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 1.6rem;
}

.ed-app-num {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--accent-orange);
    margin-bottom: 0.6rem;
}

.ed-app-card h3 {
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.ed-app-card p {
    font-size: 0.94rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
}

.ed-limit {
    margin-top: 1.75rem;
    max-width: 72ch;
    border-left: 3px solid var(--accent-orange);
    padding-left: 1.25rem;
}

.ed-limit h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.ed-limit p {
    font-size: 0.94rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
}

/* ----- Encart de telechargement ----- */
.ed-cta-section {
    background: linear-gradient(180deg, #f2f6fb 0%, #e2ebf6 100%);
}

/* Le bloc de telechargement reprend .final-cta de l'accueil (badges stores + QR),
   pour que l'appel a l'action soit identique partout. */
.ed-cta-section .final-cta {
    padding: 3rem 2.5rem;
}

/* ----- Cartes "a lire" ----- */
.ed-method {
    background: linear-gradient(180deg, #ffffff 0%, #f2f6fb 100%);
}

.ed-method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.ed-method-card {
    display: block;
    background: #fff;
    border: 1px solid var(--primary-100);
    border-radius: 18px;
    padding: 1.5rem;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ed-method-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.ed-method-card h3 {
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0.8rem 0 0.6rem;
}

.ed-method-card p {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--text-muted);
}

.ed-method-more {
    margin-top: 2rem;
    text-align: center;
}

.ed-method-more a {
    font-weight: 600;
    color: var(--amber-600);
}

.ed-method-more a:hover {
    text-decoration: underline;
}

.ed-rel-title {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
}

.ed-rel-title:not(:first-child) {
    margin-top: 3.5rem;
}

/* ----- Mention de verification des informations ----- */
.ed-disclaimer {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem 3.5rem;
    font-size: 0.82rem;
    line-height: 1.6;
    color: var(--text-faint);
}

/* =====================================================
   Corps d'article de blog
   ===================================================== */
.post {
    background: linear-gradient(180deg, #ffffff 0%, #f2f6fb 100%);
    padding: 3.5rem 0 4rem;
}

.post-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.post-container h2 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 2.75rem 0 0.9rem;
}

.post-container h3 {
    font-size: 1.14rem;
    font-weight: 700;
    /* Orange fonce : accent editorial de la charte, lisible sur fond clair */
    color: var(--amber-600);
    margin: 2rem 0 0.6rem;
}

.post-container p,
.post-container li {
    font-size: 1.02rem;
    line-height: 1.78;
    color: var(--text-muted);
}

.post-container p + p {
    margin-top: 1rem;
}

/* Qualifie par .post-container pour battre ".post-container p" sans !important */
.post-container .post-lead {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--primary-50);
    border: 1px solid var(--primary-100);
    border-radius: 16px;
    padding: 1.3rem 1.5rem;
    margin-bottom: 2rem;
}

.post-container ul,
.post-container ol {
    margin: 1.1rem 0;
    padding-left: 1.4rem;
    display: grid;
    gap: 0.65rem;
}

.post-container li {
    padding-left: 0.25rem;
}

.post-container li::marker {
    color: var(--accent-orange);
    font-weight: 700;
}

.post-container strong {
    color: var(--text-dark);
}

.post-container a {
    color: var(--primary-600);
    font-weight: 600;
}

.post-container a:hover {
    text-decoration: underline;
}

.post-note {
    margin: 1.75rem 0;
    border-left: 3px solid var(--accent-orange);
    background: #fff;
    border-radius: 0 14px 14px 0;
    padding: 1.1rem 1.4rem;
}

/* Pas d'italique : Inter n'est chargee qu'en droit, le navigateur
   synthetiserait une fausse oblique */
.post-container .post-note p {
    font-size: 1rem;
    color: var(--text-dark);
}

.post-container .post-formula {
    margin: 1.5rem 0;
    background: var(--primary-950);
    color: #fff;
    border-radius: 14px;
    padding: 1.1rem 1.4rem;
    font-weight: 600;
    text-align: center;
    overflow-x: auto;
}

/* =====================================================
   Adaptations mobiles du contenu editorial
   ===================================================== */
@media (max-width: 900px) {
    .ed-hero-grid {
        grid-template-columns: 1fr;
    }

    /* En colonne unique le visuel passe sous le texte, memes marges haut et bas */
    .ed-hero-split {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .ed-hero-visual {
        margin-top: 2rem;
    }

    .ed-hero-visual.is-mockup img {
        max-height: 280px;
    }

    .ed-hero-visual.is-photo,
    .ed-hero-visual.is-portrait {
        max-width: 420px;
    }

    .ed-cta-section .final-cta {
        padding: 2.5rem 1.75rem;
    }

    .ed-body {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ed-facts {
        position: static;
    }

}

@media (max-width: 600px) {
    .ed-hero {
        padding: 2.5rem 0 2.25rem;
    }

    .ed-grid,
    .ed-steps,
    .ed-app-grid,
    .ed-method-grid {
        grid-template-columns: 1fr;
    }

    .ed-hero-visual.is-mockup img {
        max-height: 240px;
    }

    .ed-hero-visual.is-photo,
    .ed-hero-visual.is-portrait {
        max-width: 100%;
    }

    .post {
        padding: 2.5rem 0 3rem;
    }
}
