/* Page d'accueil publique (lot 61, sorti de app/Views/landing/index.php) */

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

:root {
    --navy: #042C53;
    --blue: #378ADD;
    --forest: #1D9E75;
    --mint: #5DCAA5;
    --amber: #EF9F27;
    --amber-dark: #b3690d;
    --text: #1a2a3a;
    --muted: #5c7080;
    --border: #e2eaf2;
    --bg: #f7fafd;
    --white: #ffffff;
    --r: 14px;
    --r-sm: 8px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
    font-size: 14px;
}

/*PROMO BANNER*/

.promo-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 110;
    height: 44px;
    background: linear-gradient(90deg, var(--navy) 0%, #0d5a8a 55%, var(--amber-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 16px;
    text-align: center;
    flex-wrap: wrap;
    box-shadow: 0 2px 10px rgba(4, 44, 83, .18);
}

.promo-banner-icon {
    font-size: 14px;
    line-height: 1;
    flex-shrink: 0;
}

.promo-banner-text {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    letter-spacing: .01em;
}

.promo-banner-text strong {
    color: #FFD98A;
    font-weight: 800;
}

.promo-countdown {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    color: var(--navy);
    background: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
}

.promo-countdown-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--amber);
    flex-shrink: 0;
    animation: pulse-dot 1.6s ease-in-out infinite;
}

/*   OFFSETS quand le bandeau promo est actif*/

body.has-promo {
    padding-top: 44px;
}

nav.has-promo {
    top: 44px;
}

.hero.has-promo {
    padding-top: 124px;
}

/*   NAV*/
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    height: 56px;
    background: rgba(4, 44, 83, .97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.nav-brand-name {
    font-size: 15px;
    font-weight: 900;
    color: #fff;
    letter-spacing: .08em;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-select {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 22px 5px 9px;
    border-radius: 20px;
    cursor: pointer;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='white'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 7px center;
}

.lang-select option {
    background: var(--navy);
    color: #fff;
}

.nav-cta {
    padding: 7px 13px;
    background: var(--forest);
    color: #fff;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: .04em;
    transition: background .2s;
    white-space: nowrap;
}

.nav-cta:hover {
    background: var(--mint);
    color: var(--navy);
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, var(--navy) 0%, #0A3D6B 50%, #0d5a8a 100%);
    padding: 80px 20px 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 30%, rgba(55, 138, 221, .18) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(29, 158, 117, .15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-atom {
    position: relative;
    z-index: 1;
    margin-bottom: 22px;
}

.hero-badge {
    position: relative;
    z-index: 1;
    display: inline-block;
    padding: 5px 14px;
    background: rgba(93, 202, 165, .15);
    border: 1px solid rgba(93, 202, 165, .4);
    border-radius: 20px;
    color: var(--mint);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.hero h1 {
    position: relative;
    z-index: 1;
    font-size: clamp(26px, 7vw, 64px);
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 16px;
    max-width: 800px;
}

.hero h1 span {
    color: var(--mint);
}

.hero-sub {
    position: relative;
    z-index: 1;
    font-size: clamp(13px, 3.5vw, 18px);
    color: rgba(255, 255, 255, .75);
    font-weight: 500;
    margin-bottom: 10px;
    max-width: 560px;
    line-height: 1.6;
}

.hero-offline-pill {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    margin-bottom: 28px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, .65);
}

.hero-offline-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--mint);
    flex-shrink: 0;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: .4;
        transform: scale(.7);
    }
}

.hero-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 320px;
}

.btn-primary {
    padding: 13px 24px;
    background: var(--forest);
    color: #fff;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: .04em;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary:hover {
    background: var(--mint);
    color: var(--navy);
    transform: translateY(-2px);
}

.btn-secondary {
    padding: 13px 24px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .25);
    color: #fff;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: .04em;
    transition: all .2s;
    text-align: center;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, .2);
    transform: translateY(-2px);
}

.hero-scroll {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.hero-scroll span {
    font-size: 9px;
    color: rgba(255, 255, 255, .3);
    letter-spacing: .1em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 30px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, .3), transparent);
}

/*   SECTIONS communes*/
section {
    padding: 56px 20px;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--forest);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-label::before {
    content: '';
    display: block;
    width: 18px;
    height: 2px;
    background: var(--forest);
    border-radius: 2px;
}

.section-title {
    font-size: clamp(22px, 5vw, 38px);
    font-weight: 800;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 12px;
}

.section-sub {
    font-size: 14px;
    color: var(--muted);
    max-width: 540px;
    line-height: 1.7;
    margin-bottom: 40px;
}

/*   STATS*/

.stats-section {
    background: var(--navy);
    padding: 48px 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 20px;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.stat-number {
    font-size: clamp(28px, 8vw, 52px);
    font-weight: 900;
    color: var(--mint);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 11px;
    color: rgba(255, 255, 255, .6);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    line-height: 1.4;
}

/*FEATURES*/

.features-bg {
    background: var(--bg);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.feature-card {
    background: var(--white);
    border-radius: var(--r);
    border: 1px solid var(--border);
    padding: 22px 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: transform .2s, box-shadow .2s;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(4, 44, 83, .09);
}

.feature-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.feature-icon.blue {
    background: #e8f3fd;
}

.feature-icon.green {
    background: #e6f7f2;
}

.feature-icon.navy {
    background: #e8eef5;
}

.feature-icon.amber {
    background: #fef3e2;
}

.feature-text {
    flex: 1;
}

.feature-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 5px;
}

.feature-desc {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.7;
}

/*   PARENT PORTAL BLOCK*/

.parent-block {
    background: var(--navy);
    border-radius: var(--r);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 14px;
}

.parent-block-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.parent-block-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--r-sm);
    background: rgba(93, 202, 165, .15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.parent-block-title {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.parent-block-sub {
    font-size: 12px;
    color: rgba(255, 255, 255, .6);
    line-height: 1.6;
}

.parent-block-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 4px;
}

.parent-block-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.pbi-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--mint);
    flex-shrink: 0;
    margin-top: 5px;
}

.pbi-text {
    font-size: 12px;
    color: rgba(255, 255, 255, .75);
    line-height: 1.6;
}

.pbi-text strong {
    color: #fff;
    font-weight: 700;
}

/*   PRICING*/
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.plan-card {
    background: var(--white);
    border-radius: var(--r);
    border: 2px solid var(--border);
    padding: 28px 22px;
    position: relative;
    transition: transform .2s;
}

.plan-card:hover {
    transform: translateY(-3px);
}

.plan-card.featured {
    border-color: var(--forest);
    background: var(--navy);
    box-shadow: 0 16px 48px rgba(4, 44, 83, .25);
}

.plan-card.has-promo {
    border-color: var(--amber);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--forest);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 3px 13px;
    border-radius: 20px;
    white-space: nowrap;
}

.plan-badge.promo-badge {
    background: linear-gradient(90deg, var(--amber-dark), var(--amber));
}

.plan-name {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--muted);
    margin-bottom: 8px;
}

.plan-card.featured .plan-name {
    color: var(--mint);
}

.plan-price-row {
    display: flex;
    align-items: baseline;
    gap: 9px;
    flex-wrap: wrap;
}

.plan-price {
    font-size: 40px;
    font-weight: 900;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 4px;
}

.plan-card.featured .plan-price {
    color: #fff;
}

.plan-price-strike {
    font-size: 18px;
    font-weight: 700;
    color: var(--muted);
    text-decoration: line-through;
    opacity: .7;
}

.plan-card.featured .plan-price-strike {
    color: rgba(255, 255, 255, .45);
}

.plan-price-period-inline {
    font-size: 14px;
    color: var(--muted);
    font-weight: 600;
}

.plan-card.featured .plan-price-period-inline {
    color: rgba(255, 255, 255, .5);
}

.plan-annual-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.5;
}

.plan-card.featured .plan-annual-note {
    color: rgba(255, 255, 255, .55);
}

.plan-annual-badge {
    font-size: 10px;
    font-weight: 700;
    background: #e6f7f2;
    color: var(--forest);
    padding: 2px 8px;
    border-radius: 20px;
    white-space: nowrap;
}

.plan-card.featured .plan-annual-badge {
    background: rgba(93, 202, 165, .15);
    color: var(--mint);
}

.plan-annual-badge.promo {
    background: #fef3e2;
    color: var(--amber-dark);
}

.plan-card.featured .plan-annual-badge.promo {
    background: rgba(239, 159, 39, .18);
    color: var(--amber);
}

.plan-annual-strike {
    font-size: 11px;
    color: var(--muted);
    text-decoration: line-through;
    opacity: .7;
}

.plan-card.featured .plan-annual-strike {
    color: rgba(255, 255, 255, .4);
}

.plan-annual-note.promo {
    color: var(--amber-dark);
}

.plan-card.featured .plan-annual-note.promo {
    color: var(--amber);
}

.plan-period {
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 10px;
}

.plan-card.featured .plan-period {
    color: rgba(255, 255, 255, .5);
}

.plan-monthly {
    font-size: 11px;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.5;
}

.plan-card.featured .plan-monthly {
    color: rgba(255, 255, 255, .55);
}

.plan-monthly.promo-monthly {
    color: var(--amber-dark);
}

.plan-card.featured .plan-monthly.promo-monthly {
    color: var(--amber);
}

.plan-savings {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    color: var(--forest);
    background: #e6f7f2;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 18px;
}

.plan-card.featured .plan-savings {
    background: rgba(93, 202, 165, .15);
    color: var(--mint);
}

.plan-features {
    list-style: none;
    margin-bottom: 24px;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 12px;
    color: var(--text);
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
    line-height: 1.5;
}

.plan-card.featured .plan-features li {
    color: rgba(255, 255, 255, .8);
    border-color: rgba(255, 255, 255, .1);
}

.plan-features li:last-child {
    border-bottom: none;
}

.check {
    color: var(--forest);
    font-size: 12px;
    flex-shrink: 0;
    margin-top: 1px;
}

.plan-card.featured .check {
    color: var(--mint);
}

.plan-btn {
    display: block;
    width: 100%;
    padding: 12px;
    text-align: center;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: .04em;
    transition: all .2s;
    border: 2px solid var(--navy);
    color: var(--navy);
    background: transparent;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}

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

.plan-card.featured .plan-btn {
    background: var(--forest);
    border-color: var(--forest);
    color: #fff;
}

.plan-card.featured .plan-btn:hover {
    background: var(--mint);
    border-color: var(--mint);
    color: var(--navy);
}

/*   APERÇU APP*/

#apercu {
    background: var(--white);
}

.mockup-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--forest);
    margin-bottom: 12px;
}

.mockup-wrap {
    background: #F0F4FA;
    border-radius: 14px;
    padding: 14px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.mockup-topnav {
    background: #042C53;
    border-radius: 9px;
    padding: 9px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.mockup-topnav-badge {
    background: rgba(93, 202, 165, .2);
    color: #5DCAA5;
    font-size: 9px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
}

.mockup-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 7px;
    margin-bottom: 10px;
}

.mockup-stat-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 9px 11px;
}

.mockup-table-wrap {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.mockup-table-head,
.mockup-table-row {
    display: grid;
    grid-template-columns: 1fr 50px 55px;
    padding: 6px 11px;
}

.mockup-table-head {
    background: #F0F4FA;
    border-bottom: 1px solid var(--border);
}

.mockup-table-row {
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
}

.mockup-table-row:last-child {
    border-bottom: none;
}

.mockup-barchart {
    display: flex;
    gap: 5px;
    align-items: flex-end;
    height: 42px;
    margin-top: 10px;
}

.mockup-bar-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.mockup-bar {
    width: 100%;
    border-radius: 3px 3px 0 0;
}

.mockup-grades-head,
.mockup-grades-row {
    display: grid;
    grid-template-columns: 1fr repeat(3, 36px) 50px;
    padding: 6px 9px;
}

.mockup-grades-head {
    background: #F0F4FA;
    border-bottom: 1px solid var(--border);
}

.mockup-grades-row {
    border-bottom: 1px solid #f5f5f5;
    align-items: center;
}

/*   URGENCY*/

.urgency-section {
    background: var(--navy);
    padding: 56px 20px;
}

.urgency-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 36px;
}

.urgency-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--r);
    padding: 22px 20px;
    position: relative;
    overflow: hidden;
}

.urgency-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--forest), var(--mint));
}

.urgency-card-icon {
    font-size: 26px;
    margin-bottom: 12px;
}

.urgency-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 7px;
}

.urgency-card-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, .6);
    line-height: 1.7;
}

.urgency-cta-wrap {
    text-align: center;
    margin-top: 40px;
}

.urgency-cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 30px;
    background: var(--forest);
    color: #fff;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: .04em;
    transition: all .2s;
}

.urgency-cta:hover {
    background: var(--mint);
    color: var(--navy);
    transform: translateY(-2px);
}

.urgency-note {
    margin-top: 12px;
    font-size: 11px;
    color: rgba(255, 255, 255, .35);
}

/*   CONTACT*/

.contact-section {
    background: var(--bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.contact-card {
    background: var(--white);
    border-radius: var(--r);
    border: 1px solid var(--border);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
    cursor: pointer;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(4, 44, 83, .1);
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--r-sm);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.contact-icon.wa {
    background: #e6f9f0;
}

.contact-icon.mail {
    background: #e8f3fd;
}

.contact-label {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
    margin-bottom: 2px;
}

.contact-value {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
}

.plan-selector {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.plan-sel-btn {
    flex: 1;
    min-width: 70px;
    padding: 9px 7px;
    border-radius: var(--r-sm);
    border: 2px solid var(--border);
    background: var(--white);
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    transition: all .2s;
    text-align: center;
}

.plan-sel-btn:hover {
    border-color: var(--blue);
    color: var(--navy);
}

.plan-sel-btn.active {
    border-color: var(--forest);
    background: #e6f7f2;
    color: var(--forest);
}

.plan-sel-btn .psb-name {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: inherit;
}

.plan-sel-btn .psb-price {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--navy);
    margin-top: 2px;
}

.plan-sel-btn.active .psb-price {
    color: var(--forest);
}

.form-card {
    background: var(--white);
    border-radius: var(--r);
    border: 1px solid var(--border);
    overflow: hidden;
}

.form-group {
    margin-bottom: 13px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--muted);
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 12px 13px;
    border-radius: var(--r-sm);
    border: 1px solid var(--border);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: var(--text);
    outline: none;
    transition: border-color .2s;
}

.form-group input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(55, 138, 221, .1);
}

.form-submit {
    width: 100%;
    padding: 14px;
    background: var(--forest);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
    letter-spacing: .04em;
    margin-bottom: 10px;
}

.form-submit:hover {
    background: #178a62;
}

.form-submit:disabled {
    opacity: .7;
    cursor: not-allowed;
}

.form-wa-direct {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: #e6f9f0;
    color: #085041;
    border: 1.5px solid #b2e5d4;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s;
}

.form-wa-direct:hover {
    background: #25D366;
    color: #fff;
    border-color: #25D366;
}

.form-success {
    text-align: center;
    padding: 28px 20px;
}

.form-success-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.form-success-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--forest);
    margin-bottom: 5px;
}

.form-success-sub {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 16px;
}

.wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 20px;
    background: #25D366;
    color: #fff;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity .2s;
}

.wa-btn:hover {
    opacity: .85;
}

@keyframes wa-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: .4;
        transform: scale(.7);
    }
}

/*   TRUST ITEMS*/
.trust-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.trust-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #e6f7f2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-icon svg {
    width: 15px;
    height: 15px;
    stroke: #1D9E75;
    stroke-width: 1.5;
    stroke-linecap: round;
    fill: none;
}

.trust-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 2px;
}

.trust-desc {
    font-size: 11px;
    color: var(--muted);
    line-height: 1.5;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer {
    background: var(--navy);
    padding: 44px 20px 24px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 32px;
}

.footer-brand-name {
    font-size: 18px;
    font-weight: 900;
    color: #fff;
    letter-spacing: .08em;
    margin: 7px 0 5px;
}

.footer-brand-tag {
    font-size: 10px;
    color: rgba(255, 255, 255, .4);
    letter-spacing: .08em;
    text-transform: uppercase;
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.footer-col-title {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(255, 255, 255, .4);
    margin-bottom: 12px;
}

.footer-col a {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, .65);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color .2s;
}

.footer-col a:hover {
    color: var(--mint);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    text-align: center;
}

.footer-copy {
    font-size: 11px;
    color: rgba(255, 255, 255, .3);
}

.footer-langs {
    display: flex;
    gap: 6px;
}

.footer-lang-btn {
    padding: 4px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .5);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: 'Montserrat', sans-serif;
    transition: all .2s;
}

.footer-lang-btn:hover,
.footer-lang-btn.active {
    background: var(--forest);
    color: #fff;
}

/*   WhatsApp float*/

.wa-float {
    position: fixed;
    bottom: 18px;
    right: 18px;
    z-index: 200;
    width: 50px;
    height: 50px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(37, 211, 102, .4);
    transition: transform .2s;
    text-decoration: none;
}

.wa-float:hover {
    transform: scale(1.1);
}

/*   RESPONSIVE — tablette*/

@media (min-width: 540px) {
    nav {
        padding: 0 24px;
        height: 60px;
    }

    .nav-brand-name {
        font-size: 16px;
    }

    .nav-cta {
        padding: 7px 16px;
        font-size: 12px;
    }

    .hero {
        padding: 100px 24px 80px;
    }

    .hero-actions {
        flex-direction: row;
        max-width: none;
        justify-content: center;
    }

    .btn-primary,
    .btn-secondary {
        width: auto;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 100%;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card {
        flex-direction: column;
    }

    .feature-icon {
        margin-bottom: 4px;
    }

    .mockup-stat-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .mockup-table-head,
    .mockup-table-row {
        grid-template-columns: 1fr 70px 55px 65px;
    }

    .urgency-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 860px) {
    section {
        padding: 80px 20px;
    }

    .urgency-section {
        padding: 80px 20px;
    }

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

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

    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-top {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

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

    .mockup-grades-head,
    .mockup-grades-row {
        grid-template-columns: 1fr repeat(4, 44px) 55px;
    }
}

.plan-savings.promo-savings {
    background: #fef3e2;
    color: var(--amber-dark);
    margin-bottom: 6px;
}

/* ── Lot 57 : section « Écoles sur Scholivo » */
.tm-section {
    background: var(--bg);
}

.tm-summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: -24px 0 28px;
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
}

.tm-stars {
    display: inline-flex;
    gap: 2px;
}

.tm-star {
    width: 15px;
    height: 15px;
    fill: #dde5ee;
}

.tm-star.is-on {
    fill: var(--amber);
}

.tm-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.tm-card {
    margin: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tm-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tm-logo {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border);
    flex-shrink: 0;
    background: var(--white);
}

.tm-initials {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #E6F1FB;
    color: #0C447C;
    font-size: 13px;
    font-weight: 800;
}

.tm-initials--anon {
    background: #eef2f6;
    color: var(--muted);
}

.tm-initials--anon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
}

.tm-school {
    font-size: 14px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.3;
}

.tm-city {
    font-size: 12px;
    color: var(--muted);
}

.tm-quote {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text);
    white-space: pre-line;
    flex: 1;
}

.tm-quote::before {
    content: "« ";
}

.tm-quote::after {
    content: " »";
}

.tm-quote:lang(en)::before {
    content: "“";
}

.tm-quote:lang(en)::after {
    content: "”";
}

.tm-author {
    font-size: 12px;
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.tm-author strong {
    color: var(--text);
    font-weight: 700;
}

.tm-lang-tag {
    font-size: 11px;
    font-weight: 700;
    background: #e1f5ee;
    color: #085041;
    padding: 2px 8px;
    border-radius: 20px;
}

@media (min-width: 640px) {
    .tm-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
    .tm-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ── Lot 52 : attribut hidden toujours respecté */
[hidden] {
    display: none !important;
}

/* ── Lot 52 : lien de connexion du menu */
.nav-login {
    padding: 7px 10px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 20px;
    transition: background .2s;
}

.nav-login:hover {
    background: rgba(255, 255, 255, .12);
}

@media (max-width: 420px) {
    .nav-brand-name {
        display: none;
    }

    .nav-login {
        padding: 7px 6px;
    }
}

/* ── Lot 52 : titres sur fond sombre */
.section-label--light {
    color: var(--mint);
}

.section-title--light {
    color: #fff;
}

.urgency-count {
    margin-top: 10px;
    font-size: 12px;
    font-weight: 700;
    color: var(--mint);
}

/* ── Lot 52 : contact et formulaire (anciens styles en ligne) */
.contact-arrow {
    margin-left: auto;
    color: var(--muted);
    font-size: 13px;
}

.trust-note {
    margin-top: 16px;
    padding: 14px 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 3px solid var(--forest);
    border-radius: 0 8px 8px 0;
}

.trust-note-text {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 7px;
}

.trust-note-cta {
    font-size: 11px;
    font-weight: 700;
    color: var(--forest);
}

.form-card-head {
    padding: 18px 20px 14px;
    border-bottom: 1px solid var(--border);
}

.online-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    background: #e6f9f0;
    color: #085041;
    padding: 4px 11px;
    border-radius: 20px;
    margin-bottom: 9px;
}

.online-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #1D9E75;
    display: inline-block;
    animation: wa-pulse 1.8s ease-in-out infinite;
    flex-shrink: 0;
}

.form-card-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 3px;
}

.form-card-sub {
    font-size: 12px;
    color: var(--muted);
}

.form-card-body {
    padding: 18px 20px 22px;
}

.form-plan-group {
    margin-bottom: 15px;
}

.form-plan-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--muted);
    margin-bottom: 7px;
}

.demo-error {
    color: #c0392b;
    font-size: 12px;
    font-weight: 600;
    padding: 10px 12px;
    background: #fdf0f0;
    border-radius: 8px;
    border: 1px solid #f5c6c6;
    margin-bottom: 12px;
}

.form-privacy {
    margin-top: 12px;
    font-size: 11px;
    line-height: 1.5;
    color: var(--muted);
    text-align: center;
}

.form-privacy a {
    color: var(--blue);
    font-weight: 600;
}

/* ── Lot 52 : maquettes (anciens styles en ligne) */
.mk-block {
    margin-bottom: 48px;
}

.mk-brand {
    display: flex;
    align-items: center;
    gap: 7px;
}

.mk-brand-name {
    font-size: 12px;
    font-weight: 900;
    color: #fff;
    letter-spacing: .06em;
}

.mk-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-bottom: 6px;
}

.mk-dot--blue {
    background: #378ADD;
}

.mk-dot--forest {
    background: #1D9E75;
}

.mk-dot--mint {
    background: #5DCAA5;
}

.mk-dot--amber {
    background: #EF9F27;
}

.mk-stat-val {
    font-size: 18px;
    font-weight: 700;
    color: #042C53;
    line-height: 1;
}

.mk-stat-lbl {
    font-size: 9px;
    color: #888;
    margin-top: 3px;
}

.mk-th {
    font-size: 9px;
    font-weight: 600;
    color: #888;
}

.mk-c {
    text-align: center;
}

.mk-td {
    font-size: 11px;
    color: #1a2a3a;
}

.mk-td-sm {
    font-size: 10px;
    color: #1a2a3a;
}

.mk-td-strong {
    font-size: 11px;
    font-weight: 600;
    color: #042C53;
}

.mk-pill {
    display: inline-block;
    font-size: 9px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 20px;
}

.mk-pill--paid {
    background: #E1F5EE;
    color: #085041;
}

.mk-pill--partial {
    background: #E6F1FB;
    color: #0C447C;
}

.mk-pill--unpaid {
    background: #FAEEDA;
    color: #633806;
}

.mk-pill--good,
.mk-pill--warn {
    color: #fff;
    font-weight: 700;
}

.mk-pill--good {
    background: #1D9E75;
}

.mk-pill--warn {
    background: #EF9F27;
}

.mk-bar--light {
    background: #B5D4F4;
}

.mk-bar--blue {
    background: #378ADD;
}

.mk-bar--navy {
    background: #042C53;
}

.mk-bar--h30 {
    height: 30px;
}

.mk-bar--h34 {
    height: 34px;
}

.mk-bar--h36 {
    height: 36px;
}

.mk-bar--h42 {
    height: 42px;
}

.mk-bar--h46 {
    height: 46px;
}

.mk-tiny {
    font-size: 8px;
    color: #888;
}

.mk-topnav-title {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
}

.mk-panel {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.mk-note {
    display: inline-block;
    width: 26px;
    height: 19px;
    border: 1px solid #378ADD;
    border-radius: 4px;
    background: #E6F1FB;
    text-align: center;
    line-height: 19px;
    font-size: 10px;
    font-weight: 600;
    color: #042C53;
}

.mk-actions {
    display: flex;
    justify-content: flex-end;
    gap: 7px;
    margin-top: 9px;
}

.mk-btn {
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--border);
    font-size: 11px;
    color: #888;
}

.mk-btn--primary {
    border-color: #1D9E75;
    background: #1D9E75;
    font-weight: 600;
    color: #fff;
}

.mk-center {
    display: flex;
    justify-content: center;
}

.mk-phone {
    width: 200px;
    background: #042C53;
    border-radius: 28px;
    padding: 9px;
}

.mk-phone-screen {
    background: #F7FAFD;
    border-radius: 19px;
    overflow: hidden;
}

.mk-phone-top {
    background: #042C53;
    padding: 8px 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mk-phone-brand {
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    letter-spacing: .06em;
}

.mk-phone-body {
    padding: 11px;
}

.mk-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #378ADD;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin: 0 auto 5px;
}

.mk-student-name {
    font-size: 11px;
    font-weight: 700;
    color: #042C53;
    text-align: center;
}

.mk-student-class {
    font-size: 9px;
    color: #888;
    text-align: center;
    margin-bottom: 11px;
}

.mk-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 9px;
}

.mk-card--spaced {
    margin-bottom: 7px;
}

.mk-card-title {
    font-size: 9px;
    color: #888;
    margin-bottom: 5px;
    font-weight: 500;
}

.mk-progress-row {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 4px;
}

.mk-progress {
    flex: 1;
    background: #E1F5EE;
    border-radius: 3px;
    height: 5px;
}

.mk-progress-fill {
    width: 82%;
    background: #1D9E75;
    border-radius: 3px;
    height: 5px;
}

.mk-avg {
    font-size: 14px;
    font-weight: 700;
    color: #042C53;
}

.mk-muted {
    font-size: 9px;
    color: #888;
}

.mk-subject-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 0;
    border-bottom: 1px solid #f5f5f5;
}

.mk-subject {
    font-size: 9px;
    color: #1a2a3a;
}

.mk-subject-note {
    font-size: 10px;
    font-weight: 700;
    color: #042C53;
}

.mk-phone-nav {
    display: flex;
    justify-content: space-around;
    padding: 8px 5px;
    background: #fff;
    border-top: 1px solid var(--border);
}

.mk-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.mk-nav-bar {
    width: 14px;
    height: 3px;
    border-radius: 2px;
    background: #ddd;
}

.mk-nav-label {
    font-size: 8px;
    color: #888;
    font-weight: 400;
}

.mk-nav-item.is-active .mk-nav-bar {
    background: #1D9E75;
}

.mk-nav-item.is-active .mk-nav-label {
    color: #1D9E75;
    font-weight: 600;
}


/* ── Accessibilité (lot 59) ── */
.skip-link {
    position: absolute;
    top: -100px;
    left: 12px;
    z-index: 10000;
    padding: 10px 16px;
    background: var(--white);
    color: var(--navy);
    border-radius: var(--r-sm);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.skip-link:focus {
    top: 12px;
}

a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 2px;
}

nav a:focus-visible,
nav button:focus-visible,
nav select:focus-visible,
.promo-banner a:focus-visible,
.hero a:focus-visible,
.stats-section a:focus-visible,
.urgency-section a:focus-visible,
footer a:focus-visible,
footer button:focus-visible {
    outline-color: var(--mint);
}

/* Piège à robots (lot 60a) : champ hors écran */
.hp-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

main:focus,
[tabindex="-1"]:focus {
    outline: none;
}

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

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}
