/* Site public DiabTeam — voir design_handoff_diabete_famille/06-site-tarifs-auth.md */

.site-page { min-height: 100vh; background: var(--df-bg-app); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(245, 247, 251, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--df-border-card);
}
.site-header__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 15px 40px;
    display: flex;
    align-items: center;
    gap: 34px;
}
.site-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.site-brand__mark { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 12px 12px 14px 14px; object-fit: contain; }
.site-brand__name { font-family: var(--df-font-heading); font-size: 19px; font-weight: 800; letter-spacing: -0.02em; color: var(--df-blue-deep); }
.site-brand__name em { color: var(--df-mint); font-style: normal; }

.site-nav { display: flex; gap: 26px; }
.site-nav a { font-size: 14.5px; font-weight: 500; color: var(--df-text-secondary); text-decoration: none; }
.site-nav a:hover { color: var(--df-blue-deep); text-decoration: none; }

.site-header__actions { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.site-btn-ghost {
    background: transparent;
    border: 0;
    color: var(--df-blue-deep);
    font-family: var(--df-font-body);
    font-size: 14.5px;
    font-weight: 600;
    padding: 11px 16px;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}
.site-btn-ghost:hover { background: var(--df-blue-surface); color: var(--df-blue-deep); text-decoration: none; }
.site-btn-primary {
    background: var(--df-blue);
    border: 0;
    color: #fff;
    font-family: var(--df-font-body);
    font-size: 14.5px;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: var(--df-shadow-btn-primary-compact);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}
.site-btn-primary:hover { background: var(--df-blue-hover); color: #fff; text-decoration: none; }
.site-btn-primary--lg { font-size: 16px; font-weight: 700; padding: 16px 28px; border-radius: 14px; box-shadow: var(--df-shadow-btn-primary); }
.site-btn-outline {
    background: #fff;
    border: 1px solid var(--df-border-input);
    color: var(--df-blue-deep);
    font-size: 16px;
    font-weight: 600;
    padding: 16px 26px;
    border-radius: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}
.site-btn-outline:hover { text-decoration: none; border-color: var(--df-blue); }

/* Section 1 — Hero */
.site-hero { position: relative; overflow: hidden; background: var(--df-gradient-soft-section); }
.site-hero__halo { position: absolute; border-radius: 50%; }
.site-hero__halo--mint { top: -90px; inset-inline-end: -70px; width: 420px; height: 420px; background: var(--df-halo-mint); }
.site-hero__halo--blue { top: 180px; inset-inline-start: -110px; width: 340px; height: 340px; background: var(--df-halo-blue); }
.site-hero__inner {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    padding: 72px 40px 76px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    gap: 48px;
    align-items: center;
}
.site-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--df-mint-surface);
    border: 1px solid var(--df-mint-border);
    border-radius: 999px;
    padding: 8px 15px;
    font-size: 13px;
    font-weight: 600;
    color: var(--df-mint-text);
    margin-bottom: 24px;
}
.site-hero__badge span { width: 7px; height: 7px; border-radius: 50%; background: var(--df-mint); flex: 0 0 7px; }
.site-hero h1 { font-family: var(--df-font-heading); font-size: 42px; line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 14px; color: var(--df-blue-deep); text-wrap: pretty; }
.site-hero__tagline { margin: 0 0 18px; font-size: 19px; font-weight: 600; color: var(--df-mint-text); text-wrap: pretty; }
.site-hero__lead { margin: 0 0 30px; font-size: 17.5px; line-height: 1.65; color: var(--df-text-secondary); max-width: 520px; text-wrap: pretty; }
.site-hero__ctas { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.site-hero__reassurance { display: flex; gap: 20px; font-size: 13.5px; color: var(--df-text-muted); flex-wrap: wrap; }

.site-hero__stores { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.site-store-badge {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--df-border-card);
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--df-text-muted);
    background: var(--df-surface-card);
}

.site-hero__preview { display: flex; flex-direction: column; gap: 14px; }
.site-hero__window {
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--df-shadow-card-floating);
    overflow: hidden;
    animation: floatUp 500ms ease both;
}
.site-hero__window-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--df-border-divider); }
.site-hero__window-bar .dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 10px; }
.site-hero__window-bar .dot--coral { background: var(--df-coral); }
.site-hero__window-bar .dot--yellow { background: var(--df-yellow); }
.site-hero__window-bar .dot--mint { background: var(--df-mint); }
.site-hero__window-bar span.caption { margin-inline-start: 10px; font-size: 11.5px; color: var(--df-label-discrete); }
.site-hero__window-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; background: var(--df-bg-app); }
.site-hero__alert { background: var(--df-alert-surface); border: 1px solid var(--df-alert-border); border-radius: 15px; padding: 13px; display: flex; align-items: center; gap: 11px; }
.site-hero__alert-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--df-coral); animation: pulseRing 2s infinite; flex: 0 0 9px; }
.site-hero__alert-title { font-size: 13px; font-weight: 700; color: var(--df-blue-deep); }
.site-hero__alert-sub { font-size: 11.5px; color: var(--df-alert-text-secondary); }
.site-hero__alert-tag { background: #fff; border-radius: 999px; font-size: 11px; font-weight: 700; padding: 6px 11px; color: var(--df-alert-text); }
.site-hero__kids { display: flex; gap: 11px; }
.site-hero__kid { flex: 1; background: #fff; border: 1px solid var(--df-border-card); border-radius: 15px; padding: 13px; }
.site-hero__kid-head { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.site-hero__kid-avatar { width: 32px; height: 32px; border-radius: 11px; color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; font-family: var(--df-font-heading); flex: 0 0 32px; }
.site-hero__kid-name { font-family: var(--df-font-heading); font-size: 14.5px; font-weight: 700; color: var(--df-blue-deep); line-height: 1.2; }
.site-hero__kid-age { font-size: 11px; color: var(--df-label-discrete); }
.site-hero__kid-state { font-size: 11.5px; font-weight: 700; padding: 5px 10px; border-radius: 8px; display: inline-block; }
.site-hero__bolus-card { background: #fff; border: 1px solid var(--df-border-card); border-radius: 15px; padding: 13px; }
.site-hero__bolus-eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--df-label-discrete); margin-bottom: 10px; font-weight: 600; }
.site-hero__bolus-row { display: flex; gap: 7px; }
.site-hero__bolus-item { flex: 1; text-align: center; border-radius: 11px; padding: 9px 4px; border: 1px solid; }
.site-hero__bolus-item .meal { font-size: 10px; color: var(--df-text-muted); margin-bottom: 3px; }
.site-hero__bolus-item .time { font-size: 12px; font-weight: 700; }
.site-hero__encourage { display: flex; gap: 12px; }
.site-hero__encourage-card { flex: 1; background: #fff; border: 1px solid var(--df-border-card); border-radius: 16px; padding: 14px; display: flex; align-items: center; gap: 12px; }
.site-hero__encourage-icon { width: 40px; height: 40px; border-radius: 13px; display: flex; align-items: center; justify-content: center; flex: 0 0 40px; }
.site-hero__encourage-icon svg { width: 19px; height: 19px; }
.site-hero__encourage-title { font-family: var(--df-font-heading); font-size: 17px; font-weight: 800; color: var(--df-blue-deep); }
.site-hero__encourage-sub { font-size: 11.5px; color: var(--df-text-muted); }

/* Section 2 — Avant */
.site-section { max-width: 1180px; margin: 0 auto; padding: 78px 40px 0; }
.site-section--tight { padding-top: 8px; }
.site-problems { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.site-problem-card { background: #fff; border: 1px solid var(--df-border-card); border-radius: 20px; padding: 26px; }
.site-problem-card__tag { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--df-alert-text); background: var(--df-alert-surface); padding: 6px 12px; border-radius: 8px; margin-bottom: 14px; }
.site-problem-card__title { font-family: var(--df-font-heading); font-size: 20px; font-weight: 700; margin-bottom: 9px; letter-spacing: -0.015em; color: var(--df-blue-deep); }
.site-problem-card__body { font-size: 14.5px; line-height: 1.6; color: var(--df-text-secondary); }

/* Section headers (shared) */
.site-section__eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--df-blue); margin-bottom: 12px; }
.site-section__eyebrow--mint { color: var(--df-mint-text); }
.site-section__head { max-width: 660px; margin-bottom: 34px; }
.site-section__head--center { margin-inline-start: auto; margin-inline-end: auto; text-align: center; }
.site-section__head h2 { font-family: var(--df-font-heading); font-size: 36px; font-weight: 800; letter-spacing: -0.025em; margin: 0 0 12px; color: var(--df-blue-deep); text-wrap: pretty; }
.site-section__head p { margin: 0; font-size: 16.5px; line-height: 1.65; color: var(--df-text-secondary); }

/* Section 3 — Comment ça marche */
.site-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.site-feature-card { background: #fff; border: 1px solid var(--df-border-card); border-radius: 22px; padding: 26px; display: flex; gap: 18px; }
.site-feature-card__icon { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.site-feature-card__icon svg { width: 22px; height: 22px; }
.site-feature-card__title { font-family: var(--df-font-heading); font-size: 20px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.015em; color: var(--df-blue-deep); }
.site-feature-card__body { font-size: 14.5px; line-height: 1.65; color: var(--df-text-secondary); margin-bottom: 13px; }
.site-feature-card__tag { font-size: 13px; font-weight: 600; padding: 7px 13px; border-radius: 9px; display: inline-block; }

/* Section 4 — Aperçu */
.site-tabs { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.site-tab {
    background: #fff;
    color: var(--df-text-muted);
    border: 1px solid var(--df-border-input);
    padding: 10px 18px;
    border-radius: 999px;
    font-family: var(--df-font-body);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
}
.site-tab-input { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; opacity: 0; pointer-events: none; }
#site-tab-accueil:checked ~ .site-tabs label[for="site-tab-accueil"],
#site-tab-journal:checked ~ .site-tabs label[for="site-tab-journal"],
#site-tab-stocks:checked ~ .site-tabs label[for="site-tab-stocks"],
#site-tab-garde:checked ~ .site-tabs label[for="site-tab-garde"] { background: var(--df-blue-deep); color: #fff; border-color: var(--df-blue-deep); }
.site-preview {
    background: var(--df-gradient-marketing);
    border-radius: 26px;
    padding: 30px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 292px;
    gap: 30px;
    align-items: center;
}
.site-preview__desktop { background: var(--df-bg-app); border-radius: 18px; overflow: hidden; box-shadow: 0 20px 50px rgba(31, 60, 136, 0.26); }
.site-preview__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--df-border-divider); }
.site-preview__bar .dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 9px; }
.site-preview__bar .caption { margin-inline-start: 10px; font-size: 11.5px; color: var(--df-label-discrete); font-weight: 500; }
.site-preview__body { padding: 20px; min-height: 330px; }
.site-preview__title { font-family: var(--df-font-heading); font-size: 21px; font-weight: 800; color: var(--df-blue-deep); margin-bottom: 5px; }
.site-preview__sub { font-size: 13.5px; color: var(--df-text-muted); margin-bottom: 18px; }
.site-preview__rows { display: flex; flex-direction: column; gap: 10px; }
.site-preview__row { background: #fff; border: 1px solid var(--df-border-card); border-radius: 14px; padding: 14px; display: flex; align-items: center; gap: 13px; }
.site-preview__row .accent { width: 4px; align-self: stretch; border-radius: 2px; flex: 0 0 4px; }
.site-preview__row-title { font-size: 14px; font-weight: 600; color: var(--df-blue-deep); margin-bottom: 2px; }
.site-preview__row-sub { font-size: 12.5px; color: var(--df-text-muted); }
.site-preview__row-tag { font-size: 11.5px; font-weight: 700; padding: 6px 11px; border-radius: 8px; margin-inline-start: auto; }

.site-phone { background: #fff; border-radius: 34px; padding: 12px 10px 16px; box-shadow: 0 20px 50px rgba(31, 60, 136, 0.26); }
.site-phone__notch { width: 58px; height: 5px; border-radius: 3px; background: var(--df-border-card); margin: 4px auto 12px; }
.site-phone__screen { background: var(--df-bg-app); border-radius: 26px; overflow: hidden; }
.site-phone__head { background: var(--df-gradient-header-mobile); padding: 20px 16px 16px; color: #fff; }
.site-phone__date { font-size: 11.5px; color: var(--df-blue-on-dark); margin-bottom: 2px; }
.site-phone__greeting { font-family: var(--df-font-heading); font-size: 18px; font-weight: 800; }
.site-phone__body { padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.site-phone__alert { background: var(--df-alert-surface); border: 1px solid var(--df-alert-border); border-radius: 14px; padding: 12px; }
.site-phone__alert-head { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
.site-phone__alert-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--df-coral); animation: pulseRing 2s infinite; }
.site-phone__alert-title { font-size: 12.5px; font-weight: 700; color: var(--df-blue-deep); }
.site-phone__alert-sub { font-size: 11.5px; color: var(--df-alert-text-secondary); }
.site-phone__card { background: #fff; border: 1px solid var(--df-border-card); border-radius: 14px; padding: 12px; }
.site-phone__card-label { font-size: 11.5px; color: var(--df-text-muted); margin-bottom: 8px; }
.site-phone__cta { background: var(--df-blue); color: #fff; text-align: center; padding: 12px; border-radius: 11px; font-size: 13.5px; font-weight: 700; }
.site-phone__streak { display: flex; align-items: center; gap: 10px; }
.site-phone__streak-icon { width: 32px; height: 32px; border-radius: 11px; background: var(--df-warning-surface); display: flex; align-items: center; justify-content: center; flex: 0 0 32px; }
.site-phone__streak-icon svg { width: 16px; height: 16px; }
.site-phone__streak-title { font-family: var(--df-font-heading); font-size: 14px; font-weight: 800; color: var(--df-blue-deep); }
.site-phone__streak-sub { font-size: 11px; color: var(--df-text-muted); }
.site-phone__tabs { display: flex; padding: 8px 6px 14px; background: #fff; border-top: 1px solid var(--df-border-divider); }
.site-phone__tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.site-phone__tab-dot { width: 18px; height: 18px; border-radius: 6px; }
.site-phone__tab-label { font-size: 9.5px; font-weight: 600; }

/* Tab panels — CSS-only switching, no JS */
.site-preview-panels { display: contents; }
.site-preview-panel { display: none; }
#site-tab-accueil:checked ~ .site-preview .site-preview-panel--accueil,
#site-tab-journal:checked ~ .site-preview .site-preview-panel--journal,
#site-tab-stocks:checked ~ .site-preview .site-preview-panel--stocks,
#site-tab-garde:checked ~ .site-preview .site-preview-panel--garde { display: block; }

/* Section 5 — L'ado aussi */
.site-teen-card { background: #fff; border: 1px solid var(--df-border-card); border-radius: 26px; overflow: hidden; max-width: 720px; margin: 0 auto; }
.site-teen-card__text { padding: 40px; }
.site-teen-card__text h2 { font-family: var(--df-font-heading); font-size: 32px; font-weight: 800; letter-spacing: -0.025em; margin: 0 0 14px; color: var(--df-blue-deep); text-wrap: pretty; }
.site-teen-card__text p { margin: 0 0 22px; font-size: 15.5px; line-height: 1.7; color: var(--df-text-secondary); }
.site-teen-settings { display: flex; flex-direction: column; gap: 11px; }
.site-teen-setting { display: flex; align-items: center; gap: 12px; background: var(--df-bg-app); border-radius: 13px; padding: 13px 15px; }
.site-teen-setting__label { flex: 1; font-size: 14.5px; font-weight: 500; color: var(--df-text-secondary); }
.site-teen-setting__value { font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }

/* Section 6 — Tarifs (placeholder, développé dans une passe dédiée) */
.site-pricing-trial { display: flex; justify-content: center; margin-bottom: 26px; }
.site-pricing-trial__pill { display: inline-flex; align-items: center; gap: 10px; background: var(--df-warning-surface); border: 1px solid var(--df-warning-border); border-radius: 999px; padding: 9px 18px; font-size: 13.5px; font-weight: 600; color: var(--df-warning-text); }

.site-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; max-width: 860px; margin: 0 auto; }
.site-plan-card { background: #fff; border: 1px solid var(--df-border-card); border-radius: 24px; padding: 30px; display: flex; flex-direction: column; gap: 18px; position: relative; }
.site-plan-card--featured { background: var(--df-gradient-featured-offer); border: 0; color: #fff; box-shadow: var(--df-shadow-featured-offer); }
.site-plan-card__flag { position: absolute; top: -12px; inset-inline-start: 30px; background: var(--df-yellow); color: #6B4E00; font-size: 11.5px; font-weight: 700; padding: 6px 13px; border-radius: 999px; }
.site-plan-card__name { font-family: var(--df-font-heading); font-size: 23px; font-weight: 800; margin-bottom: 5px; color: var(--df-blue-deep); }
.site-plan-card--featured .site-plan-card__name { color: #fff; }
.site-plan-card__tagline { font-size: 13.5px; line-height: 1.5; color: var(--df-text-muted); }
.site-plan-card--featured .site-plan-card__tagline { color: var(--df-blue-on-dark); }
.site-plan-card__price-row { display: flex; align-items: baseline; gap: 6px; }
.site-plan-card__price { font-family: var(--df-font-heading); font-size: 44px; font-weight: 800; letter-spacing: -0.03em; color: var(--df-blue-deep); }
.site-plan-card--featured .site-plan-card__price { color: #fff; }
.site-plan-card__period { font-size: 14.5px; color: var(--df-text-muted); }
.site-plan-card--featured .site-plan-card__period { color: var(--df-blue-on-dark); }
.site-plan-card__saving { font-size: 13px; font-weight: 600; color: var(--df-mint-text); margin-top: -12px; }
.site-plan-card--featured .site-plan-card__saving { color: #fff; }
.site-plan-card__cta { padding: 15px; border-radius: 13px; font-family: var(--df-font-body); font-size: 15px; font-weight: 700; cursor: pointer; text-decoration: none; text-align: center; border: 0; background: var(--df-blue-surface); color: var(--df-blue-deep); }
.site-plan-card__cta:hover { text-decoration: none; background: var(--df-blue-border); color: var(--df-blue-deep); }
.site-plan-card--featured .site-plan-card__cta { background: #fff; color: var(--df-blue-deep); }
.site-plan-card--featured .site-plan-card__cta:hover { background: var(--df-blue-surface); color: var(--df-blue-deep); }
.site-plan-card__divider { height: 1px; background: var(--df-border-card); }
.site-plan-card--featured .site-plan-card__divider { background: rgba(255, 255, 255, 0.2); }
.site-plan-card__head { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--df-text-muted); }
.site-plan-card--featured .site-plan-card__head { color: var(--df-blue-on-dark); }
.site-plan-card__rows { display: flex; flex-direction: column; gap: 11px; }
.site-plan-row { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--df-text-secondary); }
.site-plan-card--featured .site-plan-row { color: #fff; }
.site-plan-row__mark { width: 19px; height: 19px; flex: 0 0 19px; border-radius: 50%; background: var(--df-mint-surface); color: var(--df-mint-text); display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.site-plan-row__mark svg { width: 11px; height: 11px; }
.site-plan-row--starred .site-plan-row__mark { background: var(--df-yellow); color: #6B4E00; }
.site-plan-card--featured .site-plan-row__mark { background: rgba(255, 255, 255, 0.18); color: #fff; }
.site-plan-card--featured .site-plan-row--starred .site-plan-row__mark { background: var(--df-yellow); color: #6B4E00; }

.site-promises { max-width: 860px; margin: 20px auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.site-promise-card { background: #fff; border: 1px solid var(--df-border-card); border-radius: 16px; padding: 18px; }
.site-promise-card__icon { color: var(--df-blue); margin-bottom: 9px; }
.site-promise-card__icon svg { width: 19px; height: 19px; }
.site-promise-card__title { font-family: var(--df-font-heading); font-size: 15px; font-weight: 700; color: var(--df-blue-deep); margin-bottom: 5px; }
.site-promise-card__body { font-size: 13px; line-height: 1.55; color: var(--df-text-muted); }

.site-partner-band { max-width: 860px; margin: 14px auto 0; background: var(--df-mint-surface); border: 1px solid var(--df-mint-border); border-radius: 18px; padding: 20px 24px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.site-partner-band__icon { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 14px; background: #fff; display: flex; align-items: center; justify-content: center; color: var(--df-mint-text); }
.site-partner-band__icon svg { width: 20px; height: 20px; }
.site-partner-band__title { font-family: var(--df-font-heading); font-size: 16.5px; font-weight: 700; color: var(--df-blue-deep); margin-bottom: 3px; }
.site-partner-band__body { font-size: 14px; color: var(--df-text-secondary); }
.site-partner-band__link { font-size: 14px; font-weight: 600; color: var(--df-mint-text); white-space: nowrap; margin-inline-start: auto; text-decoration: none; }
.site-partner-band__link:hover { text-decoration: underline; }

/* Section 7 — Le parcours */
.site-journey { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.site-journey-card { background: #fff; border: 1px solid var(--df-border-card); border-radius: 18px; padding: 20px 18px; display: flex; flex-direction: column; gap: 10px; }
.site-journey-card__num { width: 30px; height: 30px; border-radius: 10px; background: var(--df-blue-surface); color: var(--df-blue-text); display: flex; align-items: center; justify-content: center; font-family: var(--df-font-heading); font-size: 14px; font-weight: 800; }
.site-journey-card__title { font-family: var(--df-font-heading); font-size: 15.5px; font-weight: 700; color: var(--df-blue-deep); line-height: 1.3; }
.site-journey-card__body { font-size: 13px; line-height: 1.55; color: var(--df-text-muted); }

/* Section 8 — FAQ */
.site-faq { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px; align-items: start; }
.site-faq__side p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--df-text-muted); }
.site-faq__list { display: flex; flex-direction: column; gap: 12px; }
.site-faq-card { background: #fff; border: 1px solid var(--df-border-card); border-radius: 18px; padding: 22px 24px; }
.site-faq-card__q { font-family: var(--df-font-heading); font-size: 17px; font-weight: 700; color: var(--df-blue-deep); margin-bottom: 8px; }
.site-faq-card__a { font-size: 14.5px; line-height: 1.65; color: var(--df-text-secondary); }

/* Section 9 — CTA final */
.site-cta-final { background: var(--df-gradient-featured-offer); border-radius: 26px; padding: 52px 44px; text-align: center; color: #fff; }
.site-cta-final h2 { font-family: var(--df-font-heading); font-size: 36px; font-weight: 800; letter-spacing: -0.025em; margin: 0 0 12px; text-wrap: pretty; }
.site-cta-final p { margin: 0 auto 26px; font-size: 16.5px; line-height: 1.6; color: var(--df-blue-on-dark); max-width: 520px; }
.site-cta-final__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.site-btn-white { background: #fff; border: 0; color: var(--df-blue-deep); font-family: var(--df-font-body); font-size: 16px; font-weight: 700; padding: 16px 30px; border-radius: 14px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.site-btn-translucent { background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.36); color: #fff; font-family: var(--df-font-body); font-size: 16px; font-weight: 600; padding: 16px 28px; border-radius: 14px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }

/* Pied de page */
.site-footer { max-width: 1180px; margin: 62px auto 0; padding: 44px 40px 52px; display: flex; align-items: center; gap: 20px; border-top: 1px solid var(--df-border-card); flex-wrap: wrap; }
.site-footer__brand { display: flex; align-items: center; gap: 9px; }
.site-footer__mark { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 10px 10px 12px 12px; object-fit: contain; }
.site-footer__name { font-family: var(--df-font-heading); font-size: 15px; font-weight: 800; color: var(--df-blue-deep); }
.site-footer__tagline { font-size: 13.5px; color: var(--df-label-discrete); }
.site-footer__links { margin-inline-start: auto; display: flex; gap: 22px; font-size: 13.5px; }
.site-footer__links a { color: var(--df-text-muted); text-decoration: none; }
.site-footer__links a:hover { color: var(--df-blue-deep); text-decoration: none; }
.site-footer__social { display: flex; gap: 14px; font-size: 13.5px; }
.site-footer__social a { color: var(--df-text-muted); text-decoration: none; }
.site-footer__social a:hover { color: var(--df-blue-deep); text-decoration: none; }
.site-footer__stores { width: 100%; display: flex; gap: 10px; flex-wrap: wrap; }
.site-store-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px; background: var(--df-surface-subtle); border: 1px solid var(--df-border-card); color: var(--df-label-discrete); font-size: 12.5px; font-weight: 600; }
.site-store-badge--disabled { cursor: default; opacity: 0.7; }

@media (max-width: 61.25rem) {
    .site-hero__inner { grid-template-columns: 1fr; }
    .site-features, .site-problems { grid-template-columns: 1fr; }
    .site-preview { grid-template-columns: 1fr; }
    .site-phone { max-width: 320px; margin: 0 auto; }
    .site-journey { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .site-faq { grid-template-columns: 1fr; }
    .site-plans { grid-template-columns: 1fr; }
    .site-promises { grid-template-columns: 1fr; }
    .site-nav { display: none; }
}

/* ---------- Écrans connexion / inscription ---------- */

.auth2-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr); }

.auth2-form-col { padding: 44px 56px 56px; display: flex; flex-direction: column; }
.auth2-top { display: flex; align-items: center; gap: 10px; margin-bottom: 48px; }
.auth2-back { margin-inline-start: auto; background: transparent; border: 0; color: var(--df-text-muted); font-size: 13.5px; font-weight: 500; cursor: pointer; padding: 8px 12px; border-radius: 10px; text-decoration: none; }
.auth2-back:hover { background: var(--df-border-divider); color: var(--df-blue-deep); text-decoration: none; }

.auth2-form-wrap { width: 100%; max-width: 424px; margin: 0 auto; flex: 1; display: flex; flex-direction: column; justify-content: center; padding-bottom: 34px; }

.auth2-tabs { display: flex; background: var(--df-surface-btn-secondary); border-radius: 999px; padding: 4px; gap: 3px; margin-bottom: 30px; }
.auth2-tab { flex: 1; text-align: center; background: transparent; color: var(--df-text-muted); border: 0; padding: 11px; border-radius: 999px; font-family: var(--df-font-body); font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; }
.auth2-tab:hover { text-decoration: none; }
.auth2-tab.is-active { background: #fff; color: var(--df-blue-deep); box-shadow: var(--df-shadow-tab-active); }

.auth2-title { font-family: var(--df-font-heading); font-size: 31px; font-weight: 800; letter-spacing: -0.025em; margin: 0 0 8px; color: var(--df-blue-deep); text-wrap: pretty; }
.auth2-subtitle { margin: 0 0 26px; font-size: 15px; line-height: 1.6; color: var(--df-text-muted); }

.auth2-error { background: var(--df-alert-surface); border: 1px solid var(--df-alert-border); color: var(--df-alert-text); border-radius: 13px; padding: 12px 15px; font-size: 13.5px; margin-bottom: 18px; }

.auth2-roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 22px; }
.auth2-role { background: #fff; border: 1.5px solid var(--df-border-input); border-radius: 14px; padding: 14px 10px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 7px; font-family: var(--df-font-body); }
.auth2-role svg { width: 21px; height: 21px; color: var(--df-text-muted); }
.auth2-role span { font-size: 13px; font-weight: 600; color: var(--df-text-secondary); }
.auth2-role input { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; opacity: 0; }
.auth2-role:has(input:checked) { background: var(--df-blue-surface); border-color: var(--df-blue); }
.auth2-role:has(input:checked) svg, .auth2-role:has(input:checked) span { color: var(--df-blue-deep); }

.auth2-fields { display: flex; flex-direction: column; gap: 15px; }
.auth2-field__label-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 7px; }
.auth2-field label { font-size: 13px; font-weight: 600; color: var(--df-text-secondary); }
.auth2-field__hint { margin-inline-start: auto; font-size: 12.5px; font-weight: 500; color: var(--df-blue); cursor: pointer; text-decoration: none; }
.auth2-field__hint:hover { text-decoration: underline; }
.auth2-field input[type="email"], .auth2-field input[type="password"], .auth2-field input[type="text"] {
    width: 100%;
    height: 50px;
    border: 1.5px solid var(--df-border-input);
    border-radius: 13px;
    padding: 0 15px;
    font-family: var(--df-font-body);
    font-size: 15px;
    color: var(--df-blue-deep);
    background: #fff;
    outline: none;
}
.auth2-field input:focus { border-color: var(--df-blue); box-shadow: var(--df-shadow-focus); }
.auth2-field__note { font-size: 12.5px; color: var(--df-label-discrete); margin-top: 6px; }

.auth2-checkbox-row { display: flex; gap: 11px; align-items: flex-start; margin-top: 20px; }
.auth2-checkbox-row input[type="checkbox"] { width: 22px; height: 22px; flex: 0 0 22px; border-radius: 7px; accent-color: var(--df-blue); margin-top: 1px; }
.auth2-checkbox-row .text { font-size: 13px; line-height: 1.55; color: var(--df-text-muted); }
.auth2-checkbox-row .text a { color: var(--df-blue); }

.auth2-submit { width: 100%; height: 54px; background: var(--df-blue); color: #fff; border: 0; border-radius: 14px; font-family: var(--df-font-body); font-size: 16px; font-weight: 700; cursor: pointer; box-shadow: var(--df-shadow-btn-primary); margin-top: 22px; }
.auth2-submit:hover { background: var(--df-blue-hover); }

.auth2-children-list { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.auth2-children-list__item a {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 14px 16px;
    border: 1.5px solid var(--df-border-input);
    border-radius: 13px;
    text-decoration: none;
    transition: border-color 150ms ease;
}
.auth2-children-list__item a:hover { border-color: var(--df-blue); text-decoration: none; }
.auth2-children-list__name { font-family: var(--df-font-heading); font-size: 16px; font-weight: 600; color: var(--df-blue-deep); }
.auth2-children-list__meta { font-size: 12.5px; color: var(--df-text-muted); }

.auth2-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0 14px; font-size: 13px; color: var(--df-label-discrete); }
.auth2-divider::before, .auth2-divider::after { content: ""; flex: 1; height: 1px; background: var(--df-border-divider); }

.auth2-alt { display: flex; flex-direction: column; gap: 10px; }
.auth2-alt-btn { width: 100%; height: 48px; border-radius: 13px; font-family: var(--df-font-body); font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; display: flex; align-items: center; justify-content: center; }
.auth2-alt-btn:hover { text-decoration: none; }
.auth2-alt-btn--outline { background: #fff; border: 1.5px solid var(--df-border-input); color: var(--df-text-secondary); }
.auth2-alt-btn--tinted { background: var(--df-bg-app); border: 0; color: var(--df-text-secondary); }

.auth2-switch { text-align: center; margin-top: 22px; font-size: 14px; color: var(--df-text-muted); }
.auth2-switch a { color: var(--df-blue); font-weight: 600; }

.auth2-switch-link { display: block; width: 100%; margin-top: 14px; background: none; border: 0; min-height: 0; text-align: center; font-size: 14px; font-weight: 600; color: var(--df-blue); cursor: pointer; }
.auth2-switch-link:hover { color: var(--df-blue-hover); text-decoration: underline; }

.auth2-brand-col { position: relative; overflow: hidden; background: var(--df-gradient-card-accent); padding: 52px 48px; display: flex; flex-direction: column; justify-content: center; color: #fff; }
.auth2-brand-col__halo { position: absolute; top: -60px; inset-inline-end: -80px; width: 360px; height: 360px; border-radius: 50%; background: var(--df-halo-mint); }
.auth2-brand-col__inner { position: relative; }
.auth2-brand-col__eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--df-blue-gray-on-dark); margin-bottom: 14px; }
.auth2-brand-col__title { font-family: var(--df-font-heading); font-size: 29px; font-weight: 800; letter-spacing: -0.025em; margin: 0 0 26px; text-wrap: pretty; }
.auth2-brand-blocks { display: flex; flex-direction: column; gap: 14px; }
.auth2-brand-block { display: flex; gap: 14px; align-items: flex-start; background: rgba(255, 255, 255, 0.12); border-radius: 16px; padding: 16px; }
.auth2-brand-block__icon { flex: 0 0 30px; width: 30px; height: 30px; }
.auth2-brand-block__icon svg { width: 20px; height: 20px; }
.auth2-brand-block__title { font-weight: 700; margin-bottom: 3px; }
.auth2-brand-block__text { color: var(--df-blue-on-dark); font-size: 13px; line-height: 1.5; }

.auth2-disclaimer { position: relative; margin-top: 30px; font-size: 12px; line-height: 1.5; color: rgba(255, 255, 255, 0.75); padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.22); }

.site-survey-callout { max-width: 1160px; box-sizing: border-box; margin: 28px auto 0; padding: 22px 26px; border-radius: 20px; background: var(--df-blue-surface); border: 1px solid var(--df-blue-border); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-survey-callout div { display: flex; flex-direction: column; gap: 5px; color: var(--df-text-secondary); line-height: 1.45; }
.site-survey-callout strong { font-family: var(--df-font-heading); color: var(--df-blue-deep); font-size: 18px; }
.site-survey-callout--ulule { background: var(--df-mint-surface); border-color: var(--df-mint-border); }
.site-survey-callout--ulule strong { color: var(--df-mint-text); }

@media (max-width: 61.25rem) {
    .auth2-shell { grid-template-columns: 1fr; }
    .auth2-brand-col { display: none; }
    .auth2-form-col { padding: 28px 24px 40px; }
    .site-survey-callout { margin: 20px 16px 0; flex-direction: column; align-items: flex-start; }
}

/* ---------- Connexion : champs à icône, mot de passe révélable ---------- */

.auth2-input { position: relative; display: flex; align-items: center; }
.auth2-input__icon,
.auth2-input__reveal {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--df-label-discrete);
}
.auth2-input__icon { inset-inline-start: 14px; pointer-events: none; }
.auth2-input__reveal { inset-inline-end: 8px; width: 34px; height: 34px; border: 0; background: none; border-radius: 10px; cursor: pointer; }
.auth2-input__reveal:hover { background: var(--df-border-divider); }
.auth2-input__reveal.is-revealed { color: var(--df-blue); }
.auth2-input__icon svg,
.auth2-input__reveal svg {
    /* flex: 0 0 auto matters: inside the flex button the icon was being
       squeezed to 2px wide, and only the pupil showed. */
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Room for the icon on the left, and for the reveal button on the right. */
.auth2-input input[type="email"],
.auth2-input input[type="password"],
.auth2-input input[type="text"] { padding-inline-start: 42px; }
.auth2-input:has(.auth2-input__reveal) input { padding-inline-end: 46px; }

/*
 * The mobile app's three reassurances. The brand column beside the form
 * already says this on a wide screen, where it is hidden.
 */
.auth2-reassurance { display: none; }

@media (max-width: 61.25rem) {
    /* The same pale sky the app itself now opens on. */
    body.auth2-page { background: linear-gradient(180deg, #DCEAFF 0, #EAF3FF 45%, #F5F9FF 100%) no-repeat fixed, #F5F9FF; }

    .auth2-reassurance {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        margin: 28px 0 0;
        padding: 0;
        list-style: none;
    }

    .auth2-reassurance li {
        /* design-system.css dresses every <li> as a bordered card; here
           they are three plain reassurances, not three boxes. Same leak
           the app's footer nav had to undo for <label>. */
        margin: 0;
        padding: 0;
        border: 0;
        background: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        font-size: 11px;
        line-height: 1.35;
        text-align: center;
        color: var(--df-text-muted);
    }

    .auth2-reassurance__icon { color: var(--df-blue); }
    .auth2-reassurance__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
}

/*
 * The active store badge, next to the one still waiting. It has to read
 * as something you can press: the base badge is deliberately muted, and
 * left as-is a working link would look as inert as "bientôt disponible"
 * beside it.
 */
.site-store-badge--active {
    background: var(--df-text);
    border-color: var(--df-text);
    color: #FFF;
    text-decoration: none;
}

.site-store-badge--active:hover {
    background: var(--df-blue-deep);
    border-color: var(--df-blue-deep);
    color: #FFF;
    text-decoration: none;
}

/* ---------------------------------------------------------------------
 * La page où atterrit un lien de parrainage. Rien du parrain n'y figure,
 * et aucune récompense n'y est annoncée tant qu'aucune n'existe.
 * ------------------------------------------------------------------ */
.referral-landing { max-width: 720px; padding-bottom: 60px; }
.referral-landing__eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--df-blue); margin-bottom: 8px; }
.referral-landing__lead { font-size: 17px; line-height: 1.6; }
.referral-landing__note { margin-top: 32px; font-size: 14px; line-height: 1.6; color: var(--df-text-muted); }

/* Dit en toutes lettres, et non grisé au point de passer inaperçu : une
   application annoncée puis introuvable use la confiance. */
.referral-landing__pending {
    padding: 14px 16px;
    border-radius: 12px;
    background: var(--df-surface-subtle, #F9FAFE);
    border: 1px solid var(--df-border-card);
    font-size: 15px;
}

/* Le lien de téléchargement se touche au pouce sur un téléphone : 44 px
   est le minimum en dessous duquel on rate la cible. */
.referral-landing .site-btn-primary { display: inline-block; min-height: 44px; line-height: 44px; padding: 0 22px; }

@media (max-width: 640px) {
    .referral-landing .site-btn-primary { display: block; text-align: center; }
}

/* Sélecteur de langue de l'en-tête public.
   Un <details> : il s'ouvre sans JavaScript, donc toujours. */
.site-locale { position: relative; }
.site-locale__current {
    list-style: none;
    cursor: pointer;
    color: var(--df-blue-deep);
    font-family: var(--df-font-body);
    font-size: 14.5px;
    font-weight: 600;
    padding: 11px 12px;
    border-radius: 12px;
    white-space: nowrap;
}
.site-locale__current::-webkit-details-marker { display: none; }
.site-locale__current:hover { background: var(--df-blue-surface); }
.site-locale__list {
    position: absolute;
    inset-inline-end: 0;
    z-index: 40;
    margin: 6px 0 0;
    padding: 6px;
    list-style: none;
    min-width: 190px;
    background: #fff;
    border: 1px solid var(--df-border, #dfe7f4);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(30, 65, 130, .12);
}
.site-locale__list a {
    display: block;
    padding: 9px 12px;
    border-radius: 8px;
    color: var(--df-blue-deep);
    font-size: 14.5px;
    text-decoration: none;
}
.site-locale__list a:hover { background: var(--df-blue-surface); }

/* Sur un téléphone, la barre est déjà serrée : le globe suffit. */
@media (max-width: 640px) {
    .site-locale__current { padding: 11px 8px; font-size: 0; }
    .site-locale__current span { font-size: 18px; }
}

/* La preuve d'usage, sous les boutons d'appel : lisible sans crier. */
.site-hero__proof {
    margin: 14px 0 0;
    color: var(--df-blue-deep);
    font-family: var(--df-font-body);
    font-size: 15px;
    font-weight: 600;
}

/* Qui a écrit DiabTeam. Sobre à dessein : une confidence qui crie
   convainc moins qu'une confidence posée. */
.site-author {
    max-width: 780px;
    margin: 0 auto;
    padding: 26px 28px;
    background: var(--df-blue-surface);
    border-radius: 18px;
}
.site-author__eyebrow {
    margin: 0 0 10px;
    color: var(--df-blue);
    font-family: var(--df-font-body);
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.site-author__text {
    margin: 0;
    color: var(--df-blue-deep);
    font-family: var(--df-font-body);
    font-size: 17px;
    line-height: 1.65;
}
