/* Site de NOE — une seule feuille, sans dépendance externe (polices hébergées ici). */
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 200 1000; font-display: swap; src: url(fonts/nunito-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 200 1000; font-display: swap; src: url(fonts/nunito-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #F4F6FA; --surface: #FFFFFF; --ink: #16171D; --muted: #5C6070; --line: #E2E5EC; --soft: #EBEEF4;
  --brand: #2F54EB; --sun: #FFD84A; --hl: #FFD84A; --sun-soft: #FFF3C4; --ok: #2BB673;
  --sky1: #5AA2FF; --sky2: #9CCBFF; --sky3: #E3F0FF;
  --radius: 24px; --wrap: 1140px; color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E1016; --surface: #171A22; --ink: #F1F2F6; --muted: #A4A8B5; --line: #282C37; --soft: #1E222B;
    --brand: #8EA6FF; --hl: rgba(255, 216, 74, .4); --sun-soft: #3A3317; --sky1: #1B2C55; --sky2: #20335F; --sky3: #0E1016; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0E1016; --surface: #171A22; --ink: #F1F2F6; --muted: #A4A8B5; --line: #282C37; --soft: #1E222B;
  --brand: #8EA6FF; --hl: rgba(255, 216, 74, .4); --sun-soft: #3A3317; --sky1: #1B2C55; --sky2: #20335F; --sky3: #0E1016; color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(40px, 6.4vw, 72px); font-weight: 900; }
h2 { font-size: clamp(30px, 4.2vw, 44px); font-weight: 850; }
h3 { font-size: 22px; font-weight: 850; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.eyebrow { font-size: 13px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 14px; border-radius: 10px; z-index: 10; }
.skip:focus { left: 12px; }
html[lang="fr"] [data-l="en"], html[lang="en"] [data-l="fr"] { display: none !important; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 14px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 900; font-size: 22px; letter-spacing: .1em; }
.logo img { width: 34px; height: 34px; border-radius: 9px; }
.nav { margin-left: auto; display: flex; gap: 4px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 750; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { background: var(--soft); }
.lang { border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 850 13px/1 "Nunito", sans-serif; letter-spacing: .06em; border-radius: 999px; padding: 9px 12px; cursor: pointer; min-height: 38px; margin-left: 4px; }
@media (max-width: 760px) { .nav a.opt { display: none; } }

/* Boutons, badge */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 24px; border-radius: 999px; font-weight: 850; font-size: 16px; text-decoration: none; border: 1.5px solid var(--ink); color: var(--ink); background: var(--surface); }
.btn.primary { background: var(--ink); color: var(--bg); }
.btn:hover { transform: translateY(-1px); }
.badge { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 850; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; margin-bottom: 20px; }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }

/* Accueil : ciel et avion de Lino */
.hero { position: relative; padding: 56px 0 72px; overflow: hidden; }
.sky { position: absolute; inset: 0; background: linear-gradient(180deg, var(--sky3) 0%, var(--bg) 100%); z-index: -1; }
.cloud { position: absolute; background: var(--surface); border-radius: 999px; opacity: .9; }
.cloud::before, .cloud::after { content: ""; position: absolute; background: inherit; border-radius: 50%; }
.c1 { width: 120px; height: 34px; top: 70px; right: 8%; } .c1::before { width: 54px; height: 54px; left: 18px; top: -26px; } .c1::after { width: 40px; height: 40px; left: 60px; top: -16px; }
.c2 { width: 90px; height: 26px; top: 300px; left: 46%; opacity: .7; } .c2::before { width: 40px; height: 40px; left: 14px; top: -20px; } .c2::after { width: 30px; height: 30px; left: 46px; top: -12px; }
.c3 { width: 150px; height: 40px; bottom: 60px; left: -40px; opacity: .8; } .c3::before { width: 64px; height: 64px; left: 30px; top: -32px; } .c3::after { width: 50px; height: 50px; left: 80px; top: -20px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 .hl { background: linear-gradient(transparent 60%, var(--hl) 60%, var(--hl) 92%, transparent 92%); padding: 0 .06em; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 32em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.hero-art { position: relative; display: flex; justify-content: center; min-height: 520px; }
.phone { width: 270px; transform: rotate(3deg); margin-top: 40px; }
.phone img { border-radius: 30px; box-shadow: 0 40px 70px -40px rgba(20, 40, 100, .55); }
.plane { position: absolute; left: -10px; top: -6px; width: 230px; z-index: 2; animation: fly 6s ease-in-out infinite; filter: drop-shadow(0 16px 18px rgba(20, 40, 100, .18)); }
.lp-prop { transform-box: fill-box; transform-origin: center; animation: spin .12s linear infinite; }
.lp-scarf, .lp-scarf2 { transform-box: fill-box; transform-origin: 100% 40%; animation: scarf .4s ease-in-out infinite alternate; }
.lp-scarf2 { animation-delay: -.2s; }
@keyframes fly { 0%, 100% { transform: translate(-6px, -6px) rotate(-3deg); } 50% { transform: translate(10px, 8px) rotate(2deg); } }
@keyframes spin { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.1); } }
@keyframes scarf { from { transform: skewY(-8deg); } to { transform: skewY(10deg) scaleX(1.1); } }
@media (max-width: 900px) {
  .hero { padding: 32px 0 48px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 16px; }
  .hero-art { min-height: 0; }
  .phone { width: 180px; margin-top: 52px; }
  .plane { width: 170px; left: 50%; margin-left: -190px; top: 0; }
}

/* Langues */
.langs { padding: 8px 0 24px; text-align: center; }
.langs ul { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.langs li { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-weight: 800; }
.langs li span[aria-hidden] { font-size: 20px; line-height: 1; }

section { padding: 64px 0; }
.section-head { max-width: 46em; margin-bottom: 36px; }

/* Fonctionnalités */
.features { display: grid; gap: 28px; }
.feature { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 32px; padding: 32px 48px; overflow: hidden; }
.feature.rev { grid-template-columns: 1fr 300px; }
.feature.rev .feature-shot { order: 2; }
.feature-shot img { border-radius: 22px; box-shadow: 0 24px 44px -30px rgba(20, 40, 100, .5); max-height: 520px; width: auto; margin: 0 auto; }
.feature-text p { font-size: 18px; color: var(--muted); max-width: 30em; margin: 0; }
.feature-text h3 { font-size: clamp(24px, 3vw, 32px); }
@media (max-width: 820px) {
  .feature, .feature.rev { grid-template-columns: 1fr; gap: 24px; padding: 28px 24px 0; }
  .feature.rev .feature-shot { order: 0; }
  .feature-text { order: -1; }
  .feature-shot img { max-height: none; width: 72%; margin-bottom: -60px; }
  .feature { padding-bottom: 0; }
  .feature-shot { max-height: 380px; overflow: hidden; }
}

/* Formules */
.plans-wrap { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 20px; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--bg); }
.plan.star { border: 2px solid var(--ink); position: relative; }
.plan h3 { margin-bottom: 4px; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316171D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat; }
@media (max-width: 880px) { .plans { grid-template-columns: 1fr; } }

/* Contact */
.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card p:last-child { margin-bottom: 0; }
.big { font-size: 20px; font-weight: 850; word-break: break-word; }
address { font-style: normal; line-height: 1.7; }
@media (max-width: 880px) { .contact { grid-template-columns: 1fr; } }

/* Pages de texte */
.doc { padding: 48px 0 72px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); }
.doc h2 { font-size: 23px; margin-top: 40px; }
.doc .lead { max-width: none; }
.facts { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 24px; }
.facts div { display: grid; grid-template-columns: 13em 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 16px; }
.facts div:first-child { border-top: 0; }
.facts dt { color: var(--muted); font-weight: 750; }
.facts dd { margin: 0; font-weight: 750; word-break: break-word; }
@media (max-width: 520px) { .facts div { grid-template-columns: 1fr; gap: 2px; } }

/* Pied de page : éditeur visible sur chaque page */
.foot { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 15px; color: var(--muted); }
.foot .editor { color: var(--ink); max-width: 60em; margin-bottom: 16px; }
.foot-row { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { color: var(--muted); font-weight: 750; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .plane, .lp-prop, .lp-scarf, .lp-scarf2 { animation: none; }
  .btn:hover { transform: none; }
}
