/* Caly — la page d'accueil. Le design vit sur Paper, planches « WEB · Ordinateur »
   et « WEB · Telephone » : on part du telephone, l'ordinateur elargit. */
:root {
  --rose: #ff3f7a;
  --corail: #ff6a5c;
  --ambre: #ffb347;
  --encre: #111114;
  --gris: #6e6e76;
  --gris-clair: #8e8e93;
  --carte: #f5f5f7;
  --filet: #e6e6ea;
  --nuit: #141417;
  --degrade: linear-gradient(160deg, var(--rose) 0%, var(--corail) 52%, var(--ambre) 100%);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--encre);
  font: 400 17px/1.55 Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.enveloppe { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* --- en-tete --- */
.hero { position: relative; overflow: hidden; background: var(--degrade); color: #fff; }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.marque img { width: 34px; height: 34px; border-radius: 9px; }
.marque span { font-weight: 800; font-size: 24px; letter-spacing: -0.03em; }
.liens { display: flex; align-items: center; gap: 36px; }
.liens a.lien { display: none; text-decoration: none; font-weight: 500; font-size: 17px; }
.bouton-noir {
  display: inline-flex; align-items: center; padding: 10px 18px; border-radius: 999px;
  background: var(--encre); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap;
}
.hero-grille { display: flex; flex-direction: column; }
.accroche { padding: 36px 0 0; }
h1 { margin: 0; font-weight: 800; font-size: min(48px, 11.6vw); line-height: 1.04; letter-spacing: -0.045em; }
h1 .ligne { display: block; white-space: nowrap; }
.accroche p { margin: 18px 0 0; font-weight: 500; font-size: 17px; line-height: 1.55; max-width: 560px; }
.telechargement { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.telechargement img { width: 162px; height: auto; }
.telechargement span { font-weight: 500; font-size: 13px; }
.hero-visuel { position: relative; height: 580px; margin-top: 36px; }
.hero-visuel .telephone { position: absolute; left: 50%; top: 0; width: 260px; transform: translateX(-50%); }
.hero-visuel .carte-flottante {
  position: absolute; left: 0; right: 0; top: 350px; margin: 0 auto; width: 100%; max-width: 360px;
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 24px 50px rgba(90, 10, 35, .38), 0 6px 16px rgba(90, 10, 35, .16);
}

/* --- sections --- */
section { padding: 64px 0; }
.surtitre { margin: 0; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #ff4f72; }
h2 { margin: 12px 0 0; font-weight: 800; font-size: 38px; line-height: 1.1; letter-spacing: -0.04em; }
.texte { margin: 14px 0 0; color: var(--gris); font-size: 17px; line-height: 1.55; }
.centre { text-align: center; }
.centre .texte { margin-left: auto; margin-right: auto; max-width: 620px; }

.plats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 32px; }
.plat figure { margin: 0; position: relative; border-radius: 26px; overflow: hidden; }
.plat .calories {
  position: absolute; left: 10px; bottom: 10px; padding: 6px 10px; border-radius: 999px;
  background: #fff; font-weight: 700; font-size: 13px; line-height: 16px;
}
.plat p { margin: 10px 0 0; font-weight: 600; font-size: 15px; }

.fonction { display: flex; flex-direction: column; gap: 28px; }
.visuel {
  position: relative; height: 440px; border-radius: 32px; overflow: hidden;
  background: linear-gradient(150deg, #ffe3e9 0%, #ffebdd 100%);
}
.visuel.ambre { background: linear-gradient(150deg, #ffeadb 0%, #fff3d6 100%); }
.visuel.lilas { background: linear-gradient(150deg, #fde4ef 0%, #ffe6e0 100%); }
.visuel .telephone { position: absolute; left: 50%; top: 36px; width: 190px; transform: translateX(-50%); }
.visuel .carte {
  position: absolute; left: 16px; right: 16px; border-radius: 20px; overflow: hidden; background: #fff;
  box-shadow: 0 20px 44px rgba(120, 30, 50, .22);
}
.carte.macros { top: 256px; padding: 11px 12px; }
.carte.calories { top: 90px; }
.carte.progression { top: 150px; left: 25px; right: 25px; }
.bulle {
  position: absolute; left: 16px; right: 16px; top: 200px; display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; border-radius: 26px; background: #fff; box-shadow: 0 20px 44px rgba(120, 30, 50, .22);
}
.bulle .micro { width: 46px; height: 46px; border-radius: 50%; background: var(--encre); display: grid; place-items: center; flex-shrink: 0; }
.bulle small { display: block; color: var(--gris-clair); font-size: 13px; }
.bulle strong { display: block; font-size: 18px; letter-spacing: -0.02em; }

.plus { background: var(--carte); }
.grille-fonctions { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
.petite-carte { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 24px; background: #fff; }
.pastille { width: 48px; height: 48px; border-radius: 15px; background: linear-gradient(150deg, var(--rose), var(--ambre)); display: grid; place-items: center; flex-shrink: 0; }
.petite-carte h3 { margin: 0; font-size: 17px; letter-spacing: -0.01em; }
.petite-carte p { margin: 3px 0 0; color: var(--gris); font-size: 14px; line-height: 1.45; }

.serie { position: relative; overflow: hidden; background: var(--nuit); color: #fff; padding-bottom: 0; }
.serie .surtitre { color: var(--ambre); }
.serie .texte { color: #a1a1a8; }
.serie-visuel { position: relative; height: 560px; margin-top: 32px; }
.serie-visuel .telephone { position: absolute; left: 50%; top: 0; width: 240px; transform: translateX(-50%); }
.serie-visuel .widget {
  position: absolute; left: 0; right: 0; top: 270px; margin: 0 auto; max-width: 360px; border-radius: 28px; overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .55);
}

.faq details { padding: 20px 0; border-bottom: 1px solid var(--filet); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-weight: 700; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-weight: 400; font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 10px 0 0; color: var(--gris); font-size: 15px; line-height: 1.55; }
.faq .questions { margin-top: 24px; }

.appel { padding: 0 0 48px; }
.appel-carte {
  display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 56px 24px; border-radius: 36px;
  background: var(--degrade); color: #fff; text-align: center;
}
.appel-carte img.icone { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 14px 36px rgba(110, 15, 40, .35); }
.appel-carte h2 { margin: 0; font-size: 36px; }
.appel-carte .badge img { width: 162px; }

.support { padding: 0 0 56px; }
.support-carte { padding: 28px; border-radius: 28px; background: var(--carte); }
.support-carte a { font-weight: 700; font-size: 20px; text-decoration: none; }
.support-carte p { margin: 10px 0 0; color: var(--gris); font-size: 15px; }

footer { border-top: 1px solid #efeff2; padding: 28px 0 44px; }
.pied { display: flex; flex-direction: column; gap: 18px; }
.pied nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.pied nav a { text-decoration: none; font-weight: 500; font-size: 15px; color: #3d3d42; }
.pied small { color: var(--gris-clair); font-size: 13px; }

/* --- ordinateur --- */
@media (min-width: 960px) {
  .enveloppe { padding: 0 80px; max-width: 1440px; }
  .nav { padding: 36px 0; }
  .marque img { width: 44px; height: 44px; border-radius: 11px; }
  .marque span { font-size: 30px; }
  .liens { gap: 44px; }
  .liens a.lien { display: inline; }
  .bouton-noir { padding: 13px 24px; font-size: 16px; }
  .hero { min-height: 980px; }
  .hero-grille { flex-direction: row; align-items: flex-start; }
  .accroche { width: 58%; padding-top: 140px; }
  h1 { font-size: clamp(60px, 6.1vw, 96px); line-height: 1.02; }
  .accroche p { font-size: 23px; max-width: 560px; margin-top: 30px; }
  .telechargement { margin-top: 40px; gap: 22px; }
  .telechargement img { width: 216px; }
  .telechargement span { font-size: 16px; }
  .hero-visuel { width: 45%; height: 880px; margin-top: 50px; }
  .hero-visuel .telephone { left: auto; right: 0; transform: none; width: 452px; }
  .hero-visuel .carte-flottante { left: auto; right: 12px; top: 570px; margin: 0; max-width: 560px; border-radius: 30px; }

  section { padding: 120px 0; }
  .surtitre { font-size: 15px; }
  h2 { font-size: 60px; line-height: 1.07; }
  .texte { font-size: 20px; }
  .plats { grid-template-columns: repeat(6, 1fr); gap: 24px; margin-top: 56px; }
  .plat figure { border-radius: 30px; }
  .plat .calories { left: 12px; bottom: 12px; padding: 7px 12px; font-size: 14px; }
  .plat p { font-size: 17px; margin-top: 16px; }

  .fonctions { padding: 40px 0; }
  .fonction { flex-direction: row; align-items: center; justify-content: space-between; padding: 40px 0; }
  .fonction.inverse { flex-direction: row-reverse; }
  .fonction .contenu { width: 500px; }
  .visuel { width: 660px; height: 700px; border-radius: 48px; flex-shrink: 0; }
  .visuel .telephone { top: 60px; width: 320px; }
  .visuel .carte { left: 40px; right: 40px; border-radius: 30px; }
  .carte.macros { top: 430px; padding: 18px 20px; }
  .carte.calories { top: 150px; left: 50px; right: 50px; border-radius: 36px; }
  .carte.progression { top: 250px; left: 70px; right: 70px; border-radius: 34px; }
  .bulle { left: 50px; right: 50px; top: 300px; gap: 22px; padding: 26px 30px; border-radius: 40px; }
  .bulle .micro { width: 68px; height: 68px; }
  .bulle small { font-size: 16px; }
  .bulle strong { font-size: 28px; }

  .grille-fonctions { grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
  .petite-carte { flex-direction: column; align-items: flex-start; gap: 18px; padding: 36px; border-radius: 32px; }
  .pastille { width: 56px; height: 56px; border-radius: 18px; }
  .petite-carte h3 { font-size: 22px; }
  .petite-carte p { font-size: 17px; margin-top: 8px; }

  .serie { padding: 0; height: 780px; }
  .serie .enveloppe { display: flex; align-items: center; height: 100%; position: relative; }
  .serie .contenu { width: 520px; }
  .serie-visuel { position: absolute; left: 700px; top: 0; width: 560px; height: 780px; margin: 0; }
  .serie-visuel .telephone { left: 160px; transform: none; top: 90px; width: 340px; }
  .serie-visuel .widget { left: 0; right: auto; top: 430px; width: 560px; max-width: none; border-radius: 40px; }

  .faq .enveloppe { display: flex; gap: 80px; }
  .faq .intro { width: 420px; flex-shrink: 0; }
  .faq .questions { flex: 1; margin-top: 0; }
  .faq details { padding: 28px 0; }
  .faq summary { font-size: 22px; }
  .faq details p { font-size: 18px; max-width: 720px; }

  .appel { padding: 0 0 100px; }
  .appel-carte { padding: 110px 80px; border-radius: 56px; gap: 30px; }
  .appel-carte img.icone { width: 96px; height: 96px; border-radius: 24px; }
  .appel-carte h2 { font-size: 76px; line-height: 1.05; }
  .appel-carte .badge img { width: 216px; }
  .pied { flex-direction: row; justify-content: space-between; align-items: center; }
  .pied nav { gap: 36px; }
}
