/* ==========================================================================
   Angelica — voyance et médiumnité · feuille de style principale
   Charte (d'après le logo) : crème, rose poudré, bordeaux, or · titres Cormorant Garamond, texte Outfit
   Mobile d'abord. Les polices sont auto-hébergées (assets/fonts/, voir LISEZMOI.md).
   ========================================================================== */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-500.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/cormorant-garamond-700.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/outfit-variable.woff2") format("woff2"); }

:root {
  /* couleurs */
  --fond: #FBF6EF;          /* crème */
  --fond-2: #F5E9E6;        /* rose très pâle */
  --rose: #E9CDD0;          /* rose poudré */
  --rose-vif: #C98B96;
  --bordeaux: #6B2234;      /* titres, boutons */
  --bordeaux-2: #4E1624;    /* pied de page, survol */
  --or: #C9A24A;            /* filets, ornements */
  --or-clair: #E9D08A;
  --or-fonce: #8C6A1D;      /* or lisible en petit texte (contraste AA) */
  --creme: #FFFCF7;
  --texte: #3A2530;
  --doux: #6B5560;
  --trait: rgba(201, 162, 74, .5);
  --verre: rgba(255, 255, 255, .75);
  --danger: #A3281C;
  /* typographie */
  --f-titre: "Cormorant Garamond", "Palatino Linotype", Georgia, serif;
  --f-texte: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* formes */
  --rayon: 18px;
  --rayon-s: 12px;
  --ombre: 0 10px 34px rgba(107, 34, 52, .14);
  --espace: clamp(3rem, 7vw, 5.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body {
  margin: 0; font-family: var(--f-texte); font-size: 1.0625rem; line-height: 1.7; color: var(--texte);
  background: var(--fond) radial-gradient(900px 500px at 90% -10%, rgba(233, 205, 208, .7), transparent 60%), radial-gradient(800px 500px at -10% 35%, rgba(233, 208, 138, .22), transparent 60%);
  background-attachment: fixed; overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--bordeaux); text-underline-offset: 3px; }
a:hover { color: var(--bordeaux-2); }
:focus-visible { outline: 3px solid var(--bordeaux); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--f-titre); font-weight: 700; line-height: 1.15; color: var(--bordeaux); margin: 0 0 .6em; letter-spacing: .01em; }
h1 { font-size: clamp(2.3rem, 6.5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); }
h3, .h3 { font-size: 1.45rem; font-family: var(--f-titre); font-weight: 700; color: var(--bordeaux); margin: 1.4em 0 .4em; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

.conteneur { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.etroit { width: min(720px, 100% - 2.5rem); margin-inline: auto; }
.doux { color: var(--doux); }
.petit { font-size: .9rem; }
.centre, .texte-centre { text-align: center; }
.visuel-cache { position: absolute; left: -9999px; }
.evitement { position: absolute; left: -9999px; top: 0; background: var(--bordeaux); color: #fff; padding: .6rem 1rem; z-index: 100; }
.evitement:focus { left: 0; }
.surtitre { text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; color: var(--or-fonce); font-weight: 600; margin-bottom: .6rem; }
.chapeau { font-size: 1.2rem; color: var(--doux); max-width: 46rem; }
.centre .chapeau, .texte-centre .chapeau { margin-inline: auto; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 246, 239, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--trait); }
.entete-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--f-titre); font-weight: 700; font-size: 1.7rem; color: var(--bordeaux); }
.logo:hover { color: var(--bordeaux-2); }
.menu-btn { display: none; font: inherit; color: var(--bordeaux); background: transparent; border: 1px solid var(--or); border-radius: 999px; padding: .4rem 1rem; cursor: pointer; }
.menu ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem 1.2rem; flex-wrap: wrap; }
.menu a { display: inline-block; padding: .4rem .2rem; text-decoration: none; color: var(--texte); font-size: .98rem; border-bottom: 2px solid transparent; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--bordeaux); border-bottom-color: var(--or); }
.js .menu-btn { display: inline-block; }
.js .menu { display: none; width: 100%; padding-bottom: .8rem; }
.js .menu.ouvert { display: block; }
.js .menu ul { flex-direction: column; }
@media (min-width: 900px) {
  .js .menu-btn { display: none; }
  .js .menu { display: block; width: auto; padding: 0; }
  .js .menu ul { flex-direction: row; }
}

/* ---------- Boutons ---------- */
.bouton { display: inline-block; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; text-align: center; color: #fff; background: linear-gradient(135deg, #7d2b40, var(--bordeaux)); border: 1px solid var(--or); border-radius: 999px; padding: .85rem 1.8rem; box-shadow: 0 6px 20px rgba(107, 34, 52, .25); transition: transform .15s, box-shadow .15s; }
.bouton:hover { color: #fff; background: var(--bordeaux-2); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(107, 34, 52, .33); }
.bouton:disabled { opacity: .6; cursor: wait; transform: none; }
.bouton-sec { background: transparent; color: var(--bordeaux); border: 1px solid var(--bordeaux); box-shadow: none; }
.bouton-sec:hover { background: rgba(107, 34, 52, .08); color: var(--bordeaux-2); box-shadow: none; }
.bouton-danger { background: transparent; color: var(--danger); border: 1px solid var(--danger); box-shadow: none; }
.bouton-danger:hover { background: rgba(163, 40, 28, .08); color: var(--danger); box-shadow: none; }

/* ---------- Sections ---------- */
.section { padding-block: var(--espace); }
.section.alt { background: linear-gradient(180deg, transparent, rgba(233, 205, 208, .35), transparent); }
.bandeau { padding-block: clamp(2.5rem, 6vw, 4.5rem) 1rem; text-align: center; }
.bandeau .chapeau { margin-inline: auto; }
.hero { position: relative; padding-block: clamp(3.5rem, 9vw, 7rem); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .85;
  background-image: radial-gradient(2px 2px at 12% 22%, var(--or), transparent), radial-gradient(1.5px 1.5px at 28% 68%, var(--or), transparent), radial-gradient(2px 2px at 44% 14%, var(--or-clair), transparent),
    radial-gradient(1.5px 1.5px at 62% 38%, var(--or), transparent), radial-gradient(2px 2px at 78% 72%, var(--or-clair), transparent), radial-gradient(1.5px 1.5px at 90% 18%, var(--or), transparent), radial-gradient(1.5px 1.5px at 8% 82%, var(--or-clair), transparent), radial-gradient(2px 2px at 54% 88%, var(--or), transparent); }
.hero-grille { position: relative; display: grid; gap: 2.5rem; align-items: center; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--rose-vif); }
.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 1.6rem; }
.hero-visuel { display: grid; place-items: center; }
@media (min-width: 900px) { .hero-grille { grid-template-columns: 1.15fr .85fr; } }

.grille-3 { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.verre { background: var(--verre); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 1.6rem; box-shadow: var(--ombre); }
.verre h3 { margin-top: 0; }
.verre .num { font-family: var(--f-titre); font-size: 2.4rem; color: var(--or-fonce); line-height: 1; display: block; margin-bottom: .4rem; }

.encart { background: rgba(233, 205, 208, .45); border: 1px solid var(--trait); border-left: 4px solid var(--or); border-radius: var(--rayon-s); padding: 1rem 1.2rem; margin: 1.4rem 0; }
.encart p:last-child { margin-bottom: 0; }
.encart-titre { font-family: var(--f-titre); font-size: 1.25rem; color: var(--bordeaux); font-weight: 700; margin-bottom: .2em; }
.appel { text-align: center; background: linear-gradient(135deg, rgba(233, 205, 208, .7), rgba(233, 208, 138, .3)); border: 1px solid var(--trait); border-radius: var(--rayon); padding: clamp(1.6rem, 4vw, 3rem); margin: 3rem 0 2rem; }
.appel h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.precsuiv { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

.signature { font-family: var(--f-titre); font-size: 2rem; color: var(--bordeaux); margin: 1rem 0 1.5rem; font-style: italic; }

/* ---------- Cartes de l'oracle ---------- */
.carte-dessin { position: relative; aspect-ratio: 400 / 660; width: 100%; max-width: 220px; margin-inline: auto; border-radius: 14px; color: var(--or-fonce);
  background: linear-gradient(160deg, #FFFCF7, #F5E3E3 70%, #EBCBD0); border: 2px solid var(--or); box-shadow: inset 0 0 0 6px #FFF8F0, inset 0 0 0 7px var(--trait), var(--ombre);
  display: grid; grid-template-rows: auto 1fr auto; place-items: center; padding: 1rem .8rem; text-align: center; }
.cd-num { font-family: var(--f-titre); font-size: 1.5rem; font-weight: 700; letter-spacing: .1em; }
.cd-motif { width: 62%; opacity: .95; }
.cd-nom { font-family: var(--f-titre); font-size: 1.15rem; font-weight: 700; color: var(--bordeaux); line-height: 1.15; }
.carte-img { display: block; width: 100%; max-width: 220px; height: auto; aspect-ratio: 400 / 660; margin-inline: auto; border-radius: 14px; box-shadow: var(--ombre); border: 1px solid var(--trait); object-fit: cover; }
.carte-grande.carte-dessin, .carte-grande.carte-img { max-width: 300px; }
.cartes-grille { list-style: none; padding: 0; margin: 0 0 2.5rem; display: grid; gap: 1.5rem 1rem; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.carte-lien { display: grid; gap: .5rem; text-decoration: none; text-align: center; color: var(--texte); }
.carte-lien .carte-dessin, .carte-lien .carte-img { transition: transform .2s; max-width: 180px; }
.carte-lien:hover .carte-dessin, .carte-lien:hover .carte-img { transform: translateY(-4px) rotate(-1deg); }
.carte-lien-nom { font-family: var(--f-titre); font-weight: 700; font-size: 1.2rem; color: var(--bordeaux); }
.carte-lien-mots { font-size: .85rem; color: var(--doux); line-height: 1.35; }
.fiche-grille { display: grid; gap: 2rem; }
.fiche-visuel { display: grid; place-items: start center; }
.mots-cles { color: var(--or-fonce); font-style: italic; font-family: var(--f-titre); font-size: 1.35rem; font-weight: 700; }
@media (min-width: 800px) { .fiche-grille { grid-template-columns: 320px 1fr; gap: 3.5rem; } .fiche-visuel { position: sticky; top: 90px; align-self: start; } }

/* tirage du jour (page d'accueil et page forfait) */
.tirage { display: grid; gap: 1.5rem; align-items: center; justify-items: center; text-align: center; }
.tirage-texte { max-width: 34rem; }
.tirage-texte .mots-cles { margin-bottom: .6rem; }
@media (min-width: 700px) { .tirage { grid-template-columns: auto 1fr; text-align: left; justify-items: start; gap: 3rem; } }

/* ---------- Tarifs ---------- */
.tarifs { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-block: 1.5rem; }
.tarif { background: var(--verre); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 1.4rem; display: grid; gap: .3rem; align-content: start; box-shadow: var(--ombre); }
.tarif .nom { font-family: var(--f-titre); font-size: 1.5rem; font-weight: 700; color: var(--bordeaux); }
.tarif .prix { font-size: 2rem; font-weight: 600; color: var(--or-fonce); line-height: 1.1; }
.tarif .duree { color: var(--doux); }
.mode-titre { margin-top: 2rem; }
.abo-prix { font-family: var(--f-titre); font-size: clamp(2.6rem, 7vw, 3.6rem); font-weight: 700; color: var(--bordeaux); line-height: 1; }
.abo-prix small { font-family: var(--f-texte); font-size: 1rem; color: var(--doux); font-weight: 400; }
.liste-coches { list-style: none; padding: 0; margin: 1rem 0 1.4rem; }
.liste-coches li { padding-left: 1.7rem; position: relative; margin-bottom: .5rem; }
.liste-coches li::before { content: "✦"; position: absolute; left: 0; color: var(--or-fonce); }

/* ---------- Questions fréquentes ---------- */
.faq details { border-bottom: 1px solid var(--trait); padding: 1rem 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--bordeaux); font-size: 1.08rem; list-style: none; padding-right: 2rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: -.1em; font-size: 1.6rem; color: var(--or-fonce); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .7rem 0 0; color: var(--doux); }

/* ---------- Formulaires ---------- */
.formulaire { display: grid; gap: 1rem; max-width: 620px; }
.champ { display: grid; gap: .35rem; }
.champ label, .formulaire > label { font-weight: 600; color: var(--bordeaux); }
.aide { font-weight: 400; color: var(--doux); font-size: .9rem; }
input, select, textarea { font: inherit; color: var(--texte); background: #fff; border: 1px solid var(--rose-vif); border-radius: var(--rayon-s); padding: .75rem .9rem; width: 100%; max-width: 100%; }
input::placeholder, textarea::placeholder { color: #8d7a85; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--bordeaux); outline-offset: 1px; }
input[type=checkbox] { width: 1.15rem; height: 1.15rem; flex: none; margin-top: .3rem; accent-color: var(--bordeaux); }
.consentement, .case { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; color: var(--texte); font-size: .96rem; line-height: 1.5; }
.cases { display: grid; gap: .7rem; padding: 1rem; border: 1px solid var(--trait); border-radius: var(--rayon-s); background: rgba(233, 205, 208, .3); }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.retour { padding: .9rem 1.1rem; border-radius: var(--rayon-s); margin-bottom: 1rem; border: 1px solid; }
.retour.ok { background: rgba(60, 140, 90, .12); border-color: rgba(60, 140, 90, .55); }
.retour.erreur { background: rgba(163, 40, 28, .09); border-color: rgba(163, 40, 28, .5); }
.retour[hidden] { display: none; }
.ligne-form { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; margin-bottom: 1rem; }
.ligne-form select { width: auto; min-width: 240px; }
altcha-widget { --altcha-color-base: #fff; --altcha-color-text: #3A2530; --altcha-color-border: #C98B96; --altcha-color-active: #6B2234; max-width: 320px; }

/* ---------- Textes légaux ---------- */
.texte-legal { max-width: 780px; }
.texte-legal h2 { font-size: 1.7rem; margin-top: 2.2rem; }
.texte-legal h3 { font-size: 1.25rem; }
.texte-legal table { border-collapse: collapse; width: 100%; margin-bottom: 1rem; font-size: .96rem; background: #fff; }
.texte-legal th, .texte-legal td { border: 1px solid var(--trait); padding: .55rem .7rem; text-align: left; vertical-align: top; }
.texte-legal th { background: var(--fond-2); color: var(--bordeaux); }
.a-completer { background: #FBE7A6; border-radius: 4px; padding: 0 .3em; color: #5a4300; }

/* ---------- Pied de page ---------- */
.site-footer { margin-top: 3rem; border-top: 3px solid var(--or); background: var(--bordeaux-2); color: #F6E9E6; padding-top: 3rem; }
.site-footer a { color: #F6E9E6; }
.site-footer .doux { color: #E3CFCB; }
.pied-grille { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.pied-grille ul { list-style: none; padding: 0; margin: 0; }
.pied-grille li { margin-bottom: .45rem; }
.pied-grille a { text-decoration: none; }
.pied-grille a:hover { color: var(--or-clair); text-decoration: underline; }
.logo-pied { font-family: var(--f-titre); font-size: 1.8rem; font-weight: 700; color: #fff; margin-bottom: .3rem; }
.pied-titre { font-weight: 600; color: var(--or-clair); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; margin-bottom: .8rem; }
.pied-bas { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 2rem; padding-block: 1.4rem 2rem; }
.pied-bas p { margin-bottom: .4rem; }


/* --- Identité d'Angelica : signature et emblème tirés de son logo --- */
.logo-signature { display: block; height: 44px; width: auto; }
@media (max-width: 600px) { .logo-signature { height: 36px; } }
.logo-pied img { display: block; height: 48px; width: auto; }
.hero-embleme { width: min(100%, 440px); height: auto; filter: drop-shadow(0 18px 40px rgba(107, 34, 52, .14)); animation: angelica-flotte 7s ease-in-out infinite; }
@keyframes angelica-flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .hero-embleme { animation: none; } }
