/* NextSIM — boutique. Style « voyage » : fond sable, cartes d'embarquement, cartes postales, tableau des départs.
   Couleurs de marque (cyan → bleu → violet) gardées pour les accents. */
:root {
  --bg: #fbf8f3;
  --bg2: #f3ede3;
  --card: #ffffff;
  --card-hi: #f7f2ea;
  --field: #ffffff;
  --line: rgba(11, 21, 48, .09);
  --line-hi: rgba(11, 21, 48, .16);
  --text: #0b1530;
  --muted: #566078;
  --dim: #8b93a5;
  --navy: #0b1530;
  --navy2: #14204a;
  --cyan: #0bb5d8;
  --blue: #4f6bff;
  --violet: #8b46f0;
  --sun: #ffc93c;
  --coral: #ff6b4a;
  --green: #12a36b;
  --amber: #b97700;
  --red: #d64545;
  --grad: linear-gradient(100deg, #12c6e8 0%, #4f6bff 52%, #9b4dff 100%);
  --radius: 22px;
  --shadow: 0 24px 60px -24px rgba(11, 21, 48, .28);
  --shadow-sm: 0 8px 24px -12px rgba(11, 21, 48, .22);
  --head: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  --hand: "Caveat", "Segoe Script", cursive;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--body); min-height: 100vh; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.08; margin: 0; letter-spacing: -.015em; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hand { font-family: var(--hand); font-weight: 700; letter-spacing: 0; }
.aurora { display: none; }

/* Bandeaux */
.promo-bar { background: var(--coral); color: #fff; text-align: center; font: 600 14px/1.4 var(--body); padding: 9px 16px; }
.promo-bar b { background: rgba(0,0,0,.18); padding: 2px 8px; border-radius: 99px; margin-right: 6px; }
.demo-bar { background: #fff4d6; color: #7a5200; border-bottom: 1px solid #f1dfa8; text-align: center; font-size: 13px; padding: 7px 16px; }

/* En-tête */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 243, .82); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.hdr.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(11,21,48,.35); }
.hdr .in { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; font: 800 23px var(--head); letter-spacing: -.03em; color: var(--navy); }
.brand .logo-chip { width: 46px; height: 46px; border-radius: 14px; background: var(--navy); display: grid; place-items: center; box-shadow: 0 6px 16px -6px rgba(79,107,255,.6); }
.brand .logo-chip img { width: 36px; filter: drop-shadow(0 0 6px rgba(18,198,232,.45)); }
.brand .logo-mark { width: 56px; height: auto; }
.brand b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 14px; border-radius: 99px; color: var(--muted); font-weight: 600; font-size: 15px; transition: .2s; }
.nav a:hover, .nav a.on { color: var(--text); background: rgba(11,21,48,.06); }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-hi); background: #fff; cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; background: var(--text); margin: 4px auto; border-radius: 2px; }
.mnav { display: none; }

/* Boutons */
/* Boutons « billet d'avion » : talon avec avion, ligne pointillée, encoches rondes en haut et en bas.
   --hole = couleur du fond derrière le bouton (pour les encoches), --stub = largeur du talon. */
.btn { --hole: var(--bg); --stub: 52px; --n: 7px; --dash: rgba(255,255,255,.55); --fill: var(--navy); --sh: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 calc(var(--stub) + 18px) 0 22px; border: 0; border-radius: 12px;
  cursor: pointer; color: #fff; font: 700 16px var(--body); letter-spacing: -.01em; white-space: nowrap; position: relative; isolation: isolate;
  background:
    radial-gradient(circle at calc(100% - var(--stub)) 0, var(--hole) var(--n), transparent calc(var(--n) + .5px)),
    radial-gradient(circle at calc(100% - var(--stub)) 100%, var(--hole) var(--n), transparent calc(var(--n) + .5px)),
    linear-gradient(var(--dash) 50%, transparent 0) calc(100% - var(--stub) - 1px) calc(var(--n) + 3px) / 2px 7px repeat-y,
    var(--fill);
  background-clip: border-box; box-shadow: 0 10px 22px -12px rgba(11,21,48,.55); transition: transform .18s ease, box-shadow .18s ease; }
.btn::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: var(--stub); background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 16v-2l-8-5V3.5a1.5 1.5 0 0 0-3 0V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5z'/%3E%3C/svg%3E") center / 20px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 16v-2l-8-5V3.5a1.5 1.5 0 0 0-3 0V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5z'/%3E%3C/svg%3E") center / 20px no-repeat; transform: rotate(45deg); transition: transform .35s cubic-bezier(.3,1.5,.5,1); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 28px -12px rgba(11,21,48,.6); }
.btn:hover::after { transform: translate(5px, -5px) rotate(45deg); }
.btn:active { transform: translateY(1px); box-shadow: 0 6px 14px -8px rgba(11,21,48,.6); }
.btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.btn > svg:last-child:not(:first-child) { display: none; }
.btn.grad { --fill: var(--grad); }
.btn.sun { --fill: var(--sun); color: var(--navy); --dash: rgba(11,21,48,.35); }
.btn.ghost { --fill: #fff; color: var(--navy); --dash: rgba(11,21,48,.25); box-shadow: inset 0 0 0 1.5px rgba(11,21,48,.22), 0 8px 18px -12px rgba(11,21,48,.4); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn:disabled::after { animation: none; }
.btn.sm { height: 44px; --stub: 42px; --n: 6px; padding: 0 calc(var(--stub) + 14px) 0 16px; font-size: 14px; border-radius: 10px; }
.btn.sm::after { -webkit-mask-size: 16px; mask-size: 16px; }
/* Couleur du fond derrière le bouton, pour que les encoches paraissent « percées » */
.flight .btn, .plan .btn, .lookup .btn, .esim-card .btn, .price-card .btn { --hole: #fff; }
.board .btn { --hole: #101b3f; }
.cta-band .btn { --n: 0px; }
.recap ~ form .btn, .drawer .btn { --hole: var(--bg); }
.btn.block { width: 100%; }

/* ===== Héros ===== */
.hero { padding: 40px 0 30px; position: relative; }
.hero .in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.tagline { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 99px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 14px; font-weight: 600; color: var(--muted); }
.tagline .dot { width: 26px; height: 26px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; font-size: 14px; }
.hero h1 { font-size: clamp(42px, 6.2vw, 80px); font-weight: 800; margin: 22px 0 18px; letter-spacing: -.02em; }
.hero h1 .price { position: relative; white-space: nowrap; display: inline-block; }
.hero h1 .price::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .26em; background: var(--sun); z-index: -1; border-radius: 4px; transform: rotate(-1deg); }
.hero p.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 530px; margin: 0 0 28px; }
.hero p.lead b { color: var(--text); }

/* Recherche façon réservation de vol */
.flight { background: #fff; border-radius: 22px; padding: 10px 14px 14px 10px; box-shadow: var(--shadow); border: 1px solid var(--line); max-width: 580px; position: relative; }
.flight .row { display: flex; align-items: center; gap: 10px; }
.flight .fld { flex: 1; display: flex; align-items: center; gap: 12px; padding: 6px 12px; border-radius: 14px; min-width: 0; }
.flight .fld .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--bg2); display: grid; place-items: center; color: var(--blue); flex: none; }
.flight .fld small { display: block; font-size: 12px; font-weight: 700; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; }
.flight input { border: 0; outline: none; background: none; width: 100%; font: 600 18px var(--body); padding: 0; color: var(--text); }
.flight input::placeholder { color: #a8afbf; font-weight: 500; }
.flight .btn { height: 58px; padding: 0 22px; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 8px; z-index: 30;
  box-shadow: var(--shadow); max-height: 380px; overflow: auto; display: none; text-align: left; }
.suggest.open { display: block; }
.suggest a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; font-weight: 600; }
.suggest a:hover, .suggest a.sel { background: var(--card-hi); }
.suggest a .p { margin-left: auto; color: var(--muted); font-size: 14px; font-weight: 500; }
.suggest a .p b { color: var(--text); }
.suggest .empty { padding: 14px; color: var(--muted); }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; align-items: center; color: var(--dim); font-size: 14px; }
.quick a { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 6px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--text); font-size: 14px; transition: .2s; }
.quick a:hover { border-color: var(--line-hi); transform: translateY(-1px); }
.quick a img { width: 22px; height: 16px; border-radius: 3px; object-fit: cover; }
.trust { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 26px; color: var(--muted); font-size: 14px; font-weight: 500; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { color: var(--green); }

/* Visuel : photo + carte d'embarquement */
.visual { position: relative; height: 600px; }
.visual .photo { position: absolute; inset: 0 0 60px 40px; border-radius: 240px 240px 32px 32px; overflow: hidden; box-shadow: var(--shadow); }
.visual .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.visual .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,21,48,0) 55%, rgba(11,21,48,.35)); }
.pass { position: absolute; left: -10px; bottom: 0; width: 380px; display: flex; background: #fff; border-radius: 22px; box-shadow: 0 30px 70px -25px rgba(11,21,48,.5);
  animation: bob 7s ease-in-out infinite; z-index: 3; }
.pass .main { flex: 1; padding: 18px 20px; }
.pass .stub { width: 104px; padding: 16px 14px; border-left: 2px dashed var(--line-hi); position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; }
.pass .stub::before, .pass .stub::after { content: ""; position: absolute; left: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); }
.pass .stub::before { top: -11px; } .pass .stub::after { bottom: -11px; }
.pass .top { display: flex; justify-content: space-between; align-items: center; font: 700 11px var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.pass .top .brand { font-size: 15px; gap: 6px; text-transform: none; letter-spacing: -.02em; }
.pass .route { display: flex; align-items: center; gap: 12px; margin: 12px 0; }
.pass .route b { font: 800 30px var(--head); letter-spacing: -.02em; }
.pass .route small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; margin-top: -2px; }
.pass .route .line { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--line-hi) 0 6px, transparent 6px 11px); position: relative; }
.pass .route .line svg { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); color: var(--blue); background: #fff; padding: 0 4px; box-sizing: content-box; }
.pass .meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pass .meta small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.pass .meta b { font-size: 14px; }
.pass .stub .qr { width: 70px; height: 70px; }
.pass .stub .qr img, .pass .stub .qr canvas { width: 100% !important; height: auto !important; }
.pass .stub small { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.tag { position: absolute; right: -6px; top: 70px; z-index: 4; width: 150px; height: 150px; border-radius: 50%; background: var(--sun); color: var(--navy); display: grid; place-items: center; text-align: center;
  box-shadow: 0 18px 40px -16px rgba(200,140,0,.8); transform: rotate(10deg); animation: wob 6s ease-in-out infinite; }
.tag::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 2px dashed rgba(11,21,48,.35); }
.tag small { display: block; font: 700 13px var(--body); text-transform: uppercase; letter-spacing: .08em; }
.tag b { display: block; font: 800 38px/1 var(--head); letter-spacing: -.03em; margin: 2px 0; }
.chip-f { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); font-size: 14px; font-weight: 600; animation: bob 6s ease-in-out infinite; }
.chip-f small { display: block; color: var(--muted); font-size: 12px; font-weight: 500; }
.chip-f .ok { width: 36px; height: 36px; border-radius: 11px; background: #e3f7ee; display: grid; place-items: center; color: var(--green); }
.chip-f.b { right: 20px; bottom: 150px; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-10px); } }
@keyframes wob { 50% { transform: rotate(4deg) scale(1.03); } }

/* Trajet en 3 étapes */
.journey { position: relative; margin-top: 50px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.journey .path { position: absolute; left: 12%; right: 12%; top: 44px; height: 2px; background: repeating-linear-gradient(90deg, rgba(79,107,255,.45) 0 8px, transparent 8px 16px); z-index: 0; }
.journey .path svg { position: absolute; top: 50%; color: var(--blue); animation: fly 9s linear infinite; }
@keyframes fly { 0% { left: 0; transform: translate(-50%, -50%) rotate(45deg); opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: 100%; transform: translate(-50%, -50%) rotate(45deg); opacity: 0; } }
.jstep { position: relative; z-index: 1; text-align: center; padding: 0 12px; }
.jstep .n { width: 88px; height: 88px; margin: 0 auto 18px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: grid; place-items: center; position: relative; color: var(--blue); }
.jstep .n i { position: absolute; top: -4px; right: -4px; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font: 800 14px/30px var(--head); font-style: normal; }
.jstep h3 { font-size: 21px; margin-bottom: 6px; }
.jstep p { color: var(--muted); margin: 0 auto; max-width: 300px; }
.jstep .t { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--blue); background: rgba(79,107,255,.1); padding: 3px 10px; border-radius: 99px; }

/* Sections */
section.s { padding: 100px 0 10px; }
.s-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.s-head.center { justify-content: center; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font: 700 13px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.s-head h2 { font-size: clamp(32px, 4.2vw, 50px); font-weight: 800; }
.s-head p { color: var(--muted); max-width: 560px; margin: 12px 0 0; font-size: 17px; }
.s-head .hand { font-size: 1.15em; color: var(--coral); }

/* Onglets */
.tabs { display: inline-flex; padding: 5px; border-radius: 99px; background: #fff; border: 1px solid var(--line); gap: 4px; box-shadow: var(--shadow-sm); flex-wrap: wrap; }
.tabs button { border: 0; background: none; padding: 9px 18px; border-radius: 99px; color: var(--muted); font-weight: 700; font-size: 14px; cursor: pointer; transition: .2s; }
.tabs button.on { background: var(--navy); color: #fff; box-shadow: 2px 2px 0 var(--sun); }

/* Tableau des départs */
.board { background: var(--navy); border-radius: 28px; padding: 28px; color: #e8ecf7; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.board::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 100% 0%, rgba(79,107,255,.35), transparent 60%), radial-gradient(50% 60% at 0% 100%, rgba(18,198,232,.18), transparent 60%); pointer-events: none; }
.board .bh { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; position: relative; flex-wrap: wrap; }
.board .bh h3 { font-size: 24px; color: #fff; display: flex; align-items: center; gap: 12px; }
.board .bh h3 svg { color: var(--sun); }
.board .clock { font: 700 15px ui-monospace, Menlo, monospace; color: var(--sun); letter-spacing: .1em; }
.board table { width: 100%; border-collapse: separate; border-spacing: 0 6px; position: relative; }
.board th { text-align: left; font: 700 11px var(--body); letter-spacing: .14em; text-transform: uppercase; color: #8c97b8; padding: 0 14px 4px; }
.board td { background: rgba(255,255,255,.05); padding: 12px 14px; font: 600 15px var(--body); }
.board tr td:first-child { border-radius: 12px 0 0 12px; } .board tr td:last-child { border-radius: 0 12px 12px 0; }
.board tbody tr { cursor: pointer; transition: .2s; }
.board tbody tr:hover td { background: rgba(255,255,255,.1); }
.board .flt { font-family: ui-monospace, Menlo, monospace; color: #8c97b8; }
.board .dst { display: flex; align-items: center; gap: 12px; }
.board .dst img { width: 30px; height: 22px; border-radius: 4px; object-fit: cover; }
.flap { display: inline-flex; gap: 2px; font: 700 17px ui-monospace, Menlo, monospace; }
.flap span { background: #060b1c; color: var(--sun); padding: 3px 5px; border-radius: 4px; min-width: 15px; text-align: center; position: relative; }
.flap span::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,.6); }
.st { font-size: 13px; font-weight: 700; color: #4ade80; }
.st::before { content: "● "; }
.board .go { color: var(--sun); font-weight: 700; white-space: nowrap; }
.board .more { text-align: center; margin-top: 14px; position: relative; }

/* Cartes postales */
.dest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.post { position: relative; background: #fff; padding: 10px 10px 16px; border-radius: 10px; box-shadow: var(--shadow-sm); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.post:nth-child(4n+1) { transform: rotate(-1.4deg); } .post:nth-child(4n+2) { transform: rotate(1deg); } .post:nth-child(4n+3) { transform: rotate(-.6deg); } .post:nth-child(4n) { transform: rotate(1.5deg); }
.post:hover { transform: rotate(0) translateY(-6px) scale(1.02); box-shadow: var(--shadow); z-index: 2; }
.post .ph { aspect-ratio: 4 / 4.4; border-radius: 6px; overflow: hidden; }
.post .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.post:hover .ph img { transform: scale(1.06); }
.post .cap { display: flex; align-items: center; gap: 10px; padding: 14px 6px 0; }
.post .cap img { width: 28px; height: 20px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px var(--line); }
.post .cap h3 { font-size: 19px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.post .cap .hand { white-space: nowrap; }
.post .cap .hand { margin-left: auto; color: var(--muted); font-size: 20px; }
.stamp { position: absolute; top: 20px; right: 20px; background: #fff; padding: 5px; transform: rotate(6deg); box-shadow: 0 6px 16px -6px rgba(0,0,0,.45); border-radius: 3px; }
.stamp > div { border: 2px dashed var(--coral); padding: 6px 10px; text-align: center; border-radius: 2px; }
.stamp small { display: block; font: 700 10px var(--body); text-transform: uppercase; letter-spacing: .1em; color: var(--coral); }
.stamp b { display: block; font: 800 20px/1.1 var(--head); letter-spacing: -.03em; color: var(--navy); white-space: nowrap; }
.list-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.litem { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: .2s; }
.litem:hover { border-color: var(--line-hi); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.litem img { width: 32px; height: 24px; border-radius: 5px; object-fit: cover; flex: none; box-shadow: 0 0 0 1px var(--line); }
.litem .n { font-weight: 700; font-size: 15px; line-height: 1.25; }
.litem .n small { display: block; color: var(--muted); font-weight: 500; font-size: 13px; }
.litem .n small b { color: var(--text); }
.litem .ar { margin-left: auto; color: var(--dim); }
.litem .globe { width: 34px; height: 34px; border-radius: 10px; background: var(--navy); color: #fff; display: grid; place-items: center; flex: none; }
.more-row { text-align: center; margin-top: 30px; }

/* Petit prix */
.prices { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: stretch; }
.price-card { background: #fff; border-radius: 28px; padding: 34px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.price-card h3 { font-size: 26px; margin-bottom: 8px; }
.price-card p { color: var(--muted); margin: 0 0 22px; }
.ex-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px dashed var(--line-hi); }
.ex-row img { width: 34px; height: 25px; border-radius: 4px; object-fit: cover; box-shadow: 0 0 0 1px var(--line); }
.ex-row .what { font-weight: 700; }
.ex-row .what small { display: block; color: var(--muted); font-weight: 500; font-size: 13px; }
.ex-row .p { margin-left: auto; font: 800 22px var(--head); white-space: nowrap; }
.ex-row .p small { font: 500 13px var(--body); color: var(--dim); margin-left: 4px; }
.promise { border-radius: 28px; padding: 34px; color: #fff; position: relative; overflow: hidden; background: var(--navy); display: flex; flex-direction: column; justify-content: flex-end; min-height: 420px; }
.promise img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promise::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,21,48,0) 10%, rgba(11,21,48,.7) 45%, rgba(11,21,48,.92)); }
.promise > *:not(img) { position: relative; z-index: 1; }
.promise h3 { font-size: 30px; margin-bottom: 14px; }
.promise ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.promise li { display: flex; gap: 10px; align-items: flex-start; }
.promise li svg { color: var(--sun); flex: none; margin-top: 4px; }

/* Avantages */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.perk { background: #fff; border-radius: 22px; padding: 26px; border: 1px solid var(--line); }
.perk .ic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 16px; }
.perk:nth-child(1) .ic { background: #e6f7fb; color: var(--cyan); } .perk:nth-child(2) .ic { background: #fff3d6; color: #c98a00; }
.perk:nth-child(3) .ic { background: #eef0ff; color: var(--blue); } .perk:nth-child(4) .ic { background: #ffe9e3; color: var(--coral); }
.perk h3 { font-size: 18px; margin-bottom: 6px; }
.perk p { color: var(--muted); margin: 0; font-size: 15px; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font: 700 17px var(--head); display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--bg2); display: grid; place-items: center; font-size: 20px; line-height: 1; transition: .25s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--navy); color: #fff; }
.faq details p { color: var(--muted); margin: 0 0 20px; }

/* Appel final */
.cta-band { margin: 100px auto 0; border-radius: 34px; position: relative; overflow: hidden; padding: 70px 40px; text-align: center; color: #fff; }
.cta-band img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,21,48,.85), rgba(11,21,48,.45)); }
.cta-band > *:not(img) { position: relative; z-index: 1; }
.cta-band .hand { font-size: 34px; color: var(--sun); display: block; }
.cta-band h2 { font-size: clamp(32px, 4.4vw, 54px); margin: 6px 0 14px; }
.cta-band p { color: rgba(255,255,255,.85); margin: 0 0 26px; font-size: 18px; }

/* Pied de page */
.ftr { margin-top: 100px; background: var(--navy); color: #a7b0c8; padding: 60px 0 30px; font-size: 14px; }
.ftr .brand { color: #fff; }
.ftr .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.ftr h4 { color: #fff; font: 700 15px var(--head); margin-bottom: 14px; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ftr a:hover { color: #fff; }
.ftr .bot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }
.pay-logos { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.pay-logos span { padding: 5px 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,.15); font-size: 12px; font-weight: 700; color: #cfd5e6; }

/* ===== Page destination ===== */
.dhero { position: relative; padding: 0; }
.dhero .banner { position: relative; height: 340px; border-radius: 0 0 40px 40px; overflow: hidden; background: var(--navy); }
.dhero .banner img { width: 100%; height: 100%; object-fit: cover; }
.dhero .banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,21,48,.15), rgba(11,21,48,.7)); }
.dhero .banner .wrap { position: absolute; left: 0; right: 0; bottom: 34px; z-index: 1; color: #fff; }
.dhero .banner.noimg { background: var(--navy); background-image: radial-gradient(60% 90% at 90% 0%, rgba(79,107,255,.6), transparent 60%), radial-gradient(50% 80% at 0% 100%, rgba(18,198,232,.35), transparent 60%); }
.crumbs { font-size: 14px; margin-bottom: 16px; opacity: .85; }
.crumbs a:hover { text-decoration: underline; }
.dhero .t { display: flex; align-items: center; gap: 18px; }
.dhero .t img.fl { width: 70px; height: 52px; border-radius: 10px; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 10px 30px rgba(0,0,0,.35); }
.dhero .t .gl { width: 64px; height: 64px; border-radius: 18px; background: rgba(255,255,255,.15); backdrop-filter: blur(6px); display: grid; place-items: center; }
.dhero .kick { font: 700 13px var(--body); letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.dhero h1 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 800; }
.dhero .from-tag { margin-left: auto; background: var(--sun); color: var(--navy); border-radius: 18px; padding: 10px 18px; text-align: center; transform: rotate(3deg); box-shadow: 0 14px 30px -12px rgba(0,0,0,.5); }
.dhero .from-tag small { display: block; font: 700 12px var(--body); text-transform: uppercase; letter-spacing: .08em; }
.dhero .from-tag b { font: 800 30px/1.1 var(--head); }
.dintro { display: flex; justify-content: space-between; gap: 24px; align-items: center; flex-wrap: wrap; padding: 28px 0 8px; }
.dintro p { color: var(--muted); max-width: 640px; margin: 0; font-size: 17px; }
.feat { display: flex; flex-wrap: wrap; gap: 8px; }
.feat span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.feat svg { color: var(--blue); }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 22px 0 26px; }
.plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 0; border-radius: 22px; background: #fff; border: 1px solid var(--line); cursor: pointer; transition: .25s; text-align: left; width: 100%; overflow: hidden; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.plan .ptop { padding: 22px 22px 18px; position: relative; }
.plan .d { font: 800 34px var(--head); letter-spacing: -.03em; }
.plan .v { color: var(--muted); font-size: 15px; font-weight: 600; margin-top: 2px; }
.plan .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.plan .meta span { font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 8px; background: var(--bg2); color: var(--muted); }
.plan .pbot { margin-top: auto; padding: 16px 22px 20px; border-top: 2px dashed var(--line); position: relative; }
.plan .pbot::before, .plan .pbot::after { content: ""; position: absolute; top: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); }
.plan .pbot::before { left: -11px; } .plan .pbot::after { right: -11px; }
.plan .pr { display: flex; align-items: baseline; gap: 10px; }
.plan .pr b { font: 800 30px var(--head); letter-spacing: -.03em; }
.plan .pr s { color: var(--dim); }
.plan .pr small { color: var(--muted); margin-left: auto; font-size: 13px; }
.plan .buy { margin-top: 14px; }
.plan.best { border: 2px solid var(--blue); }
.plan .badge { position: absolute; top: 18px; right: 18px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 99px; }
.plan .badge.promo { background: var(--coral); }
.plan .badge.cheap { background: var(--sun); color: var(--navy); }
.empty-box { padding: 40px; text-align: center; color: var(--muted); border: 2px dashed var(--line-hi); border-radius: var(--radius); }
.also { margin-top: 34px; color: var(--muted); }
.also a { display: inline-block; margin: 8px 6px 0 0; padding: 8px 15px; border-radius: 99px; background: #fff; border: 1px solid var(--line); color: var(--text); font-size: 14px; font-weight: 600; }
.also a:hover { border-color: var(--line-hi); }
.cov { margin-top: 36px; }
.cov h3 { font-size: 22px; }
.cov .flags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cov .flags a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.cov .flags img { width: 24px; height: 18px; border-radius: 4px; object-fit: cover; }

/* Panneau de commande */
.drawer-bg { position: fixed; inset: 0; background: rgba(11,21,48,.45); backdrop-filter: blur(3px); z-index: 80; opacity: 0; pointer-events: none; transition: .3s; }
.drawer-bg.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(480px, 100%); background: var(--bg); z-index: 90; transform: translateX(100%); transition: transform .4s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column; visibility: hidden; }
.drawer.open { transform: none; visibility: visible; box-shadow: -30px 0 60px -30px rgba(11,21,48,.4); }
.drawer .dh { display: flex; align-items: center; justify-content: space-between; padding: 22px 26px; border-bottom: 1px solid var(--line); background: #fff; }
.drawer .dh h3 { font-size: 20px; }
.x { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-hi); background: #fff; cursor: pointer; font-size: 20px; line-height: 1; }
.drawer .db { padding: 24px 26px; overflow: auto; flex: 1; }
.recap { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: 18px; background: var(--navy); color: #fff; margin-bottom: 18px; }
.recap img { width: 52px; height: 39px; border-radius: 8px; object-fit: cover; }
.recap .globe { width: 52px; height: 52px; border-radius: 14px; background: rgba(255,255,255,.12); display: grid; place-items: center; }
.recap b { font: 700 18px var(--head); display: block; }
.recap span { color: #b6bfd8; font-size: 14px; }
.recap .rp { margin-left: auto; font: 800 22px var(--head); color: var(--sun); white-space: nowrap; }
label.f { display: block; font-size: 14px; font-weight: 700; margin: 0 0 8px; }
.inp { width: 100%; height: 52px; border-radius: 14px; border: 1px solid var(--line-hi); background: var(--field); padding: 0 16px; outline: none; transition: .2s; }
.inp:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(79,107,255,.15); }
.hint { color: var(--dim); font-size: 13px; margin: 6px 0 18px; }
.code-row { display: flex; gap: 8px; }
.code-row .inp { text-transform: uppercase; }
.msg { font-size: 14px; margin: 8px 0 18px; font-weight: 600; }
.msg.ok { color: var(--green); } .msg.ko { color: var(--red); }
.lines { margin: 20px 0; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.lines div { display: flex; justify-content: space-between; padding: 5px 0; color: var(--muted); }
.lines div.tot { color: var(--text); font: 800 21px var(--head); border-top: 2px dashed var(--line); margin-top: 8px; padding-top: 14px; }
.lines .neg { color: var(--green); font-weight: 700; }
.chk { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 16px 0 20px; cursor: pointer; }
.chk input { width: 20px; height: 20px; accent-color: var(--blue); margin-top: 1px; flex: none; }
.secure { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--dim); font-size: 13px; margin-top: 12px; }
.err { background: #fdecec; border: 1px solid #f5c2c2; color: #9b2c2c; padding: 12px 14px; border-radius: 12px; font-size: 14px; margin-bottom: 14px; }
.compat { padding: 14px 16px; border-radius: 14px; background: #e9f7fb; border: 1px solid #c4ebf4; font-size: 14px; color: #31586a; margin-bottom: 18px; }
.compat b { color: var(--text); }

/* Page commande / eSIM */
.order-page { padding: 50px 0; }
.ok-head { text-align: center; margin-bottom: 36px; }
.ok-head .big-ic { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; background: #e3f7ee; color: var(--green); box-shadow: 0 0 0 10px rgba(18,163,107,.07); }
.ok-head h1 { font-size: clamp(32px, 4.4vw, 48px); font-weight: 800; }
.ok-head p { color: var(--muted); }
.esim-card { display: grid; grid-template-columns: 300px 1fr; gap: 0; border-radius: 28px; background: #fff; box-shadow: var(--shadow); margin-bottom: 20px; overflow: hidden; }
.esim-card .qrside { background: var(--navy); padding: 30px; display: flex; flex-direction: column; gap: 14px; align-items: center; justify-content: center; color: #fff; position: relative; }
.esim-card .qrside small { font: 700 11px var(--body); letter-spacing: .14em; text-transform: uppercase; color: #9aa6c6; }
.esim-card .qrbox { background: #fff; border-radius: 20px; padding: 16px; width: 100%; }
.esim-card .qrbox canvas, .esim-card .qrbox img { width: 100% !important; height: auto !important; }
.esim-card .info { padding: 32px; }
.esim-card h2 { font-size: 26px; margin-bottom: 4px; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 99px; font-size: 13px; font-weight: 700; background: var(--bg2); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status.ready, .status.completed, .status.active, .status.installed { color: var(--green); background: #e3f7ee; }
.status.processing, .status.paid { color: var(--amber); background: #fff4d6; }
.status.failed, .status.revoked, .status.expired, .status.refunded, .status.used_up { color: var(--red); background: #fdecec; }
.inst { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0; }
.copy { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); margin-bottom: 10px; }
.copy small { display: block; color: var(--muted); font-size: 12px; }
.copy code { font-size: 13px; word-break: break-all; }
.copy button { margin-left: auto; flex: none; border: 1px solid var(--line-hi); background: #fff; border-radius: 10px; padding: 7px 12px; cursor: pointer; font-size: 13px; font-weight: 600; }
.usage { margin-top: 20px; padding: 18px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); }
.usage .bar { height: 10px; border-radius: 10px; background: var(--bg2); overflow: hidden; margin: 10px 0; }
.usage .bar i { display: block; height: 100%; background: var(--grad); }
.guide { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.bx { padding: 28px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.bx h3 { font-size: 20px; margin: 0 0 8px; display: flex; align-items: center; gap: 8px; }
.bx p { color: var(--muted); margin: 0; }
.bx ol { color: var(--muted); padding-left: 20px; margin: 10px 0 0; }
.bx li { margin-bottom: 6px; }
.help-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 60px; }
.help-grid .w3 { grid-column: span 3; } .help-grid .w2 { grid-column: span 2; }
.todo { color: var(--amber); font-weight: 600; }
.lookup { max-width: 480px; margin: 50px auto; padding: 36px; border-radius: 28px; background: #fff; box-shadow: var(--shadow); }
.lookup h1 { font-size: 32px; margin-bottom: 8px; }
.lookup p { color: var(--muted); margin: 0 0 24px; }
.spin { width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(11,21,48,.15); border-top-color: var(--blue); animation: spin .8s linear infinite; display: inline-block; vertical-align: middle; }
.btn .spin { border-color: rgba(255,255,255,.3); border-top-color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading { padding: 120px 0; display: grid; place-items: center; color: var(--muted); gap: 16px; }
.toast { opacity: 0; position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 120px); background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 14px; z-index: 100; transition: .35s; font-size: 14px; font-weight: 600; }
.toast.on { transform: translate(-50%, 0); opacity: 1; }

/* Apparition au défilement */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.rv.vis { opacity: 1; transform: none; }
.post.rv.vis:nth-child(4n+1) { transform: rotate(-1.4deg); } .post.rv.vis:nth-child(4n+2) { transform: rotate(1deg); } .post.rv.vis:nth-child(4n+3) { transform: rotate(-.6deg); } .post.rv.vis:nth-child(4n) { transform: rotate(1.5deg); }
.post.rv.vis:hover { transform: rotate(0) translateY(-6px) scale(1.02); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .rv { opacity: 1; transform: none; } }

/* Tablette */
@media (max-width: 1020px) {
  .hero .in { grid-template-columns: 1fr; }
  .visual { height: 560px; max-width: 620px; width: 100%; margin: 0 auto; }
  .dest-grid { grid-template-columns: repeat(3, 1fr); }
  .list-grid { grid-template-columns: repeat(3, 1fr); }
  .perks { grid-template-columns: 1fr 1fr; }
  .prices { grid-template-columns: 1fr; }
  .ftr .cols { grid-template-columns: 1fr 1fr; }
  .esim-card { grid-template-columns: 250px 1fr; }
  .board .hide-md { display: none; }
}
/* Mobile */
@media (max-width: 720px) {
  .nav, .hdr .cta { display: none; }
  .burger { display: block; }
  .mnav { display: grid; position: fixed; top: 74px; left: 0; right: 0; background: var(--bg); padding: 12px 16px 20px; gap: 4px; border-bottom: 1px solid var(--line);
    transform: translateY(-130%); transition: .3s; z-index: 49; box-shadow: var(--shadow); }
  .mnav.open { transform: none; }
  .mnav a { padding: 14px 12px; border-radius: 12px; font-weight: 700; }
  .mnav a:not(.btn):hover { background: #fff; }
  .hero { padding-top: 22px; }
  .flight .row { flex-direction: column; align-items: stretch; }
  .flight .btn { height: 52px; }
  .visual { height: 470px; }
  .visual .photo { inset: 0 0 80px 0; border-radius: 180px 180px 26px 26px; }
  .pass { width: calc(100% - 10px); left: 5px; }
  .pass .route b { font-size: 24px; }
  .tag { width: 116px; height: 116px; right: 0; top: 30px; } .tag b { font-size: 29px; } .tag small { font-size: 11px; }
  .chip-f.b { display: none; }
  .journey { grid-template-columns: 1fr; gap: 30px; }
  .journey .path { display: none; }
  .dest-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .post { padding: 7px 7px 12px; } .post .cap h3 { font-size: 16px; } .post .cap .hand { display: none; }
  .stamp { top: 12px; right: 12px; } .stamp > div { padding: 4px 7px; } .stamp b { font-size: 15px; }
  .list-grid { grid-template-columns: 1fr; }
  .board { padding: 18px 12px; border-radius: 22px; }
  .board .hide-sm { display: none; }
  .board td { padding: 10px 8px; font-size: 14px; }
  .flap { font-size: 14px; } .flap span { padding: 2px 3px; min-width: 11px; }
  .perks { grid-template-columns: 1fr; }
  .price-card, .promise { padding: 24px; }
  .cta-band { padding: 50px 22px; }
  .ftr .cols { grid-template-columns: 1fr; }
  section.s { padding-top: 70px; }
  .dhero .banner { height: 300px; border-radius: 0 0 28px 28px; }
  .dhero .from-tag { display: none; }
  .esim-card { grid-template-columns: 1fr; }
  .esim-card .qrbox { max-width: 260px; }
  .esim-card .info { padding: 24px 20px; }
  .inst, .guide { grid-template-columns: 1fr; }
  .help-grid .w3, .help-grid .w2 { grid-column: span 6; }
  .lookup { padding: 26px 20px; }
}

.plan:hover .buy { transform: translateY(-2px); }
.plan:hover .buy::after { transform: translate(5px, -5px) rotate(45deg); }
