/* Accueil et Notre histoire de hortea.app. Chantier « Site hortea.app refait », v79, validé par Alex le 05/11/2026. */
:root {
  --encre: #25352E;
  --encre-survol: #3A4D44;
  --creme: #F8F6F2;
  --sable: #EFECE6;
  --mousse: #4F6B53;
  --sauge: #92AD94;
  --lavande: #E3D7FF;
  --corail: #EF6F6C;
  --trait: rgba(37, 53, 46, 0.10);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--creme); color: var(--encre); font: 18px/30px Inter, system-ui, sans-serif; }
h1, h2, h3, p, ul, ol, li, figure, blockquote { margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.invisible { position: absolute; left: -9999px; }
.m:hover { text-decoration: underline; }

.pad { padding-left: 64px; padding-right: 64px; }
.sec { padding-top: 112px; padding-bottom: 112px; }
.in { max-width: 1184px; margin: 0 auto; }
.pile { display: flex; flex-direction: column; gap: 16px; }
.h1 { font: 800 72px/76px Manrope, sans-serif; letter-spacing: -0.02em; }
.h2 { font: 800 44px/50px Manrope, sans-serif; letter-spacing: -0.01em; }
.h3 { font: 800 22px/28px Manrope, sans-serif; }
.sur { font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mousse); }
.sable { background: var(--sable); }
.sombre { background: var(--encre); color: var(--creme); }
.lavande { color: var(--lavande); }
.lavande-fond { background: var(--lavande); }
.sauge-fond { background: var(--sauge); }
.centre { text-align: center; align-items: center; }
.etroit { max-width: 760px; }

/* Boutons */
.b { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; background: var(--encre); color: var(--creme); font: 600 17px Inter, sans-serif; cursor: pointer; }
.b:hover { background: var(--encre-survol); }
.b.petit { min-height: 44px; padding: 0 20px; font-size: 15px; }
.b.grand { min-height: 56px; padding: 0 28px; }
.debut { align-self: flex-start; }

/* En-tête */
.entete { padding-top: 14px; padding-bottom: 14px; }
.entete-barre { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 8px 8px 18px; border-radius: 999px; border: 1px solid var(--trait); }
.marque { display: flex; align-items: center; gap: 10px; font: 800 22px/28px Manrope, sans-serif; }
.menu { display: flex; gap: 26px; align-items: center; }
.ancre { display: inline-flex; }
.ancre.actif { font-weight: 700; }

/* Haut de page */
.hero { padding-top: 72px; padding-bottom: 96px; }
.hero-grille { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; }
.hero-texte { display: flex; flex-direction: column; gap: 24px; }
.chapo { font-size: 20px; line-height: 32px; max-width: 600px; }

/* Inscription */
.inscription { display: flex; flex-direction: column; gap: 12px; }
.form { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form input { min-height: 52px; flex: 1 1 220px; padding: 0 20px; border-radius: 999px; border: 1px solid rgba(37, 53, 46, 0.2); font: inherit; background: #fff; color: var(--encre); }
.form input[aria-invalid="true"] { border-color: var(--corail); }
.segment { align-self: flex-start; display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--sable); }
.segment button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: transparent; color: var(--encre); font: 600 15px Inter, sans-serif; cursor: pointer; }
.segment button[aria-checked="true"] { background: var(--encre); color: var(--creme); }
.merci { font-weight: 600; color: var(--mousse); }
.erreur { font-weight: 600; color: #B3403D; }
.mention { font-size: 14px; line-height: 21px; color: rgba(37, 53, 46, 0.72); }
.mention a { text-decoration: underline; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }

/* Cadre d'iPhone (style iPhone 16 Pro) : bord titane, écran noir, Dynamic Island, ombre douce. Droit, sans rotation. */
.iphone { --l: 300px; position: relative; width: var(--l); aspect-ratio: 71.5 / 149.6; flex: none; border-radius: calc(var(--l) * 0.185); padding: calc(var(--l) * 0.012);
  background: linear-gradient(145deg, #c9c6c0 0%, #8e8a84 18%, #e4e1db 38%, #7d7973 60%, #b8b4ae 82%, #6f6b66 100%);
  box-shadow: 0 1px 0 1px rgba(255, 255, 255, 0.35) inset, 0 40px 70px -20px rgba(37, 53, 46, 0.35), 0 18px 30px -18px rgba(37, 53, 46, 0.25); }
.iphone::before { content: ""; position: absolute; left: -2px; top: 22%; width: 3px; height: 9%; border-radius: 2px; background: #8e8a84; box-shadow: 0 -18% 0 #8e8a84; }
.iphone::after { content: ""; position: absolute; right: -2px; top: 27%; width: 3px; height: 13%; border-radius: 2px; background: #8e8a84; }
.iphone-ecran { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: calc(var(--l) * 0.172); background: #0b0b0b; padding: calc(var(--l) * 0.028); }
.iphone-vitre { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: calc(var(--l) * 0.145); background: var(--creme); }
.iphone-vitre img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.iphone-ile { position: absolute; z-index: 2; top: calc(var(--l) * 0.035); left: 50%; transform: translateX(-50%); width: 33%; height: calc(var(--l) * 0.098); border-radius: 999px; background: #000; }
.centrer { display: flex; justify-content: center; }

/* Dedans comme dehors */
.deux { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.carte-photo { display: flex; flex-direction: column; border-radius: 32px; overflow: hidden; background: var(--creme); }
.carte-photo .photo-cadre { height: 380px; }
.ph { width: 100%; height: 100%; object-fit: cover; }
.carte-texte { padding: 28px; display: flex; flex-direction: column; gap: 8px; }

/* Comment ça marche */
.demo { display: grid; grid-template-columns: minmax(0, 1fr) 340px minmax(0, 1fr); gap: 48px; align-items: center; }
.etapes { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.etapes li { padding: 20px; border-radius: 24px; background: #fff; }

/* Ce qu'Hortea fait */
.quatre { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.atout { padding: 28px; border-radius: 28px; background: rgba(248, 246, 242, 0.08); display: flex; flex-direction: column; gap: 10px; }

/* Le tour de l'app */
.tour { display: grid; grid-template-columns: minmax(0, 1fr) 340px minmax(0, 1fr); gap: 48px; align-items: center; }
.rub { display: flex; flex-direction: column; gap: 6px; }
.rub button { position: relative; overflow: hidden; text-align: left; padding: 14px 18px; border-radius: 18px; border: 0; background: transparent; font: 600 17px Inter, sans-serif; color: var(--encre); cursor: pointer; transition: background 0.3s ease; }
.rub button:hover { background: var(--sable); }
.rub button[aria-selected="true"] { background: var(--encre); color: var(--creme); }
.rub .barre { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--lavande); }
.tour .iphone-vitre > * { transition: opacity 0.6s ease, transform 0.6s ease; opacity: 0; transform: scale(1.04); }
.tour .iphone-vitre > .on { opacity: 1; transform: none; }
.points { display: flex; flex-direction: column; gap: 14px; }
.past { display: flex; gap: 10px; align-items: flex-start; padding: 16px 18px; border-radius: 20px; background: #fff; transition: opacity 0.5s ease, transform 0.5s ease; }
.past i { flex: none; width: 12px; height: 12px; margin-top: 9px; border-radius: 999px; background: var(--corail); box-shadow: 0 0 0 6px rgba(239, 111, 108, 0.18); }
.past.cache { opacity: 0; transform: translateY(8px); }
.bouton-pause { align-self: flex-start; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(37, 53, 46, 0.2); background: transparent; font: 600 15px Inter, sans-serif; color: var(--encre); cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .tour .iphone-vitre > *, .past, .rub button { transition: none; } .tour .iphone-vitre > * { transform: none; } }

/* Faite par */
.photo-haute { border-radius: 32px; overflow: hidden; height: 420px; }

/* Prix */
.trois { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.offre { padding: 32px; border-radius: 32px; background: var(--creme); display: flex; flex-direction: column; gap: 12px; }
.offre.sombre { background: var(--encre); }
.prix { font: 800 40px/44px Manrope, sans-serif; }

/* Questions */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { padding: 22px; border-radius: 24px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin-top: 10px; }

/* Bande finale */
.final { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.final .inscription, .final .stores { width: 100%; text-align: left; }

/* Pied de page */
.pied { padding-top: 40px; padding-bottom: 56px; background: var(--encre); color: rgba(248, 246, 242, 0.82); font-size: 14px; line-height: 22px; }
.pied-ligne { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.pied-marque { display: flex; align-items: center; gap: 10px; font: 800 20px/26px Manrope, sans-serif; color: var(--creme); }
.pied-liens { display: flex; flex-wrap: wrap; gap: 20px; }
.pied a:hover { text-decoration: underline; }

/* Notre histoire */
.nh-titre { padding-top: 96px; padding-bottom: 64px; }
.nh-titre .h1 { font-size: 76px; line-height: 80px; max-width: 980px; }
.nh-chapo { font-size: 21px; line-height: 33px; max-width: 720px; }
.portrait { display: flex; flex-direction: column; gap: 20px; padding: 24px; border-radius: 32px; background: var(--sable); }
.portrait.sombre { background: var(--encre); }
.portrait-photo { width: 140px; height: 140px; object-fit: cover; border-radius: 24px; }
.portrait-nom { display: flex; flex-direction: column; gap: 4px; padding: 0 8px; }
.portrait-role { font-size: 15px; line-height: 22px; font-weight: 600; color: var(--mousse); }
.portrait.sombre .portrait-role { color: rgba(248, 246, 242, 0.8); }
.portrait blockquote { padding: 0 8px 8px; }
.recit { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 72px; align-items: start; }
.recit-texte { display: flex; flex-direction: column; gap: 20px; }
.citation { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; text-align: center; align-items: center; }
.citation p:first-child { font: 800 36px/46px Manrope, sans-serif; }
.signature { font-weight: 600; color: var(--mousse); }
.frise { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.frise li { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 24px; background: #fff; border: 1px solid var(--trait); }
.frise li.sombre { background: var(--encre); border-color: var(--encre); }
.frise b { font: 800 20px/26px Manrope, sans-serif; color: var(--mousse); }
.frise li.sombre b { color: var(--lavande); }
.prom { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.prom li { padding: 28px; border-radius: 24px; background: var(--creme); }
.sans-haut { padding-top: 0; }

/* Téléphone et petites tablettes */
@media (max-width: 749px) {
  .pad { padding-left: 20px; padding-right: 20px; }
  .sec { padding-top: 64px; padding-bottom: 64px; }
  .h1, .nh-titre .h1 { font-size: 40px; line-height: 44px; }
  .nh-titre .h1 { font-size: 42px; line-height: 46px; }
  .h2 { font-size: 30px; line-height: 36px; }
  .hero-grille, .deux, .quatre, .trois, .demo, .tour, .recit, .frise, .prom { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .hero-grille { gap: 32px; }
  .tour { gap: 24px; }
  .ancre { display: none; }
  .suite { display: none; }
  .chapo { font-size: 18px; line-height: 28px; }
  .rub { flex-direction: row; overflow-x: auto; padding-bottom: 4px; }
  .rub button { white-space: nowrap; flex: none; background: var(--sable); }
  .tour .iphone { --l: 260px; margin: 0 auto; }
  .nh-titre { padding-top: 64px; padding-bottom: 40px; }
  .nh-chapo { font-size: 19px; line-height: 30px; }
  .sans-haut { padding-top: 0; }
}
