/* ═══════════════════════════════════════════════════════════════════════════
   TicTocard Interactif — la feuille de style (StyleAC : Anton, rouge et or sur
   fond nuit, découpes en biais, mouvements secs ; mobile d'abord).
   Lisibilité : tout texte à 4,5:1 au moins sur son fond (WCAG AA), paragraphes
   à 16 px au moins. Les couleurs de la marque viennent de la configuration.
   ═══════════════════════════════════════════════════════════════════════════ */
@font-face { font-family: 'Anton'; src: url('/fonts/Anton-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }

:root {
    --rouge: #FF4655; --nuit: #0F1923; --blanc: #ECE8E1; --or: #D9B46A; --nuit-claire: #1B2733;
    --nuit-2: #152230; --nuit-3: #223241;
    /* gris de texte : 7,5:1 et 5,2:1 sur le fond le plus clair ; le rouge en TEXTE est --rouge-texte (4,8:1), le rouge de marque sert aux fonds de bouton (texte nuit) et au grand titre */
    --gris: #A9B3BD; --gris-2: #9AA4AE; --rouge-texte: #FF6B78; --vert: #3DD68C; --orange: #F5A524;
    --titre: 'Anton', Impact, 'Arial Narrow', sans-serif;
    --texte: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --biais: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
    --largeur: 1260px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--nuit); color: var(--blanc); font-family: var(--texte); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: var(--or); }
a:hover { color: #fff; }
h1, h2, h3 { font-family: var(--titre); font-weight: 400; letter-spacing: .01em; line-height: .95; margin: 0; text-transform: uppercase; }
h1 { font-size: clamp(44px, 10vw, 112px); }
h2 { font-size: clamp(34px, 7vw, 66px); }
h3 { font-size: clamp(22px, 4.5vw, 30px); }
p { margin: 0 0 1em; font-size: 1em; }
.muet { color: var(--gris); }
.or { color: var(--or); }
.rouge { color: var(--rouge-texte); }
.contenu { width: min(100% - 32px, var(--largeur)); margin: 0 auto; }
.centre { text-align: center; }
:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; }
small { font-size: 15px; }

/* ── boutons : texte nuit sur rouge (6,3:1), ou sur or (9:1) ── */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 30px; background: var(--rouge); color: var(--nuit); font-family: var(--titre); font-size: 23px; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; border: 0; cursor: pointer; clip-path: var(--biais); transition: transform .12s cubic-bezier(.2,.9,.3,1.3), background .12s; }
.bouton:hover { background: #ff6471; color: var(--nuit); transform: translateX(3px); }
.bouton:active { transform: scale(.97); }
.bouton.grand { min-height: 66px; padding: 0 38px; font-size: clamp(24px, 3vw, 30px); }
.bouton.or { background: var(--or); color: var(--nuit); }
.bouton.or:hover { background: #e8c57c; color: var(--nuit); }
.bouton.second { background: transparent; color: var(--blanc); box-shadow: inset 0 0 0 2px var(--blanc); clip-path: none; }
.bouton.second:hover { box-shadow: inset 0 0 0 2px var(--or); color: var(--or); background: transparent; }
.bouton.petit { min-height: 44px; font-size: 18px; padding: 0 18px; }
.bouton.danger { background: transparent; color: var(--rouge-texte); box-shadow: inset 0 0 0 2px var(--rouge-texte); clip-path: none; }
.bouton.danger:hover { background: var(--rouge); color: var(--nuit); }
.bouton[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.bouton.bloc { width: 100%; }

/* ── en-tête ── */
.entete { position: sticky; top: 0; z-index: 50; background: rgba(15,25,35,.9); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(236,232,225,.1); }
.entete .barre { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.marque { font-family: var(--titre); font-size: 24px; letter-spacing: .03em; text-transform: uppercase; color: var(--blanc); text-decoration: none; line-height: 1; }
.marque b { color: var(--rouge); font-weight: 400; }
.marque img { height: 36px; width: auto; }
.nav { display: none; gap: 22px; margin-left: auto; align-items: center; }
.nav a { color: var(--blanc); text-decoration: none; font-weight: 600; font-size: 16px; }
.nav a:hover { color: var(--or); }
.entete .actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.entete .nav + .actions { margin-left: 0; }
.menu-bouton { display: inline-flex; background: none; border: 0; color: var(--blanc); font-size: 26px; cursor: pointer; padding: 6px; }
.entete .menu-mobile { display: none; flex-direction: column; gap: 14px; padding: 14px 0 18px; border-top: 1px solid rgba(236,232,225,.1); }
.menu-mobile a { color: var(--blanc); text-decoration: none; font-weight: 600; font-size: 18px; }
.entete .menu-mobile.ouvert { display: flex; }
@media (min-width: 980px) { .nav { display: flex; } .menu-bouton { display: none; } .menu-mobile { display: none !important; } }
@media (max-width: 979px) { .entete .bouton.petit.second { display: none; } }

/* ── haut de page : la boucle d'action, le texte centré verticalement, le voile seulement derrière le texte ── */
.hero { position: relative; min-height: 92vh; display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-voile { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(15,25,35,.86) 0%, rgba(15,25,35,.72) 38%, rgba(15,25,35,.25) 62%, rgba(15,25,35,0) 100%); }
@media (max-width: 760px) { .hero-voile { background: linear-gradient(180deg, rgba(15,25,35,.55) 0%, rgba(15,25,35,.8) 45%, rgba(15,25,35,.88) 100%); } .hero { min-height: 88vh; align-items: end; } }
.hero-contenu { padding: 92px 0 48px; }
.surtitre { display: inline-block; font-family: var(--titre); font-size: 16px; letter-spacing: .12em; text-transform: uppercase; color: var(--nuit); background: var(--or); padding: 7px 14px 5px; clip-path: var(--biais); margin-bottom: 18px; }
.hero h1 span { display: block; text-shadow: 0 2px 18px rgba(0,0,0,.55); }
.hero h1 span:nth-child(2) { color: var(--rouge); }
.hero h1 span:nth-child(3) { color: var(--or); }
.promesse { max-width: 640px; font-size: clamp(18px, 2.2vw, 22px); margin: 22px 0 22px; text-shadow: 0 1px 10px rgba(0,0,0,.7); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.sous-bouton { font-size: 18px; font-weight: 600; color: var(--blanc); margin: 12px 0 0; text-shadow: 0 1px 8px rgba(0,0,0,.7); }
.pastilles { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pastille { font-size: 15px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 8px 12px; background: rgba(15,25,35,.75); border-left: 3px solid var(--rouge); }
.pastille.or { border-color: var(--or); }

/* ── sections : fonds qui alternent, bandes visuelles ── */
.section { padding: 72px 0; position: relative; }
.section.sombre { background: var(--nuit-2); }
.section.bande { background: var(--nuit-3); clip-path: polygon(0 0, 100% 2.5%, 100% 100%, 0 97.5%); padding: 96px 0; }
.section.bande-prix { background: linear-gradient(180deg, var(--nuit-2), var(--nuit)); }
.titre-section { margin-bottom: 14px; }
.sous-titre { max-width: 760px; font-size: 19px; color: var(--gris); margin-bottom: 36px; }
.sous-section { margin: 40px 0 16px; color: var(--or); }
.grille { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .grille.deux, .grille.trois { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grille.trois { grid-template-columns: repeat(3, 1fr); } }
.legende-petite { font-size: 16px; color: var(--gris); margin: 10px 0 0; }
.benefice { max-width: 820px; font-size: clamp(19px, 2.2vw, 23px); font-weight: 600; margin: 32px 0 0; border-left: 4px solid var(--rouge); padding-left: 18px; }

.cadeau-ex { margin: 0; background: var(--nuit-claire); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%); }
.cadeau-video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.cadeau-ex figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 14px 18px 16px; font-size: 17px; }
.cadeau-etape { color: var(--gris); }
.cadeau-fleche { color: var(--rouge-texte); font-family: var(--titre); font-size: 26px; line-height: 1; }
.cadeau-action { font-family: var(--titre); font-size: 24px; text-transform: uppercase; color: var(--or); }

.etape { position: relative; padding: 26px 24px 24px 24px; background: var(--nuit-claire); border-left: 4px solid var(--rouge); }
.etape .numero { font-family: var(--titre); font-size: 64px; line-height: 1; color: var(--or); margin-bottom: 8px; }
.etape h3 { margin-bottom: 8px; }
.etape p { margin: 0; color: var(--gris); }
.etapes-liste { display: grid; gap: 18px; }
.aide-etape { margin: 12px 0 0 !important; color: var(--gris); font-size: 16px; }
.regle { margin-top: 26px; padding: 16px 20px; background: rgba(217,180,106,.12); border-left: 4px solid var(--or); font-weight: 600; }

.carte-image { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--nuit-claire); margin: 0; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%); }
.carte-image img, .carte-image video { width: 100%; height: 100%; object-fit: cover; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.carte-image:hover img { transform: scale(1.06); }
.carte-image .legende { position: absolute; left: 0; right: 0; bottom: 0; padding: 56px 18px 16px; background: linear-gradient(180deg, rgba(15,25,35,0) 0%, rgba(15,25,35,.94) 65%); }
.carte-image .legende h3 { font-size: 26px; margin-bottom: 4px; }
.carte-image .legende p { margin: 0; font-size: 16px; color: var(--blanc); }
.galerie { margin-top: 36px; }

.pub-grand { margin: 8px 0 8px; }
.pub-grand video { width: 100%; aspect-ratio: 16 / 9; background: #000; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%); }
.halloween-titre { font-size: clamp(40px, 9vw, 84px); color: var(--rouge-texte); }

.mode { margin: 0; background: var(--nuit-claire); border-top: 3px solid var(--or); }
.mode-video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.mode figcaption { padding: 18px 22px 22px; }
.mode h3 { margin-bottom: 8px; color: var(--or); }
.mode p { margin: 0; color: var(--gris); }
.mode.sans-media { border-top-width: 6px; }
.mode.sans-media figcaption { padding-top: 28px; }

.chiffres { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .chiffres { grid-template-columns: repeat(3, 1fr); } }
.chiffre { padding: 26px 18px 22px; background: var(--nuit-claire); clip-path: var(--biais); }
.chiffre b { display: block; font-family: var(--titre); font-weight: 400; font-size: clamp(44px, 7vw, 72px); color: var(--or); line-height: 1; }
.chiffre span { display: block; font-size: 18px; font-weight: 600; margin-top: 8px; }
.chiffre small { display: block; font-size: 16px; color: var(--gris); margin-top: 6px; }

.tarif { max-width: 600px; margin: 0 auto; background: var(--nuit-claire); padding: 34px 28px 30px; border-top: 5px solid var(--rouge); position: relative; }
.tarif .montant { font-family: var(--titre); font-size: clamp(72px, 16vw, 120px); line-height: .9; color: var(--blanc); }
.tarif .montant small { font-family: var(--texte); font-size: 20px; color: var(--gris); margin-left: 8px; }
.tarif .engagement { color: var(--or); font-weight: 700; font-size: 19px; margin: 10px 0 2px; }
.tarif .tva { font-size: 15px; color: var(--gris); margin: 0 0 20px; }
.tarif ul { list-style: none; padding: 0; margin: 0 0 20px; }
.tarif li { padding: 9px 0 9px 30px; border-top: 1px solid rgba(236,232,225,.1); position: relative; }
.tarif li::before { content: '✓'; position: absolute; left: 4px; color: var(--or); font-weight: 900; }
.tarif .choix, .tarif .essai { font-size: 16px; color: var(--gris); margin-bottom: 12px; }

.faq details { border-top: 1px solid rgba(236,232,225,.12); }
.faq details:last-of-type { border-bottom: 1px solid rgba(236,232,225,.12); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 44px 18px 0; font-weight: 700; font-size: 19px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 12px; font-family: var(--titre); font-size: 30px; color: var(--rouge-texte); transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .reponse { padding: 0 0 20px; color: var(--gris); max-width: 800px; }
.ligne-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.video-bientot { display: grid; place-items: center; gap: 6px; aspect-ratio: 16 / 7; max-height: 320px; border: 2px dashed rgba(236,232,225,.3); color: var(--gris); font-family: var(--titre); font-size: 26px; text-transform: uppercase; letter-spacing: .04em; margin-top: 8px; }
.video-bientot small { font-family: var(--texte); text-transform: none; letter-spacing: 0; font-size: 16px; }
.page-titre { padding-bottom: 40px; }

.pied { padding: 48px 0 40px; border-top: 1px solid rgba(236,232,225,.1); font-size: 16px; color: var(--gris); }
.pied .liens { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 14px 0; }
.pied .liens a { color: var(--blanc); text-decoration: none; }
.pied .liens a:hover { color: var(--or); }
.pied .mention { max-width: 860px; font-size: 16px; color: var(--gris); }

/* ── formulaires et espace client ── */
.page { padding: 56px 0 72px; }
.page.etroite .contenu { max-width: 600px; }
.page h1 { font-size: clamp(38px, 8vw, 64px); margin-bottom: 8px; }
.carte { background: var(--nuit-claire); padding: 26px 22px; border-left: 4px solid var(--rouge); margin-bottom: 18px; }
.carte.or { border-left-color: var(--or); }
.carte h2 { font-size: 28px; margin-bottom: 12px; }
.carte h2 small { font-family: var(--texte); font-size: 14px; color: var(--gris); text-transform: none; letter-spacing: 0; margin-left: 10px; }
.champ { display: block; margin-bottom: 16px; }
.champ > span { display: block; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gris); margin-bottom: 6px; }
.champ input[type=text], .champ input[type=email], .champ input[type=password], .champ input[type=date], .champ select, .champ textarea { width: 100%; min-height: 50px; padding: 12px 14px; background: var(--nuit); color: var(--blanc); border: 1px solid rgba(236,232,225,.22); font: inherit; }
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--or); outline: none; }
.champ .aide { font-size: 15px; color: var(--gris); margin-top: 6px; }
/* la saisie : un bloc relatif, le @ et l'œil posés dessus (jamais sur le libellé ni sur l'aide : alignés sur l'entrée, sur mobile aussi) */
.champ .saisie { position: relative; }
.champ.prefixe .saisie i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); line-height: 1; font-style: normal; color: var(--or); font-weight: 900; pointer-events: none; }
.champ.prefixe input { padding-left: 32px; }
.champ .oeil { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 0; color: var(--gris); cursor: pointer; padding: 0; }
.champ .oeil:hover, .champ .oeil:focus-visible, .champ .oeil[aria-pressed=true] { color: var(--or); outline: none; }
.champ.avec-oeil input { padding-right: 52px; }
.champ .erreur-champ { display: none; font-size: 15px; color: var(--rouge-texte); margin-top: 6px; font-weight: 600; }
.champ.invalide .erreur-champ { display: block; }
.champ.invalide input { border-color: var(--rouge); }
/* le remplissage automatique du navigateur : toujours le fond nuit et le texte clair du site, jamais le blanc ou le jaune du navigateur */
.champ input:-webkit-autofill, .champ input:-webkit-autofill:hover, .champ input:-webkit-autofill:focus, .champ input:-webkit-autofill:active { -webkit-box-shadow: 0 0 0 1000px var(--nuit) inset; box-shadow: 0 0 0 1000px var(--nuit) inset; -webkit-text-fill-color: var(--blanc); caret-color: var(--blanc); transition: background-color 9999s ease-in-out 0s; }
.champ input:autofill { box-shadow: 0 0 0 1000px var(--nuit) inset; -webkit-text-fill-color: var(--blanc); }
.ou { display: flex; align-items: center; gap: 14px; margin: 18px 0; color: var(--gris); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.ou::before, .ou::after { content: ''; flex: 1; height: 1px; background: rgba(236,232,225,.22); }
.case { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: 16px; }
.case input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--rouge); }
.radio { display: block; padding: 14px 16px; border: 1px solid rgba(236,232,225,.22); margin-bottom: 10px; cursor: pointer; }
.radio:has(input:checked) { border-color: var(--or); background: rgba(217,180,106,.1); }
.radio input { accent-color: var(--rouge); margin-right: 10px; }
.erreur { background: rgba(255,70,85,.16); border-left: 4px solid var(--rouge); padding: 12px 16px; margin-bottom: 16px; font-weight: 600; }
.succes { background: rgba(61,214,140,.14); border-left: 4px solid var(--vert); padding: 12px 16px; margin-bottom: 16px; font-weight: 600; }
.info { background: rgba(217,180,106,.12); border-left: 4px solid var(--or); padding: 12px 16px; margin-bottom: 16px; }
.etat { display: inline-block; font-family: var(--titre); font-size: 20px; letter-spacing: .04em; text-transform: uppercase; padding: 6px 12px 4px; clip-path: var(--biais); background: var(--gris); color: var(--nuit); }
.etat.ok { background: var(--vert); color: var(--nuit); }
.etat.or { background: var(--or); color: var(--nuit); }
.etat.rouge { background: var(--rouge); color: var(--nuit); }
.code-grand { font-family: var(--titre); font-size: 44px; letter-spacing: .2em; color: var(--or); }
.tableau { width: 100%; border-collapse: collapse; font-size: 16px; }
.tableau th, .tableau td { text-align: left; padding: 10px 8px; border-bottom: 1px solid rgba(236,232,225,.1); }
.tableau th { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--gris); }
.google { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; width: 100%; background: #fff; color: #1f1f1f; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; }
.google:hover { background: #f1f1f1; color: #000; }
.separateur { display: flex; align-items: center; gap: 12px; color: var(--gris); margin: 18px 0; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; }
.separateur::before, .separateur::after { content: ''; flex: 1; height: 1px; background: rgba(236,232,225,.14); }
.legal { max-width: 860px; }
.legal h2 { font-size: 26px; margin: 34px 0 10px; color: var(--or); }
.legal h3 { font-size: 20px; margin: 22px 0 8px; }
.legal p, .legal li { color: #D3D8DD; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 16px; }
.legal th, .legal td { text-align: left; padding: 8px; border-bottom: 1px solid rgba(236,232,225,.12); vertical-align: top; }
.legal th { color: var(--or); font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.recap dt { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--gris); margin-top: 12px; }
.recap dd { margin: 2px 0 0; font-weight: 600; }
.compte-grille { display: grid; gap: 18px; }
@media (min-width: 900px) { .compte-grille { grid-template-columns: 1.2fr .8fr; align-items: start; } }
.saut { height: 24px; }
code, .mono { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 15px; }
[hidden] { display: none !important; }
.secret { white-space: nowrap; }
.secret-masque { letter-spacing: .08em; color: var(--gris); user-select: none; }
.adresse { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 14px; }
.adresse code { word-break: break-all; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .bouton, .carte-image img { transition: none; } }
