:root {
    --navy:    #0f2040;
    --teal:    #0a6e72;
    --teal-lt: #0d8f94;
    --sage:    #d4ede8;
    --sand:    #f6f4ef;
    --white:   #ffffff;
    --text:    #1a1a2e;
    --muted:   #5a6578;
    --border:  #e0ddd6;
    --serif: 'DM Serif Display', Georgia, serif;
    --sans:  'Inter', system-ui, sans-serif;
    --radius: 4px;
    --max:    1100px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--text); background: var(--white); line-height: 1.65; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.2; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p  { font-size: .95rem; color: var(--muted); line-height: 1.75; }
img { display: block; max-width: 100%; height: auto; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 52px 0; }
.section--sand { background: var(--sand); }
.section--navy { background: var(--navy); color: var(--white); }

.eyebrow {
    font-size: .72rem; font-weight: 600; letter-spacing: .12em;
    text-transform: uppercase; color: var(--teal);
    display: block; margin-bottom: 10px;
}
.eyebrow--white { color: #7dd6d9; }

.btn {
    display: inline-block; padding: 12px 26px;
    border-radius: var(--radius); font-size: .875rem; font-weight: 600;
    font-family: var(--sans); border: none; cursor: pointer;
    transition: background .2s, transform .15s;
}
.btn--teal  { background: var(--teal); color: var(--white); }
.btn--teal:hover { background: var(--teal-lt); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.4); }
.btn--ghost:hover { background: rgba(255,255,255,.1); }

/* NAV */
.nav {
    position: sticky; top: 0; z-index: 100;
    background: var(--white); border-bottom: 1px solid var(--border);
}
.nav__inner {
    max-width: var(--max); margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.nav__logo { font-family: var(--serif); font-size: 1.2rem; color: var(--navy); cursor: pointer; }
.nav__logo span { color: var(--teal); }
.nav__links { display: flex; gap: 28px; }
.nav__links button {
    background: none; border: none; cursor: pointer;
    font-size: .85rem; font-weight: 500; color: var(--muted);
    font-family: var(--sans); transition: color .2s;
}
.nav__links button:hover { color: var(--teal); }

/* LANG SWITCH */
.nav__lang {
    display: flex; align-items: center;
    background: var(--sand); border: 1px solid var(--border);
    border-radius: 999px; padding: 4px; gap: 2px;
    font-family: var(--sans); font-size: .78rem; margin-right: 6px;
}
.nav__lang-link, .nav__lang-current {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 34px; padding: 5px 10px; border-radius: 999px;
    font-weight: 700; letter-spacing: .3px;
}
.nav__lang-link {
    color: var(--muted); text-decoration: none; transition: color .2s, background .2s;
}
.nav__lang-link:hover { color: var(--navy); background: rgba(15,32,64,0.06); }
.nav__lang-current { color: var(--white); background: var(--teal); }

/* HERO */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, #163252 60%, #0f2040 100%);
    color: var(--white); padding: 50px 24px 80px;
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 60% at 70% 50%, rgba(10,110,114,.3) 0%, transparent 70%);
    pointer-events: none;
}
.hero__inner {
    max-width: var(--max); margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
    position: relative;
}
.hero__tag {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(10,110,114,.25); border: 1px solid rgba(10,110,114,.5);
    color: #7dd6d9; font-size: .72rem; font-weight: 600;
    letter-spacing: .1em; text-transform: uppercase;
    padding: 5px 13px; border-radius: 100px; margin-bottom: 18px;
}
.hero h1 { margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: #7dd6d9; }
.hero__sub { font-size: 1rem; color: rgba(255,255,255,.7); margin-bottom: 32px; max-width: 460px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__card {
    background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px; padding: 28px;
}
.hero__card-title {
    font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
    color: #7dd6d9; margin-bottom: 20px;
}
.hero__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hero__stat { text-align: center; }
.hero__stat-num { font-family: var(--serif); font-size: 1.7rem; color: #7dd6d9; line-height: 1.5; }
.hero__stat-label { font-size: .78rem; color: rgba(255,255,255,.55); margin-top: 5px; }
.hero__stat-sep { grid-column: 1/-1; height: 1px; background: rgba(255,255,255,.08); }

/* BILANS */
.bilans__head { max-width: 620px; margin-bottom: 48px; }
.bilans__head h2 { margin-bottom: 12px; }
.bilans__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.bilan-card {
    border: 1px solid var(--border); border-radius: 8px;
    overflow: hidden; transition: box-shadow .2s, transform .2s;
    background: var(--white);
}
.bilan-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.09); transform: translateY(-2px); }
.bilan-card--featured { border-color: var(--teal); }

.bilan-card__header {
    padding: 24px 28px 20px;
    background: var(--navy); color: var(--white);
}
.bilan-card--featured .bilan-card__header { background: var(--teal); }
.bilan-card__badge {
    display: inline-block; font-size: .7rem; font-weight: 600;
    letter-spacing: .1em; text-transform: uppercase;
    background: rgba(255,255,255,.15); color: rgba(255,255,255,.9);
    padding: 3px 10px; border-radius: 100px; margin-bottom: 10px;
}
.bilan-card__header h3 { font-size: 1.3rem; color: var(--white); margin-bottom: 6px; }
.bilan-card__header p  { font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 0; }
.bilan-card__body { padding: 24px 28px; }
.bilan-card__body p { font-size: .9rem; margin-bottom: 16px; }

.feature-list { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; }
.feature-list li { display: flex; gap: 10px; font-size: .88rem; color: var(--muted); }
.feature-list li::before { content: '✓'; color: var(--teal); font-weight: 700; flex-shrink: 0; }
.feature-list li.no::before { content: '—'; color: #bbb; }
.feature-list li.no { color: #bbb; }

.bilan-card__tag-ai {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--sage); color: var(--teal);
    font-size: .75rem; font-weight: 600;
    padding: 4px 10px; border-radius: 100px; margin-bottom: 14px;
}

/* FONCTIONNEMENT */
.fonct__head { max-width: 620px; margin-bottom: 48px; }
.fonct__head h2 { margin-bottom: 12px; }
.fonct__img { border-radius: 8px; overflow: hidden; margin-bottom: 48px; box-shadow: 0 4px 24px rgba(0,0,0,.08); }
.fonct__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.fonct__step {
    background: var(--white); border: 1px solid var(--border);
    border-radius: 6px; padding: 22px;
}
.fonct__step-num {
    font-family: var(--serif); font-size: 2rem; color: var(--teal); line-height: 1; margin-bottom: 10px;
}
.fonct__step h4 { font-size: 1rem; margin-bottom: 6px; }
.fonct__step p  { font-size: .86rem; }

/* IA SECTION */
.ia__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ia__text h2 { margin-bottom: 16px; }
.ia__text p  { margin-bottom: 14px; }
.ia__img { border-radius: 8px; overflow: hidden; }

.garanties { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.garantie { display: flex; gap: 10px; align-items: flex-start; }
.garantie__icon { color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.garantie p { font-size: .88rem; margin-bottom: 0; }

/* PARCOURS IMAGE -->
.parcours__img { border-radius: 8px; overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,.12); }

/* TELECONSULT */
.tc__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.tc__text h2 { margin-bottom: 16px; }
.tc__text p  { margin-bottom: 14px; }
.tc__badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(10,110,114,.15); border: 1px solid rgba(10,110,114,.3);
    color: #7dd6d9; font-size: .8rem; font-weight: 600;
    padding: 6px 14px; border-radius: 100px; margin-bottom: 20px;
}
.tc__card {
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px; padding: 28px;
}
.tc__card h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; }
.tc__steps { display: flex; flex-direction: column; gap: 14px; }
.tc__step { display: flex; gap: 14px; align-items: flex-start; }
.tc__step-num {
    font-family: var(--serif); font-size: 1.4rem; color: #7dd6d9;
    flex-shrink: 0; line-height: 1; width: 24px;
}
.tc__step h5 { font-size: .9rem; color: var(--white); margin-bottom: 3px; }
.tc__step p  { font-size: .82rem; color: rgba(255,255,255,.55); margin-bottom: 0; }

/* LABO */
.labo__inner {
    display: flex; align-items: center; gap: 28px;
    background: var(--white); border: 1px solid var(--border);
    border-radius: 8px; padding: 28px 32px;
}
.labo__icon { font-size: 3rem; flex-shrink: 0; }
.labo__text h3 { margin-bottom: 6px; }
.labo__text p  { margin-bottom: 0; }

/* SECURITE */
.securite__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 32px; }
.sec-item {
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
    border-radius: 6px; padding: 22px;
}
.sec-item__icon { font-size: 1.6rem; margin-bottom: 12px; }
.sec-item h4 { font-size: .95rem; color: var(--navy); margin-bottom: 6px; }
.sec-item p  { font-size: .84rem; }

/* CONTACT */
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact__info h2 { margin-bottom: 12px; }
.contact__detail { display: flex; gap: 10px; align-items: center; font-size: .88rem; color: var(--muted); margin-bottom: 8px; }
.contact__detail span:first-child { color: var(--teal); }

.phone-reveal { margin-top: 16px; }
.phone-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--sage); border: 1px solid rgba(10,110,114,.3);
    color: var(--teal); font-size: .88rem; font-weight: 600;
    padding: 9px 16px; border-radius: var(--radius);
    cursor: pointer; font-family: var(--sans); transition: background .2s;
}
.phone-btn:hover { background: #c0e5df; }
.phone-revealed {
    display: none; align-items: center; gap: 10px;
    background: var(--sage); border: 1px solid rgba(10,110,114,.3);
    border-radius: var(--radius); padding: 12px 16px; margin-top: 0;
}
.phone-revealed.visible { display: flex; }
.phone-revealed__num { font-size: 1.1rem; font-weight: 600; color: var(--navy); }
.phone-revealed__wa {
    font-size: .78rem; color: var(--teal); display: flex; align-items: center; gap: 4px; margin-top: 3px;
}

.cform { display: flex; flex-direction: column; gap: 12px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ffield label { display: block; font-size: .78rem; font-weight: 600; color: var(--text); margin-bottom: 5px; }
.ffield input, .ffield textarea, .ffield select {
    width: 100%; padding: 10px 13px;
    border: 1.5px solid var(--border); border-radius: var(--radius);
    font-family: var(--sans); font-size: .88rem; color: var(--text);
    background: var(--white); transition: border-color .2s;
}
.ffield input:focus, .ffield textarea:focus, .ffield select:focus { outline: none; border-color: var(--teal); }
.ffield.ffield__contact { position: absolute; z-index: -9; color: var(--white); }
.ffield.ffield__contact label { color: var(--white); }
.ffield textarea { resize: vertical; min-height: 100px; }
.fprivacy { font-size: .78rem; color: var(--muted); }

/* FOOTER */
.footer { background: var(--navy); color: rgba(255,255,255,.5); padding: 32px 24px; }
.footer__inner { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer__logo { font-family: var(--serif); font-size: .95rem; color: var(--white); }
.footer__logo span { color: var(--teal-lt); }
.footer__legal { font-size: .78rem; }

/* ARTICLE PAGE */
.art-page { display: none; }
.art-page.active { display: block; }
.home-page.hidden { display: none; }

.art-hero { background: linear-gradient(135deg, var(--navy) 0%, #163252 100%); color: var(--white); padding: 56px 24px; }
.art-hero__inner { max-width: 800px; margin: 0 auto; }
.breadcrumb { font-size: .78rem; color: rgba(255,255,255,.45); margin-bottom: 14px; display: flex; gap: 8px; align-items: center; }
.breadcrumb button { background: none; border: none; color: var(--teal-lt); cursor: pointer; font-size: .78rem; font-family: var(--sans); padding: 0; }
.art-hero h1 { font-size: clamp(1.4rem, 3vw, 2.1rem); margin-bottom: 14px; }
.art-hero__meta { font-size: .82rem; color: rgba(255,255,255,.45); }

.art-body { max-width: 800px; margin: 0 auto; padding: 52px 24px; }
.art-body h2 { font-size: 1.5rem; color: var(--navy); margin-top: 44px; margin-bottom: 12px; }
.art-body h3 { font-size: 1.1rem; color: var(--navy); margin-top: 32px; margin-bottom: 10px; }
.art-body p { color: var(--muted); margin-bottom: 14px; font-size: .95rem; line-height: 1.8; }
.art-body p:first-child { color: var(--text); font-size: 1rem; }
.art-body strong { color: var(--text); font-weight: 600; }
.art-body ul { margin: 12px 0 12px 18px; }
.art-body ul li { font-size: .93rem; color: var(--muted); margin-bottom: 7px; list-style: disc; }
.art-body ol { margin: 12px 0 12px 18px; }
.art-body ol li { font-size: .93rem; color: var(--muted); margin-bottom: 10px; }
.art-body ol li strong { color: var(--text); }
.highlight {
    background: var(--sage); border-left: 3px solid var(--teal);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 18px 22px; margin: 24px 0;
}
.highlight p { color: var(--text); margin-bottom: 0; }
.art-img { border-radius: 8px; overflow: hidden; margin: 28px 0; box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 20px 0; }
.mini-card { background: var(--sand); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.mini-card h4 { font-size: .9rem; color: var(--navy); margin-bottom: 5px; }
.mini-card p  { font-size: .83rem; margin-bottom: 0; }
.art-checks { display: flex; flex-direction: column; gap: 10px; margin: 16px 0; }
.art-check { display: flex; gap: 10px; align-items: flex-start; }
.art-check__icon { color: var(--teal); flex-shrink: 0; }
.art-check p { margin-bottom: 0; font-size: .88rem; }
.art-cta { background: var(--sage); border-radius: 6px; padding: 28px; margin-top: 44px; text-align: center; }
.art-cta h3 { margin-bottom: 8px; color: var(--navy); }
.art-cta p { margin-bottom: 18px; }

/* RESPONSIVE */
@media (max-width: 860px) {
    .hero__inner, .bilans__grid, .ia__inner, .tc__inner, .contact__inner { grid-template-columns: 1fr; }
    .hero__card { display: none; }
    .fonct__steps { grid-template-columns: 1fr 1fr; }
    .securite__grid { grid-template-columns: 1fr 1fr; }
    .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .fonct__steps, .securite__grid { grid-template-columns: 1fr; }
    .nav__links { display: none; }
    .frow { grid-template-columns: 1fr; }
}