/* Aya Concept — site vitrine
   Couleurs relevées dans les fichiers SVG du logo et le LISEZ-MOI de l'identité visuelle. */

@font-face {
  font-family: "Figtree";
  src: url("fonts/figtree-latin.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --vert-fonce: #1E4A38;  /* fond de l'icône */
  --vert-logo: #185F49;   /* « CONCEPT » */
  --vert-moyen: #2F8061;  /* forme basse du symbole */
  --menthe: #A4CFAC;      /* dégradé du symbole */
  --noir: #101815;        /* noir du logo */
  --creme: #FFFDF2;       /* ivoire de l'icône */
  --sable: #EEE6D3;       /* ivoire foncé de l'icône */
  --gris-texte: #46534D;
  --police: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --ombre: 0 18px 50px -24px rgba(16, 24, 21, .35);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--creme);
  color: var(--noir);
  font-family: var(--police);
  font-size: 18px;
  line-height: 1.55;
  overflow-wrap: break-word;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 7.4vw, 5.2rem); font-weight: 800; }
h1 em { display: block; color: var(--vert-moyen); font-style: normal; }
h2 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
h3 { font-size: 1.32rem; font-weight: 700; line-height: 1.2; letter-spacing: -.015em; }
p { margin: 0; }

a:focus-visible, summary:focus-visible { outline: 3px solid var(--vert-moyen); outline-offset: 3px; border-radius: 4px; }

.conteneur { width: min(1180px, 100% - 40px); margin-inline: auto; }
.conteneur--etroit { width: min(860px, 100% - 40px); }

/* Boutons */
.bouton {
  display: inline-block;
  padding: 18px 30px;
  border-radius: 999px;
  background: var(--vert-logo);
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color .15s ease, transform .15s ease;
}
.bouton:hover { background: var(--vert-fonce); transform: translateY(-1px); }
.bouton--grand { padding: 21px 36px; font-size: 1.15rem; box-shadow: 0 14px 30px -12px rgba(24, 95, 73, .7); }
.bouton--petit { padding: 11px 18px; font-size: .92rem; white-space: nowrap; }

/* En-tête fixe */
.entete {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 242, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(16, 24, 21, .08);
}
.entete__ligne { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.entete__logo { width: 150px; height: auto; }

/* 1. Accroche */
.accroche { overflow: hidden; background: linear-gradient(180deg, var(--creme) 55%, var(--sable) 100%); }
.accroche__grille { display: grid; grid-template-columns: 1.25fr .85fr; gap: 56px; align-items: end; }
.accroche__texte { padding-block: 84px 96px; }
.accroche__sous-titre { max-width: 34em; margin: 28px 0 34px; font-size: clamp(1.13rem, 2vw, 1.32rem); color: var(--gris-texte); }
.accroche__mention { margin-top: 18px; font-size: .95rem; font-weight: 600; color: var(--gris-texte); }
.accroche__visuel { align-self: end; }

/* Cadre de téléphone : coupé par le bas de la section */
.telephone {
  width: min(100%, 380px);
  margin-inline: auto;
  padding: 12px 12px 0;
  background: var(--noir);
  border-radius: 46px 46px 0 0;
  box-shadow: var(--ombre);
}
.telephone__ecran {
  position: relative;
  padding-top: 40px;
  background: #FBF9F4;
  border-radius: 35px 35px 0 0;
  overflow: hidden;
}
.telephone__ecran::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 84px;
  height: 22px;
  border-radius: 12px;
  background: var(--noir);
  transform: translateX(-50%);
}
.telephone__ecran img { width: 100%; }

/* 2. Le problème */
.probleme { padding-block: 104px; background: var(--vert-fonce); color: var(--creme); }
.probleme h2 { max-width: 15em; }
.bulles { display: grid; gap: 16px; max-width: 900px; margin: 56px auto 60px; padding: 0; list-style: none; }
.bulle {
  justify-self: start;
  max-width: 78%;
  padding: 20px 28px;
  border-radius: 28px 28px 28px 6px;
  background: var(--creme);
  color: var(--noir);
  font-size: clamp(1.1rem, 2.300vw, 1.45rem);
  font-weight: 600;
  line-height: 1.3;
}
.bulle--droite {
  justify-self: end;
  border-radius: 28px 28px 6px 28px;
  background: var(--menthe);
}
.probleme__conclusion {
  font-size: clamp(1.9rem, 4.6vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  text-align: center;
  text-wrap: balance;
}
.probleme__conclusion span { color: var(--menthe); }

/* 3. Les fonctionnalités */
.fonctions { padding-block: 104px; }
.fonctions h2 { max-width: 15em; margin-bottom: 56px; }
.cartes { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.carte {
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: #fff;
  border: 1px solid rgba(16, 24, 21, .09);
  border-radius: 26px;
  min-width: 0;
}
.carte p { margin-top: 10px; color: var(--gris-texte); }
.carte--4 { grid-column: span 4; }
.carte--6 { grid-column: span 6; }
.carte--8 { grid-column: span 8; }
.carte--12 { grid-column: span 12; }
.carte--image { display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; align-items: center; background: var(--sable); border-color: transparent; }
.carte--vedette { display: grid; grid-template-columns: .7fr 1.6fr; gap: 40px; align-items: center; background: var(--vert-logo); border-color: transparent; color: var(--creme); }
.carte--vedette h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.1; }
.carte--vedette p { color: var(--creme); font-size: 1.1rem; }
.carte--vedette .icone { stroke: var(--menthe); }
.icone {
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  fill: none;
  stroke: var(--vert-moyen);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* Cadre d'écran */
.ecran { margin: 0; overflow: hidden; background: #fff; border-radius: 14px; box-shadow: var(--ombre); }
.ecran__barre { display: flex; gap: 6px; padding: 10px 14px; background: var(--noir); }
.ecran__barre i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 253, 242, .4); }
.ecran img { width: 100%; }

/* 4. Avant / Après */
.comparaison { padding-block: 104px; background: var(--sable); }
.comparaison h2 { margin-bottom: 48px; }
.tableau { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.tableau th, .tableau td { padding: 20px 24px; text-align: left; vertical-align: middle; line-height: 1.3; }
.tableau th { font-size: 1.2rem; font-weight: 800; }
.tableau th:first-child { color: var(--gris-texte); }
.tableau th:last-child { background: var(--vert-fonce); color: var(--creme); border-radius: 22px 22px 0 0; }
.tableau td:first-child { color: var(--gris-texte); border-bottom: 1px solid rgba(16, 24, 21, .14); }
.tableau td:last-child { background: var(--vert-fonce); color: var(--creme); font-weight: 700; border-bottom: 1px solid rgba(255, 253, 242, .14); }
.tableau tr:last-child td { border-bottom: 0; }
.tableau tr:last-child td:last-child { border-radius: 0 0 22px 22px; }

/* 5. Qui est derrière Aya */
.fondatrice { padding-block: 104px; text-align: center; }
.fondatrice__symbole { margin: 0 auto 28px; }
.fondatrice blockquote { margin: 34px 0 0; }
.fondatrice blockquote p { font-size: clamp(1.25rem, 2.800vw, 1.7rem); line-height: 1.4; }
.fondatrice footer { margin-top: 20px; font-weight: 700; color: var(--vert-logo); }

/* 6. Offre */
.offre { padding-block: 104px; background: var(--vert-fonce); color: var(--creme); }
.offre__grille { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.prix { font-size: 1.3rem; font-weight: 600; }
.prix strong { display: inline-block; font-size: clamp(3.6rem, 9vw, 5.4rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--menthe); }
.prix__detail { margin-top: 8px; font-size: 1.15rem; }
.points { display: grid; gap: 12px; margin: 30px 0; padding: 0; list-style: none; font-weight: 600; }
.points li { display: flex; gap: 12px; align-items: center; }
.points li::before {
  content: "";
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--menthe) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23101815' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.500 4 4 8-9'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.cadeau {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-radius: 22px;
  background: var(--sable);
  color: var(--noir);
  line-height: 1.4;
}
.cadeau > span:first-child { font-size: 2rem; line-height: 1; }

/* Formulaire Brevo : le code n'est pas modifié, seul son apparence est adaptée */
.offre__formulaire .sib-form { padding: 0 !important; background: transparent !important; font-size: 16px; }
.offre__formulaire #sib-form-container { max-width: 100%; }
.offre__formulaire #sib-container {
  max-width: 100% !important;
  border: 0 !important;
  border-radius: 26px !important;
  box-shadow: var(--ombre);
}
.offre__formulaire #sib-container, .offre__formulaire #sib-container * { font-family: var(--police) !important; }
.offre__formulaire #sib-form > div:first-of-type .sib-form-block { font-size: 28px !important; line-height: 1.12; letter-spacing: -.02em; color: var(--noir) !important; }
.offre__formulaire #sib-container .sib-form-block,
.offre__formulaire #sib-container .entry__label { color: var(--noir) !important; }
.offre__formulaire #sib-container .entry__field { border-color: var(--noir); border-radius: 12px; }
.offre__formulaire #sib-container input.input { font-size: 16px; }
.offre__formulaire #sib-container input.input--hidden { display: none; }
.offre__formulaire #sib-container .sib-form-block__button {
  width: 100%;
  justify-content: center;
  padding: 18px 24px;
  background-color: var(--vert-logo) !important;
  border-radius: 999px !important;
  font-size: 18px !important;
  text-align: center !important;
}
.offre__formulaire #sib-container .sib-form-block__button:hover { background-color: var(--noir) !important; }
/* Case de consentement : le texte est placé à côté de la case et rendu lisible */
.offre__formulaire .sib-optin .form__entry { display: grid; grid-template-columns: 32px 1fr; align-items: start; }
.offre__formulaire .sib-optin .form__label-row { grid-column: 1; grid-row: 1; }
.offre__formulaire .sib-optin .entry__choice p { display: none; }
.offre__formulaire .sib-optin .entry__specification { grid-column: 2; grid-row: 1; margin: 0; color: var(--gris-texte) !important; font-size: 14px !important; line-height: 1.4; }
.offre__formulaire .sib-optin .entry__error { grid-column: 1 / -1; grid-row: 2; }
.offre__formulaire .sib-form-message-panel { max-width: 100% !important; border-radius: 14px !important; }

/* 7. FAQ */
.faq { padding-block: 104px; }
.faq h2 { margin-bottom: 40px; }
.faq details { border-bottom: 1px solid rgba(16, 24, 21, .16); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sable);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 34px;
  text-align: center;
}
.faq details[open] summary::after { content: "–"; background: var(--vert-logo); color: #fff; }
.faq details p { padding: 0 56px 24px 0; color: var(--gris-texte); }

/* 8. Bas de page */
.pied { padding-block: 56px 36px; background: var(--noir); color: var(--creme); }
.pied a { color: inherit; }
.pied__sav {
  padding: 26px 30px;
  border-radius: 22px;
  background: var(--vert-fonce);
  font-size: 1.15rem;
  font-weight: 600;
}
.pied__sav a { color: var(--menthe); font-weight: 700; }
.pied__bas { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: 36px; }
.pied__bas img { width: 148px; }
.pied__liens { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.pied__liens a { padding-block: 6px; text-underline-offset: 3px; }
.pied__copyright { font-size: .92rem; opacity: .8; }

/* Pages légales */
.legal { padding-block: 64px 96px; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); }
.legal__date { margin-top: 14px; color: var(--gris-texte); }
.legal h2 { margin: 48px 0 14px; font-size: clamp(1.4rem, 3vw, 1.75rem); font-weight: 700; letter-spacing: -.015em; }
.legal p, .legal ul, .legal .legal__tableau { margin-block: 0 14px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--vert-logo); font-weight: 600; }
.legal__tableau { overflow-x: auto; }
.legal table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.legal th, .legal td { overflow-wrap: anywhere; padding: 12px 14px; border: 1px solid rgba(16, 24, 21, .18); text-align: left; vertical-align: top; }
.legal th { background: var(--sable); }

/* Téléphones et tablettes */
@media (max-width: 900px) {
  body { font-size: 17px; }
  .accroche__grille { grid-template-columns: 1fr; gap: 0; }
  .accroche__texte { padding-block: 52px 48px; }
  .telephone { width: min(86%, 350px); }
  .probleme, .fonctions, .comparaison, .fondatrice, .offre, .faq { padding-block: 72px; }
  .bulles { margin-block: 40px; }
  .bulle { max-width: 90%; padding: 16px 20px; }
  .carte, .carte--4, .carte--6, .carte--8, .carte--12 { grid-column: span 12; padding: 24px; }
  .carte--image, .carte--vedette { grid-template-columns: 1fr; gap: 22px; }
  .offre__grille { grid-template-columns: 1fr; gap: 40px; }
  .faq details p { padding-right: 0; }
}

@media (max-width: 600px) {
  html { scroll-padding-top: 76px; }
  .conteneur, .conteneur--etroit { width: calc(100% - 32px); }
  .entete__ligne { min-height: 60px; }
  .entete__logo { width: 112px; }
  .bouton--petit { padding: 10px 14px; font-size: .82rem; }
  .bouton--grand { display: block; padding-inline: 20px; }
  .tableau th, .tableau td { padding: 14px 12px; font-size: .95rem; }
  .tableau th { font-size: 1.02rem; }
  .pied__sav { padding: 22px; font-size: 1.05rem; }
  .pied__bas { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 345px) {
  .entete__logo { width: 92px; }
  .bouton--petit { padding-inline: 11px; font-size: .75rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bouton { transition: none; }
  .bouton:hover { transform: none; }
}

.insecable { white-space: nowrap; }
