/* Nasha'a, site nashaa.app (lot 11c). Couleurs et police du kit du logo V1. Inspiration : Headspace. */

@font-face { font-family: Manrope; font-weight: 500; font-display: swap; src: url(fonts/manrope-500.ttf) format("truetype"); }
@font-face { font-family: Manrope; font-weight: 700; font-display: swap; src: url(fonts/manrope-700.ttf) format("truetype"); }
@font-face { font-family: Manrope; font-weight: 800; font-display: swap; src: url(fonts/manrope-800.ttf) format("truetype"); }
@font-face { font-family: "Readex Pro"; font-weight: 500; font-display: swap; src: url(fonts/readex-500.ttf) format("truetype"); }

:root {
  --honey: #F2B84B;
  --honey-dark: #D99A2B;
  --honey-light: #FCE7BE;
  --honey-tint: #FFFBF0;
  --navy: #1E2A55;
  --night: #0F1530;
  --night-card: #18224A;
  --cream: #FFF8EA;
  --paper: #FBFAF7;
  --white: #FFFFFF;
  --muted: #5B6488;
  --line: #EDE6D6;
  --danger: #C2413A;
  --ok: #2E8B57;
  --radius: 28px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font: 500 17px/1.6 Manrope, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.ar { font-family: "Readex Pro", "Geeza Pro", sans-serif; font-weight: 500; }

/* ---------- En-tête ---------- */
.top { position: sticky; top: 0; z-index: 10; background: rgba(251, 250, 247, .9); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
.top.scrolled { border-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.top .logo img { height: 40px; width: auto; }
.top nav { display: flex; gap: 26px; font-weight: 700; font-size: 15px; }
.top nav a { text-decoration: none; }
.top nav a:hover { color: var(--honey-dark); }
@media (max-width: 760px) { .top nav { display: none; } .top .logo img { height: 34px; } }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--honey); color: var(--navy);
  font: 800 16px/1.2 Manrope, system-ui, sans-serif; text-decoration: none;
  box-shadow: 0 4px 0 var(--honey-dark); transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--honey-dark); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--honey-dark); }
.btn.small { padding: 10px 18px; font-size: 14px; }
.btn.ghost { background: transparent; box-shadow: inset 0 0 0 2px var(--navy); }
.btn.ghost:hover { box-shadow: inset 0 0 0 2px var(--navy); background: var(--white); }
.btn.danger { background: var(--danger); color: var(--white); box-shadow: 0 4px 0 #8f2a25; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.soon {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px;
  background: var(--white); border: 2px dashed var(--honey-dark); font-weight: 800; font-size: 15px;
}
.soon .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--honey); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.6); opacity: .4; } }

/* ---------- Accueil : hero ---------- */
.hero { position: relative; overflow: hidden; padding: 40px 0 80px; }
.hero::before {
  content: ""; position: absolute; width: 900px; height: 900px; right: -320px; top: -380px;
  background: var(--honey-light); border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; z-index: -1;
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.2vw, 62px); }
.hero .lead { font-size: clamp(18px, 2vw, 21px); margin: 18px 0 26px; max-width: 34em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero .name { margin-top: 28px; display: flex; gap: 14px; align-items: center; max-width: 30em; }
.hero .name .ar { font-size: 34px; color: var(--honey-dark); line-height: 1; }
.hero .name p { font-size: 14.5px; color: var(--muted); }
@media (max-width: 860px) {
  .hero { padding-top: 36px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero::before { width: 600px; height: 600px; right: -260px; top: auto; bottom: -200px; }
}

/* ---------- Téléphone ---------- */
.phone {
  position: relative; width: min(300px, 78vw); margin-inline: auto; aspect-ratio: 9 / 19.5;
  border-radius: 44px; padding: 10px; background: var(--night);
  box-shadow: 0 40px 80px -30px rgba(15, 21, 48, .45), 0 0 0 1px rgba(15, 21, 48, .08);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 34px; }
.duo { position: relative; height: 600px; }
.duo .phone { position: absolute; width: 255px; }
.duo .back { left: 4%; top: 40px; transform: rotate(-7deg); opacity: .95; }
.duo .front { right: 4%; top: 0; transform: rotate(4deg); }
.float { animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px) rotate(4deg); } }
/* Téléphone : l'illustration de l'app vient en premier (demande de Hamza), les deux écrans côte à côte. */
@media (max-width: 860px) {
  .duo { order: -1; height: 440px; width: 100%; max-width: 420px; margin-inline: auto; }
  .duo .phone { width: 190px; border-radius: 32px; padding: 7px; }
  .duo .phone img { border-radius: 26px; }
  .duo .back { left: 6%; top: 34px; }
  .duo .front { right: 6%; top: 0; }
}

/* ---------- En un coup d'œil ---------- */
.pillars { padding: 0 0 24px; margin-top: -40px; position: relative; }
.pillars .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pillar {
  display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 24px; text-decoration: none;
  background: var(--white); border: 1px solid var(--line); box-shadow: 0 12px 30px -20px rgba(15, 21, 48, .35);
  transition: transform .15s;
}
.pillar:hover { transform: translateY(-3px); }
.pillar .icon { width: 44px; height: 44px; border-radius: 14px; background: var(--honey-light); display: grid; place-items: center; margin-bottom: 6px; }
.pillar .icon svg { width: 24px; height: 24px; }
.pillar b { font-size: 18px; }
.pillar span:last-child { color: var(--muted); font-size: 15px; line-height: 1.45; }
@media (max-width: 860px) {
  .pillars { margin-top: -24px; }
  .pillars .wrap { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pillar { padding: 16px; border-radius: 20px; }
  .pillar .icon { width: 38px; height: 38px; }
  .pillar b { font-size: 16px; }
  .pillar span:last-child { font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) { .float, .soon .dot { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.kicker { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--honey-dark); margin-bottom: 14px; }
.section-title { font-size: clamp(32px, 4.4vw, 50px); max-width: 16em; }
.section-lead { font-size: 19px; color: var(--muted); margin-top: 16px; max-width: 36em; }

.feature .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature.flip .text { order: 2; }
.feature h2 { font-size: clamp(30px, 3.8vw, 44px); }
.feature p.desc { font-size: 18.5px; margin: 18px 0 22px; color: var(--muted); }
.feature ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.feature li { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; }
.feature li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--honey) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231E2A55' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.feature .visual { position: relative; }
.feature .visual::before {
  content: ""; position: absolute; inset: 8% 4%; z-index: -1;
  border-radius: 58% 42% 50% 50% / 46% 54% 46% 54%; background: var(--blob, var(--honey-light));
}
.feature.cream { background: var(--cream); }
@media (max-width: 860px) {
  section { padding: 64px 0; }
  .feature .wrap { grid-template-columns: 1fr; gap: 40px; }
  .feature.flip .text { order: 0; }
}

/* ---------- Bloc nuit : confiance ---------- */
.trust { background: var(--navy); color: var(--white); border-radius: 48px; margin: 0 16px; }
.trust .section-lead { color: #C9CEE3; }
.trust .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.trust .card { background: var(--night-card); border-radius: var(--radius); padding: 28px; }
.trust .card h3 { font-size: 21px; margin: 14px 0 8px; }
.trust .card p { color: #C9CEE3; font-size: 16px; }
.trust .icon { width: 48px; height: 48px; border-radius: 16px; background: var(--honey); display: grid; place-items: center; }
.trust .icon svg { width: 26px; height: 26px; }
.trust blockquote { margin: 56px 0 0; padding: 32px; border-radius: var(--radius); background: rgba(242, 184, 75, .1); border: 1px solid rgba(242, 184, 75, .3); }
.trust blockquote .ar { font-size: 28px; color: var(--honey); direction: rtl; display: block; margin-bottom: 10px; }
.trust blockquote p { font-size: 19px; font-weight: 700; }
.trust blockquote cite { display: block; margin-top: 10px; font-style: normal; font-size: 14px; color: #C9CEE3; }
.trust blockquote cite a { color: var(--honey); }
@media (max-width: 860px) { .trust { border-radius: 32px; margin: 0 8px; } .trust .grid { grid-template-columns: 1fr; } }

/* ---------- Prix ---------- */
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; max-width: 860px; }
.price { background: var(--white); border-radius: var(--radius); padding: 32px; border: 2px solid var(--line); }
.price.best { border-color: var(--honey); background: var(--honey-tint); }
.price .tag { display: inline-block; font-size: 13px; font-weight: 800; padding: 5px 12px; border-radius: 999px; background: var(--honey); margin-bottom: 14px; }
.price h3 { font-size: 22px; }
.price .amount { font-size: 46px; font-weight: 800; letter-spacing: -0.03em; margin: 10px 0 4px; }
.price .amount small { font-size: 18px; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.price .steps { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; font-size: 15.5px; }
.price .steps li { display: flex; justify-content: space-between; gap: 12px; border-top: 1px dashed var(--line); padding-top: 8px; }
.price .steps b { white-space: nowrap; }
.trial { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 26px; font-weight: 700; }
.trial span::before { content: "✓ "; color: var(--ok); }
@media (max-width: 760px) { .prices { grid-template-columns: 1fr; } }

/* ---------- Appel final ---------- */
.cta { text-align: center; }
.cta .symbol { width: 84px; margin: 0 auto 22px; animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .cta .symbol { animation: none; } }
.cta h2 { font-size: clamp(32px, 4.6vw, 52px); max-width: 14em; margin-inline: auto; }
.cta p { margin: 16px auto 30px; max-width: 32em; color: var(--muted); font-size: 18.5px; }

/* ---------- Pied de page ---------- */
footer { background: var(--night); color: #C9CEE3; padding: 56px 0 40px; margin-top: 40px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
footer img { height: 38px; width: auto; }
footer nav { display: flex; flex-wrap: wrap; gap: 12px 28px; font-weight: 700; font-size: 15px; }
footer nav a { text-decoration: none; color: var(--white); }
footer nav a:hover { color: var(--honey); }
footer .copy { width: 100%; font-size: 14px; border-top: 1px solid var(--night-card); padding-top: 22px; }

/* ---------- Pages de texte (légal, suppression) ---------- */
.doc { padding: 56px 0 72px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 10px; }
.doc h2 { font-size: 25px; margin: 44px 0 14px; }
.doc h3 { font-size: 19px; margin: 28px 0 10px; }
.doc p, .doc ul { margin: 0 0 14px; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc em { color: var(--muted); }
.doc code { font-size: .9em; background: var(--cream); padding: 1px 6px; border-radius: 6px; }
.doc .table { overflow-x: auto; margin: 0 0 18px; border-radius: 18px; border: 1px solid var(--line); background: var(--white); }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.doc th { background: var(--cream); font-weight: 800; }
.doc tr:last-child td { border-bottom: 0; }
.back { display: inline-block; font-weight: 800; font-size: 15px; text-decoration: none; color: var(--honey-dark); margin-bottom: 20px; }

/* ---------- Formulaire (suppression du compte) ---------- */
.panel { background: var(--white); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); margin-top: 24px; }
.panel.alert { border: 2px solid var(--danger); }
.panel h2 { margin-top: 0; font-size: 22px; }
label { display: block; font-weight: 800; font-size: 14.5px; margin: 16px 0 6px; }
input[type=email], input[type=password] {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper);
  font: 600 16px Manrope, system-ui, sans-serif; color: var(--navy);
}
input:focus-visible, .btn:focus-visible, a:focus-visible, .choice:focus-within { outline: 3px solid var(--honey-dark); outline-offset: 2px; }
.choice { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 18px; border: 2px solid var(--line); margin-top: 12px; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--honey); background: var(--honey-tint); }
.choice input { margin-top: 5px; accent-color: var(--honey-dark); width: 18px; height: 18px; }
.choice b { display: block; }
.choice span { color: var(--muted); font-size: 15px; }
.error { color: var(--danger); font-weight: 700; margin-top: 12px; min-height: 1em; }
.row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.hidden { display: none !important; }
