:root {
  --bg: #F8F6F7; --card: #FFFFFF; --alt: #F2EEF0; --line: #EAE4E8; --ink: #1E1B26; --text: #4A4552; --muted: #6F6A73; --soft: #9B95A0;
  --accent: #EC547B; --deep: #C43A61; --soft-accent: #FDE8EE; --night: #1E1B26;
  --r: 24px; --shadow: 0 1px 2px rgba(30,27,38,.05), 0 12px 40px rgba(30,27,38,.08);
  --phone-shadow: 0 2px 6px rgba(30,27,38,.10), 0 30px 70px rgba(30,27,38,.22);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; letter-spacing: -0.03em; line-height: 1.08; font-weight: 800; }
.wrap { width: min(1140px, 100% - 40px); margin: 0 auto; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(248,246,247,.82); backdrop-filter: saturate(1.8) blur(16px); -webkit-backdrop-filter: saturate(1.8) blur(16px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { font-weight: 800; font-size: 25px; letter-spacing: -0.04em; color: var(--ink); }
.logo span { color: var(--accent); }
.links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 600; color: var(--muted); }
.links a:hover { color: var(--ink); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--deep); color: #fff; font-weight: 700; border-radius: 14px; padding: 0 20px; height: 44px; font-size: 15px; border: 0; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s; box-shadow: 0 6px 18px rgba(196,58,97,.25); font-family: inherit; }
.btn:hover { background: #B2304F; transform: translateY(-1px); }
.btn-sm { height: 40px; font-size: 14px; padding: 0 16px; border-radius: 12px; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 16.5px; border-radius: 16px; }
.btn-ghost { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.full { width: 100%; }
.btn:disabled { opacity: .5; cursor: default; transform: none; }

/* Hero */
.hero { padding: 64px 0 40px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -120px 0 auto auto; width: 70vw; height: 900px; background: radial-gradient(closest-side, rgba(236,84,123,.16), transparent 70%); pointer-events: none; }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; position: relative; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #2BB673; box-shadow: 0 0 0 4px rgba(43,182,115,.18); }
.hero h1 { font-size: clamp(40px, 5.2vw, 62px); margin: 22px 0 20px; }
.hero h1 em { font-style: normal; color: var(--deep); }
.lead { font-size: 19.5px; line-height: 1.6; color: var(--muted); max-width: 560px; margin: 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; font-weight: 600; color: var(--muted); }
.trust li { display: flex; align-items: center; gap: 7px; }
.trust svg { color: var(--deep); width: 17px; height: 17px; }

/* Téléphones — proportions réelles d'un iPhone (71,6 × 146,6 mm).
   L'écran est positionné en absolu et le cadre découpe son contenu : rien ne peut dépasser, y compris sur Safari iOS. */
.phone { position: relative; width: 290px; aspect-ratio: 71.6 / 146.6; border-radius: 15.5% / 7.6%; overflow: hidden; isolation: isolate;
  background: linear-gradient(145deg, #2C2B31, #0B0A0E 45%, #1B1A20); container-type: inline-size; flex-shrink: 0;
  box-shadow: inset 0 0 0 1.5px #9C97A0, inset 0 0 0 3px #4A474F, 0 0 0 1px rgba(30,27,38,.08), var(--phone-shadow); }
.screen { position: absolute; top: 1.62%; bottom: 1.62%; left: 3.3%; right: 3.3%; border-radius: 12.8% / 6.1%; overflow: hidden; background: #F8F6F7;
  -webkit-mask-image: -webkit-radial-gradient(white, black); transform: translateZ(0); }
.screen::before { content: "9:41"; position: absolute; inset: 0 0 auto 0; height: 12.5cqw; padding: 4.3cqw 0 0 10.5cqw; font-size: 4.25cqw; line-height: 1; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; z-index: 2;
  background: #F8F6F7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 30'%3E%3Crect width='100' height='30' rx='15' fill='%230B0A0E'/%3E%3C/svg%3E") no-repeat 50% 2.9cqw / 31cqw 9.2cqw; }
.screen::after { content: ""; position: absolute; top: 4.6cqw; right: 8.5cqw; width: 19cqw; height: 3.8cqw; z-index: 2;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 66 13'%3E%3Cg fill='%231E1B26'%3E%3Crect x='0' y='8' width='3' height='5' rx='1'/%3E%3Crect x='5' y='6' width='3' height='7' rx='1'/%3E%3Crect x='10' y='3' width='3' height='10' rx='1'/%3E%3Crect x='15' y='0' width='3' height='13' rx='1'/%3E%3Cpath d='M31 3.2a9 9 0 0 1 11 0l-1.4 1.6a6.8 6.8 0 0 0-8.2 0zm2.7 3.3a4.6 4.6 0 0 1 5.6 0L36.5 9.6z'/%3E%3Crect x='44' y='1' width='19' height='11' rx='3.2' fill='none' stroke='%231E1B26' stroke-opacity='.4'/%3E%3Crect x='46' y='3' width='14' height='7' rx='1.6'/%3E%3Crect x='64' y='4.5' width='1.6' height='4' rx='.8' fill-opacity='.4'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain; }
.screen img { position: absolute; left: 0; top: 12.5cqw; width: 100%; height: calc(100% - 12.5cqw); max-width: none; object-fit: cover; object-position: top center; }
/* Safari ancien (sans « container queries ») : valeurs fixes équivalentes */
@supports not (width: 1cqw) {
  .screen::before { height: 34px; padding: 12px 0 0 28px; font-size: 12px; background-position: 50% 8px; background-size: 84px 25px; }
  .screen::after { top: 13px; right: 23px; width: 52px; height: 10px; }
  .screen img { top: 34px; height: calc(100% - 34px); }
}
/* Safari ancien (sans aspect-ratio) */
@supports not (aspect-ratio: 1) { .phone { height: 0; padding-bottom: 204.7%; } }
.hero-phones { position: relative; height: 680px; display: flex; justify-content: center; align-items: center; }
.hero-phones .phone-front { z-index: 2; width: 300px; }
.hero-phones .phone-back { position: absolute; width: 256px; }
.hero-phones .phone-back.left { transform: translateX(-178px) rotate(-7deg) translateY(30px); }
.hero-phones .phone-back.right { transform: translateX(178px) rotate(7deg) translateY(30px); }

/* Bandeau */
.band { padding: 34px 0 10px; }
.band-in { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.band-in div { padding: 22px 24px; display: flex; flex-direction: column; gap: 2px; }
.band-in div + div { border-left: 1px solid var(--line); }
.band-in b { font-size: 30px; letter-spacing: -0.03em; color: var(--deep); font-weight: 800; line-height: 1.1; }
.band-in span { font-size: 14.5px; color: var(--muted); }

/* Sections */
section { padding: 90px 0; }
.head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.head.left { text-align: left; margin: 0; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--deep); margin-bottom: 14px; }
.eyebrow.light { color: #FF9AB5; }
.head h2, .booking h2, .price-card h2, .signup h2 { font-size: clamp(34px, 4.6vw, 52px); }
.head p { font-size: 19px; color: var(--muted); margin: 18px 0 0; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding: 30px 0; }
.feature + .feature { margin-top: 70px; }
.feature.rev .feature-text { order: 2; }
.tag { display: inline-block; background: var(--soft-accent); color: var(--deep); font-weight: 700; font-size: 13.5px; border-radius: 999px; padding: 5px 13px; margin-bottom: 18px; }
.feature h3 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 16px; }
.feature p { font-size: 18px; color: var(--muted); margin: 0 0 22px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; font-size: 16.5px; color: var(--text); }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--soft-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C43A61' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / 13px; }
.checks.light li { color: #E9E4EA; }
.checks.light li::before { background-color: rgba(255,255,255,.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF9AB5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.feature-media { display: flex; justify-content: center; align-items: flex-start; position: relative; }
.feature-media::before { content: ""; position: absolute; inset: 8% 6%; border-radius: 40px; background: linear-gradient(160deg, #FDE8EE, #F3EEF8); z-index: -1; }
.feature-media.duo { gap: 22px; }
.feature-media.duo .phone { width: 262px; }
.phone.offset { margin-top: 70px; }

/* Réservation en ligne (fond sombre) */
.booking { background: var(--night); color: #CFC9D1; border-radius: 40px; width: min(1240px, 100% - 24px); margin: 30px auto; padding: 90px 0; overflow: hidden; position: relative; }
.booking::before { content: ""; position: absolute; right: -10%; top: -30%; width: 60%; height: 120%; background: radial-gradient(closest-side, rgba(236,84,123,.35), transparent 70%); }
.booking-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; position: relative; }
.booking h2 { color: #fff; margin-bottom: 18px; }
.booking p { font-size: 18px; color: #BDB6BF; margin: 0 0 24px; }
.booking-media { display: flex; gap: 22px; justify-content: center; align-items: flex-start; }
.booking-media .phone { width: 262px; }

/* Petites cartes */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 90px; }
.mini { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.mini svg { width: 42px; height: 42px; padding: 10px; border-radius: 13px; background: var(--soft-accent); color: var(--deep); margin-bottom: 16px; }
.mini h4 { font-size: 19px; margin-bottom: 6px; }
.mini p { margin: 0; font-size: 15.5px; color: var(--muted); }

/* Étapes */
.steps { padding-top: 40px; }
.steps-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps-list li { background: var(--card); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); }
.steps-list b { display: inline-flex; width: 42px; height: 42px; border-radius: 50%; align-items: center; justify-content: center; background: var(--deep); color: #fff; font-size: 18px; margin-bottom: 18px; }
.steps-list h4 { font-size: 21px; margin-bottom: 6px; }
.steps-list p { margin: 0; color: var(--muted); }

/* Tarif */
.pricing { padding-top: 20px; }
.price-card { max-width: 780px; margin: 0 auto; text-align: center; background: var(--card); border-radius: 32px; padding: 56px 40px; box-shadow: var(--shadow); border: 1px solid var(--line); position: relative; overflow: hidden; }
.price-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, var(--accent), var(--deep)); }
.price-card p { font-size: 18px; color: var(--muted); margin: 18px auto 30px; max-width: 580px; }

/* FAQ */
.faq-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.qa details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; margin-bottom: 12px; }
.qa summary { cursor: pointer; list-style: none; font-weight: 700; color: var(--ink); font-size: 17.5px; padding: 20px 30px 20px 0; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 500; color: var(--deep); }
.qa details[open] summary::after { content: "−"; }
.qa details p { margin: 0 0 20px; color: var(--muted); }

/* Inscription */
.signup { background: linear-gradient(150deg, #2A1F2B, #1E1B26 55%); border-radius: 40px; width: min(1240px, 100% - 24px); margin: 30px auto 50px; padding: 90px 0; }
.signup-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.signup h2 { color: #fff; margin-bottom: 18px; }
.signup p { color: #BDB6BF; font-size: 18px; margin: 0 0 24px; }
.form { background: var(--card); border-radius: 28px; padding: 30px; display: grid; gap: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.form label { display: grid; gap: 6px; align-content: start; font-size: 14px; font-weight: 700; color: var(--ink); }
.form small { font-weight: 500; color: var(--soft); }
.form input, .form select, .form textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 13px; padding: 13px 14px; font: 500 16px/1.4 inherit; font-family: inherit; color: var(--ink); background: #fff; outline: none; transition: border-color .15s, box-shadow .15s; }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--deep); box-shadow: 0 0 0 4px var(--soft-accent); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fine { font-size: 13px !important; color: var(--soft) !important; margin: 0 !important; text-align: center; }
.fine a { color: var(--deep); }
.msg { display: none; border-radius: 14px; padding: 14px 16px; font-size: 15px; font-weight: 600; }
.msg.ok { display: block; background: #E3F4E9; color: #1A6635; }
.msg.err { display: block; background: #FBE6E8; color: #9B1C2A; }

/* Pied de page */
.foot { padding: 30px 0 40px; }
.foot-in { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 34px; }
.foot p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 15px; color: var(--muted); }
.foot nav a:hover { color: var(--ink); }
.foot .credits { font-size: 12.5px; color: var(--soft); margin: 24px auto 0; }

.swipe { display: none; text-align: center; font-size: 13.5px; font-weight: 600; color: var(--soft); margin: -6px 0 0; }
.booking .swipe { color: #8E8792; }

/* Apparition douce */
.reveal { opacity: 0; transition: opacity .6s ease; }
.reveal.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 980px) {
  .links { display: none; }
  .nav-in { justify-content: space-between; }
  .hero-in, .feature, .booking-in, .faq-in, .signup-in { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding-top: 40px; }
  .hero-text { text-align: center; }
  .lead { margin: 0 auto; }
  .cta-row, .trust { justify-content: center; }
  .hero-phones { height: 560px; }
  .feature.rev .feature-text { order: 0; }
  .feature-text, .booking-text { max-width: 640px; }
  .band-in { grid-template-columns: repeat(2, 1fr); }
  .band-in div:nth-child(3) { border-left: 0; }
  .band-in div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .grid, .steps-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  section { padding: 64px 0; }
  .hero-phones { height: auto; padding: 10px 0 20px; }
  .hero-phones .phone-back { display: none; }
  .hero-phones .phone-front { width: min(76vw, 310px); }
  .feature-media .phone { width: min(76vw, 310px); }
  /* Plusieurs écrans : carrousel horizontal, un écran bien lisible à la fois */
  .feature-media.duo, .booking-media { justify-content: flex-start; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 6px 20px 26px; scrollbar-width: none; }
  .feature-media.duo::-webkit-scrollbar, .booking-media::-webkit-scrollbar { display: none; }
  .feature-media.duo .phone, .booking-media .phone { width: 74vw; max-width: 310px; scroll-snap-align: center; }
  .feature-media.duo::before { display: none; }
  .phone.offset { margin-top: 0; }
  .swipe { display: block; }
  .grid, .steps-list, .row2 { grid-template-columns: 1fr; }
  .booking, .signup { border-radius: 28px; padding: 64px 0; }
  .form { padding: 22px; }
  .price-card { padding: 44px 24px; }
  .btn-lg { width: 100%; }
  .nav .btn-sm { padding: 0 12px; }
}
