/* Page de présentation (index.html, confidentialite.html) : fond clair chaud, cartes blanches, ambre pour agir.
   Le haut de page met le problème en avant (cahier, doubles réservations) avec une démo « sans / avec Tomobelti ».
   Complète style.css (champs, .ico, .logo-l, .erreur). Toujours clair, quel que soit le thème du téléphone. */
.comptoir {
  --sable: #f7f5f0; --blanc: #fff; --encre: #17150f; --doux: #4a463e; --discret: #6f6a60; --filet: #e8e3d9; --filet-fort: #d6cfc2;
  --ambre: #e8a33d; --ambre-fonce: #d48b22; --ambre-texte: #b4650c; --ambre-pale: #fdf1dd; --sur-ambre: #1a1206;
  --vert: #1f8a4c; --vert-pale: #e6f4ec; --rouge: #c8372d; --rouge-pale: #fbeae7;
  --fond: var(--sable); --surface: var(--blanc); --surface2: var(--sable); --bord: var(--filet); --texte: var(--encre);
  --titres: Manrope, system-ui, "Segoe UI", Roboto, Arial, sans-serif;
  --corps: Geist, system-ui, "Segoe UI", Roboto, Arial, sans-serif;
  --main: Caveat, "Segoe Print", "Bradley Hand", cursive;
  --ombre: 0 1px 2px rgba(23, 21, 15, .04), 0 8px 24px -12px rgba(23, 21, 15, .12);
  --page: max(16px, calc((100% - 1160px) / 2));
  color-scheme: light; background: var(--sable); color: var(--encre); font: 16px/1.6 var(--corps);
  overflow-x: clip; scroll-behavior: smooth; font-kerning: normal; -webkit-font-smoothing: antialiased;
}
.comptoir main { display: block; max-width: none; padding: 0; }
.comptoir section { padding: clamp(64px, 9vw, 112px) var(--page); scroll-margin-top: 72px; position: relative; }
.comptoir section:nth-of-type(even) { background: var(--blanc); }
.comptoir h1, .comptoir h2, .comptoir h3, .montant b { font-family: var(--titres); text-wrap: balance; color: var(--encre); }
.comptoir h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 12px; }
.comptoir h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 6px; }
.comptoir em { font-style: normal; color: var(--ambre-texte); }
/* Petite étiquette au-dessus des titres (attribut data-surtitre). */
.surtitre, .titre-section[data-surtitre]::before { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px;
  background: var(--ambre-pale); color: var(--ambre-texte); border: 1px solid #f3d6a6; font: 700 12.5px/1.2 var(--titres); letter-spacing: .02em; }
.titre-section[data-surtitre]::before { content: attr(data-surtitre); margin-bottom: 18px; width: fit-content; }
.titre-section { font-size: clamp(32px, 4.4vw, 52px) !important; line-height: 1.06; letter-spacing: -0.035em !important; margin-bottom: 16px !important;
  max-width: 18ch; font-weight: 800 !important; display: flex; flex-direction: column; align-items: flex-start; }
.comptoir p { max-width: 62ch; text-wrap: pretty; }
.note { font-size: 14px; color: var(--discret); }
.masque { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saut { position: absolute; left: 16px; top: -60px; z-index: 30; background: var(--ambre); color: var(--sur-ambre); padding: 10px 16px; border-radius: 999px; font-weight: 700; }
.saut:focus { top: 12px; }
.comptoir a { color: inherit; }
.comptoir :focus-visible { outline: 3px solid var(--ambre); outline-offset: 3px; }
.comptoir ::selection { background: var(--ambre-pale); }

/* Boutons en pilule : ambre pour agir, encre pour le secondaire fort, contour pour le reste. */
.pilule { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; border: 1.5px solid transparent;
  padding: 10px 18px; font: 700 15px/1.2 var(--titres); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .15s; }
.pilule:active { transform: scale(.97); }
.pilule.grande { padding: 15px 26px; font-size: 16px; }
.pilule.ambre { background: var(--ambre); color: var(--sur-ambre); border-color: var(--ambre); box-shadow: 0 6px 16px -8px rgba(212, 139, 34, .7); }
.pilule.ambre:hover { background: var(--ambre-fonce); border-color: var(--ambre-fonce); filter: none; }
.pilule.noire { background: var(--encre); color: #fff; border-color: var(--encre); }
.pilule.noire:hover { background: #2e2a22; }
.pilule.fantome { background: var(--blanc); color: var(--encre); border-color: var(--filet-fort); }
.pilule.fantome:hover { border-color: var(--encre); }
.pilule:disabled { opacity: .5; cursor: default; }
.ico.whatsapp { fill: currentColor; stroke: none; }

/* Champs : blancs, bordés, contour ambre au focus. */
.comptoir input, .comptoir textarea { border: 1.5px solid var(--filet); border-radius: 12px; padding: 13px 14px; background: var(--blanc);
  font-size: 16px; color: var(--encre); transition: border-color .15s, box-shadow .15s; }
.comptoir input::placeholder, .comptoir textarea::placeholder { color: #a39d91; }
.comptoir input:hover, .comptoir textarea:hover { border-color: var(--filet-fort); }
.comptoir input:focus, .comptoir textarea:focus { outline: none; border-color: var(--ambre); box-shadow: 0 0 0 4px var(--ambre-pale); }
.comptoir label { font-size: 14px; font-weight: 600; color: var(--doux); gap: 6px; }
.deux { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rangee { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.comptoir .erreur { color: var(--rouge); }

/* En-tête : blanc, collant. */
.entete { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 20px; padding: 12px var(--page);
  background: color-mix(in srgb, var(--blanc) 94%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--filet); }
.entete .marque { text-decoration: none; gap: 10px; }
.entete .marque b { font-size: 19px; letter-spacing: -0.02em; }
.entete .sections { display: flex; gap: 2px; margin-inline-start: auto; }
.entete .sections a { text-decoration: none; color: var(--doux); padding: 8px 12px; border-radius: 999px; font-weight: 500; font-size: 15px; }
.entete .sections a:hover { color: var(--encre); background: var(--sable); }
.comptoir .logo-l { background: var(--ambre); color: var(--sur-ambre); }
.entete .langues { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--sable); border: 1px solid var(--filet); }
.entete .langues a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 999px; color: var(--discret);
  text-decoration: none; font: 700 12.5px/1 var(--titres); }
.entete .langues a:hover { color: var(--encre); }
.entete .langues a[aria-current] { color: var(--sur-ambre); background: var(--ambre); }
.drapeau { width: 19px; height: 13px; border-radius: 2px; flex: none; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.entete .pilule { padding: 9px 16px; font-size: 14.5px; }

/* Haut de page : le problème, l'essai, et la démo « sans / avec ». */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 72px); align-items: center;
  padding-top: clamp(36px, 6vw, 80px) !important; background: radial-gradient(60% 50% at 85% 10%, #fdeccf, transparent 70%), var(--sable); }
.hero .surtitre { margin: 0 0 20px; }
.hero h1 { font-size: clamp(40px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 800; margin: 0; max-width: 13ch; }
.accroche { font-size: clamp(17px, 1.6vw, 19px); color: var(--doux); margin: 20px 0 30px; max-width: 48ch; }
.essai { display: grid; gap: 16px; max-width: 560px; }
.essai fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; }
.essai .pas:not([hidden]) { animation: entre .35s ease-out; }
.progression { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 4px; font-size: 14px; font-weight: 600; color: #a39d91; }
.progression li { display: flex; align-items: center; gap: 8px; }
.progression li + li::before { content: ""; width: 28px; height: 1.5px; background: var(--filet-fort); }
.progression li.en-cours { color: var(--encre); }
.progression li.fait { color: var(--ambre-texte); }
.suite h2 { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -0.02em; }
.suite p, .liste-suite { color: var(--doux); }
.liste-suite { padding-inline-start: 22px; display: grid; gap: 12px; }
/* Trois chiffres sous le formulaire. */
.chiffres { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 32px; }
.chiffres li { display: grid; color: var(--discret); font-size: 14px; }
.chiffres b { font: 800 26px/1.15 var(--titres); color: var(--encre); letter-spacing: -0.02em; }

/* Démo : une bascule, puis soit le cahier, soit le contrat. */
.demo { display: grid; gap: 18px; justify-items: center; }
.demo-bascule { background: var(--blanc) !important; border: 1px solid var(--filet); box-shadow: var(--ombre); }
.demo[data-demo="avant"] .contrat, .demo[data-demo="avec"] .cahier { display: none; }
.demo .contrat, .demo .cahier { animation: apparait .35s ease-out; }
@keyframes apparait { from { opacity: 0; transform: translateY(8px); } }

.cahier { margin: 0; width: min(430px, 100%); }
.page-cahier { position: relative; background: #fffdf6; border-radius: 6px; padding: 26px 22px 26px 56px; box-shadow: var(--ombre), 0 0 0 1px #ece6d6;
  font: 600 22px/34px var(--main); color: #26314f; transform: rotate(-1deg);
  background-image: linear-gradient(90deg, transparent 40px, #f1b8b0 40px, #f1b8b0 42px, transparent 42px),
    repeating-linear-gradient(180deg, transparent 0 33px, #dbe4f2 33px 34px); background-position: 0 0, 0 22px; }
.cahier-titre { margin: 0 0 4px; font: 700 26px/34px var(--main); color: #1c2541; text-decoration: underline; text-underline-offset: 6px; }
.page-cahier ol { list-style: none; padding: 0; margin: 0; }
.page-cahier li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.page-cahier .conflit { color: var(--rouge); }
.page-cahier s { color: #8e96aa; }
.note-marge { position: absolute; right: 10px; top: 100px; font: 700 21px var(--main); color: var(--rouge); transform: rotate(-8deg);
  border: 2px solid var(--rouge); border-radius: 50%; padding: 0 10px; }
.postit { position: absolute; right: -14px; bottom: -22px; width: 150px; padding: 14px 12px; background: #ffe680; color: #3a3216;
  font: 600 19px/1.15 var(--main); transform: rotate(4deg); box-shadow: 0 10px 18px -8px rgba(0, 0, 0, .35); }
.cahier figcaption, .contrat figcaption { margin-top: 30px; color: var(--discret); font-size: 14px; text-align: center; }

.contrat { margin: 0; width: min(430px, 100%); }
.papier { background: #fff; color: #111; border-radius: 8px; padding: 24px 24px 20px; font-size: 13.5px; line-height: 1.45;
  box-shadow: var(--ombre), 0 0 0 1px var(--filet); transform: rotate(1deg); }
.contrat-tete { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding-bottom: 14px; border-bottom: 2px solid #111; }
.contrat-tete b { display: block; font: 800 17px/1.15 var(--titres); letter-spacing: -0.01em; overflow-wrap: anywhere; }
.contrat-tete small { color: #6b6b6b; font-size: 12px; }
.logo-agence { width: 40px; height: 40px; border-radius: 10px; background: var(--ambre); color: var(--sur-ambre); display: grid; place-items: center; font: 800 19px var(--titres); }
.numero { font: 700 12px var(--titres); color: #6b6b6b; font-variant-numeric: tabular-nums; align-self: start; }
.papier h3 { font-size: 13px !important; font-weight: 700 !important; color: #6b6b6b !important; margin: 14px 0 4px !important; letter-spacing: 0 !important; }
.lignes { margin: 0; display: grid; }
.lignes div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed #dedad2; }
.lignes dt { color: #6b6b6b; }
.lignes dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; padding: 11px 12px; background: var(--encre); color: #fff; border-radius: 6px; }
.total b { font: 800 21px var(--titres); color: var(--ambre); font-variant-numeric: tabular-nums; color: var(--ambre) !important; }
.signatures { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; color: #8a8a8a; font-size: 11.5px; }
.signatures span { border-top: 1px solid #cfcac0; padding-top: 6px; position: relative; }
.signatures span:first-child::before { content: "Y. Amrani"; position: absolute; left: 6px; bottom: calc(100% - 4px); font: 600 22px/1 var(--main); color: #26314f; transform: rotate(-6deg); }
@media (prefers-reduced-motion: no-preference) {
  .pret .lignes div, .pret .total, .pret .signatures { animation: encre .4s ease-out both; }
  .pret .lignes div:nth-child(2) { animation-delay: .1s; } .pret .lignes div:nth-child(3) { animation-delay: .2s; }
  .pret .lignes div:nth-child(4) { animation-delay: .3s; } .pret .lignes div:nth-child(5) { animation-delay: .4s; }
  .pret .lignes div:nth-child(6) { animation-delay: .5s; } .pret .total { animation-delay: .6s; } .pret .signatures { animation-delay: .7s; }
}
@keyframes encre { from { opacity: 0; } }
@keyframes entre { from { opacity: 0; transform: translateX(12px); } }
@media (prefers-reduced-motion: reduce) { .essai .pas:not([hidden]), .demo .contrat, .demo .cahier { animation: none; } .pilule { transition: none; } }

/* Trois faits, sur une bande blanche. */
.faits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-block: 40px !important; }
.faits p { margin: 0; font-size: 15.5px; color: var(--discret); padding: 22px; border-radius: 16px; background: var(--sable); max-width: none; }
.faits b { display: block; color: var(--encre); font: 800 19px/1.25 var(--titres); letter-spacing: -0.015em; margin-bottom: 4px; }

/* Fonctionnalités : quatre cartes avec un petit écran, puis la liste des autres fonctions. */
.tuiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 40px; }
.tuile { padding: clamp(18px, 2.6vw, 28px); border-radius: 20px; background: var(--blanc); border: 1px solid var(--filet); box-shadow: var(--ombre); }
.tuile h3 { font-size: 20px !important; letter-spacing: -0.02em !important; margin-top: 20px !important; }
.tuile p { margin: 0; color: var(--discret); }
.ecran-mini { aspect-ratio: 16 / 10; background: var(--sable); border-radius: 14px; padding: clamp(14px, 2.4vw, 26px); display: grid; align-content: center; gap: 8px; font-size: 14.5px; }
.m-ligne { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--blanc); border-radius: 10px; padding: 11px 14px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.m-ligne span { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.m-ligne .ico { color: var(--discret); }
.m-ligne em { font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--discret); }
.m-ligne em.libre { color: var(--vert); background: var(--vert-pale); padding: 2px 9px; border-radius: 999px; }
.m-ligne em.alerte { color: var(--sur-ambre); background: var(--ambre); padding: 2px 9px; border-radius: 999px; }
.equipe i { font-style: normal; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--encre); color: #fff; font: 700 11px var(--titres); }
.barres { grid-template-columns: repeat(6, 1fr); align-items: end; align-content: stretch; gap: 10px; }
.barres span { height: var(--h); background: var(--filet-fort); border-radius: 8px 8px 3px 3px; align-self: end; }
.barres span.mois { background: var(--ambre); }
.barres small { grid-column: 1 / -1; color: var(--discret); font-size: 13px; }
.aussi { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.aussi li { display: flex; gap: 12px; align-items: flex-start; color: var(--doux); padding: 16px; border-radius: 14px; background: var(--blanc); border: 1px solid var(--filet); }
.aussi .ico { color: var(--ambre-texte); margin-top: 3px; }

/* Sans / avec : deux colonnes. */
.colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 36px; }
.colonne { border-radius: 20px; padding: clamp(20px, 3vw, 30px); border: 1px solid; }
.colonne.sans { background: #fdf7f6; border-color: #f1d6d1; }
.colonne.avec { background: #f4faf6; border-color: #cfe7d8; }
.colonne h3 { display: flex; align-items: center; gap: 10px; font-size: 19px !important; margin-bottom: 14px !important; }
.colonne h3 .ico { width: 28px; height: 28px; padding: 5px; border-radius: 50%; color: #fff; }
.colonne.sans h3 .ico { background: var(--rouge); }
.colonne.avec h3 .ico { background: var(--vert); }
.colonne ul { list-style: none; padding: 0; margin: 0; display: grid; }
.colonne li { padding: 12px 0; border-top: 1px solid rgba(0, 0, 0, .06); color: var(--doux); }

/* Bande Maroc : photo pleine largeur, texte posé dessus. */
.maroc { isolation: isolate; min-height: 480px; display: grid; align-content: end; color: #fff; }
.maroc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.maroc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(20, 16, 8, .85) 10%, rgba(20, 16, 8, .1) 70%); }
.maroc h2 { font-size: clamp(34px, 5vw, 64px); line-height: 1.02; letter-spacing: -0.04em; max-width: 13ch; color: #fff !important; }
.maroc p { color: #ece6da; font-size: 18px; margin: 0; }

/* Tarifs : le prix sur une carte blanche, bascule mensuel / annuel. */
.tarifs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.tarifs-texte > p { color: var(--doux); font-size: 18px; }
.coches { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; color: var(--doux); }
.coches li { display: flex; gap: 10px; align-items: flex-start; }
.coches .ico { color: var(--vert); margin-top: 3px; }
.calcul { border-radius: 24px; padding: clamp(24px, 4vw, 40px); display: grid; gap: 14px; justify-items: start; background: var(--blanc);
  border: 2px solid var(--ambre); box-shadow: 0 24px 48px -28px rgba(212, 139, 34, .5); }
.bascule { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--sable); border: 1px solid var(--filet); gap: 4px; }
.bascule button { border: 0; background: transparent; color: var(--doux); border-radius: 999px; padding: 8px 15px; font: 700 14px var(--titres); cursor: pointer; transition: background-color .2s, color .2s; }
.bascule button:hover { color: var(--encre); }
.bascule button[aria-checked="true"], .bascule button[aria-pressed="true"], .bascule button.actif { background: var(--ambre); color: var(--sur-ambre); }
.montant p { margin: 6px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; max-width: none; }
.montant b { font-size: clamp(72px, 9vw, 116px); line-height: .9; letter-spacing: -0.06em; font-weight: 800; font-variant-numeric: tabular-nums; }
.montant span { color: var(--doux); font-size: 16px; }
.calcul .note { margin: 0 0 10px; }
.lien { color: var(--doux) !important; font-size: 15px; text-underline-offset: 4px; }
.lien:hover { color: var(--encre) !important; }

/* Démarrer : quatre étapes numérotées. */
.pas-demarrer { list-style: none; padding: 0; margin: 36px 0 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: pas; }
.pas-demarrer li { position: relative; padding: 22px; border-radius: 18px; background: var(--blanc); border: 1px solid var(--filet); box-shadow: var(--ombre); }
.pas-demarrer li::before { counter-increment: pas; content: counter(pas); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--ambre); color: var(--sur-ambre); font: 800 17px var(--titres); margin-bottom: 16px; }
.pas-demarrer h3 { font-size: 18px !important; }
.pas-demarrer p { margin: 0; color: var(--discret); font-size: 15px; }

/* Engagements : quatre garanties en ligne. */
.garanties { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.garanties li { padding: 22px; border-radius: 18px; background: var(--blanc); border: 1px solid var(--filet); box-shadow: var(--ombre); }
.garanties .ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; color: var(--ambre-texte); background: var(--ambre-pale); margin-bottom: 14px; }
.garanties h3 { font-size: 17px !important; }
.garanties p { margin: 0; color: var(--discret); font-size: 15px; }

/* Demande d'abonnement : formulaire sur une carte blanche. */
.demande { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.demande > div > p { color: var(--doux); font-size: 17px; }
.demande > div:last-child { padding: clamp(20px, 3vw, 32px); border-radius: 22px; background: var(--blanc); border: 1px solid var(--filet); box-shadow: var(--ombre); }
.contact-direct { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.contact-direct a { display: inline-flex; align-items: center; gap: 8px; color: var(--encre); font-weight: 700; text-decoration: none; cursor: pointer; }
.contact-direct a:hover { color: var(--ambre-texte); }
.comptoir .formulaire { display: grid; grid-template-columns: 1fr; gap: 14px; }
.choix { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.choix label { display: flex; flex-direction: row; align-items: center; gap: 10px; color: var(--encre); font-size: 15px; font-weight: 600;
  background: var(--sable); border-radius: 999px; padding: 10px 16px; cursor: pointer; border: 1.5px solid transparent; }
.choix label:has(input:checked) { border-color: var(--ambre); background: var(--ambre-pale); }
.choix input { width: auto; accent-color: var(--ambre-fonce); padding: 0; }
.merci { background: var(--vert-pale); border-radius: 18px; padding: 28px; display: grid; gap: 6px; justify-items: start; }

/* Questions fréquentes */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq details { background: var(--blanc); border: 1px solid var(--filet); border-radius: 14px; margin-bottom: 10px; padding: 0 20px; }
.comptoir section.faq:nth-of-type(even) details { background: var(--sable); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font: 700 17px var(--titres); letter-spacing: -0.01em; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 600 22px/1 var(--titres); color: var(--ambre-texte); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--discret); }
.faq a { text-underline-offset: 3px; color: var(--ambre-texte); }

/* Pied de page : encre, pour fermer la page. */
.pied { display: grid; grid-template-columns: auto 1fr; gap: 18px 40px; align-items: center; padding: 56px var(--page) 64px; background: var(--encre); color: #fff; }
.pied .marque b { font-size: 19px; color: #fff; }
.pied > p { margin: 0; color: #b9b2a5; }
.pied nav { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 26px; }
.pied nav a { color: #e6e0d4; text-decoration: none; cursor: pointer; }
.pied nav a:hover { color: var(--ambre); }
.pied .note { grid-column: 1 / -1; margin: 0; color: #8e877a; }
.whatsapp-flottant { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 20; width: 54px; height: 54px;
  border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0, 0, 0, .2); cursor: pointer; }
.whatsapp-flottant svg { width: 28px; height: 28px; fill: #fff; }

/* Politique de confidentialité : un seul texte long, sur une colonne lisible ; en-tête sans liens de sections. */
.entete .marque + .langues { margin-inline-start: auto; }
.legal { max-width: 760px; margin: 0 auto; padding: clamp(40px, 7vw, 88px) 16px 88px; color: var(--doux); }
.legal h1 { font-size: clamp(36px, 5.6vw, 56px); line-height: 1.04; letter-spacing: -0.04em; font-weight: 800; margin: 0 0 10px; }
.legal h2 { margin: 44px 0 10px; }
.legal ul { padding-inline-start: 22px; margin: 0; display: grid; gap: 8px; max-width: 62ch; }
.legal b { color: var(--encre); }
.legal a { text-underline-offset: 3px; color: var(--ambre-texte); }

@media (max-width: 1020px) {
  .pas-demarrer, .garanties { grid-template-columns: 1fr 1fr; }
  .entete .sections a:nth-child(n+3) { display: none; }
}
@media (max-width: 920px) {
  .hero, .tarifs, .demande, .faq { grid-template-columns: 1fr; }
  .entete .sections { display: none; }
  .entete .langues { margin-inline-start: auto; }
  .aussi { grid-template-columns: 1fr 1fr; }
  .demo { margin-top: 12px; }
}
@media (max-width: 640px) {
  .deux, .faits, .tuiles, .aussi, .colonnes, .pas-demarrer, .garanties { grid-template-columns: 1fr; }
  .papier { padding: 20px 16px 16px; transform: none; }
  .page-cahier { font-size: 19px; padding-left: 50px; transform: none; }
  .postit { right: 0; width: 132px; font-size: 17px; }
  .maroc { min-height: 420px; }
  .entete { gap: 8px; }
  .entete .langues span { display: none; }
  .entete .langues a { padding: 6px; }
  .entete .marque b { display: none; }
  .entete .pilule { padding: 8px 12px; font-size: 13.5px; }
  .entete .pilule.fantome { display: none; }
  .note-marge { display: none; }
  .chiffres { gap: 10px 24px; }
  .chiffres b { font-size: 22px; }
  .whatsapp-flottant { width: 48px; height: 48px; right: 14px; }
  .whatsapp-flottant svg { width: 24px; height: 24px; }
}

/* Arabe : lecture de droite à gauche, police Cairo pour les lettres arabes (Manrope n'en a pas), pas d'espacement négatif
   (il casse les liaisons), interlignage plus grand pour les titres. Le contrat et le cahier restent en français. */
html[lang="ar"] .comptoir { --titres: Manrope, Cairo, system-ui, "Segoe UI", Tahoma, sans-serif; font-family: Cairo, system-ui, "Segoe UI", Tahoma, sans-serif; }
html[lang="ar"] .comptoir :is(h1, h2, h3, b, .montant b, .titre-section) { letter-spacing: 0 !important; }
html[lang="ar"] .hero h1 { line-height: 1.3; max-width: 14ch; }
html[lang="ar"] .legal h1 { line-height: 1.3; }
html[lang="ar"] .titre-section, html[lang="ar"] .maroc h2 { line-height: 1.35 !important; }
html[lang="ar"] .progression li + li::before { margin-left: 8px; }
