/* Habillage Maison La Mauny du plugin Fourmizz Age Gate 1.0.x (chargé seulement si le plugin est actif).
   Le plugin reste générique : polices, couleurs, formes et proportions du thème sont appliquées ici.
   Les sélecteurs « html .fzag … » passent devant ceux du plugin (« .fzag … ») et son style en ligne. */

html .fzag { --fzag-fond: var(--tc-color-c1, #ea0b1f); --fzag-accent: #fff; --fzag-texte: #fff; font-family: 'Pridi-Regular', Helvetica, Arial, sans-serif; }

/* Panneau : carte de largeur fixe, hauteur selon le contenu (le plugin la cale sur un format 2:3) */
html .fzag .fzag__panneau { width: min(100%, 500px); min-width: 0; }
html .fzag .fzag__contenu { min-height: 0; padding: 16px clamp(20px, 16.4%, 82px) 24px; }
html .fzag .fzag__logo { width: 150px; max-width: 100%; margin: 0 auto 32px; }

html .fzag .fzag__titre { margin: 0 0 10px; font-family: 'Kadwa-Bold', Georgia, serif; font-size: 24px; font-weight: 400; line-height: 1.05; letter-spacing: 0; text-transform: uppercase; }
html .fzag .fzag__sous-titre { margin: 0 0 38px; font-size: 14px; line-height: 1.3; letter-spacing: 0; }

html .fzag .fzag__label { margin: 0 0 4px; font-size: 10px; font-weight: 400; color: #fff; }
html .fzag .fzag__select { margin: 0 0 28px; padding: 10px 36px 10px 8px; border-bottom-color: #fff; background-size: 7px 7px, 7px 7px; background-position: right 17px center, right 10px center; font-size: 13px; }
html .fzag .fzag__select option { color: #000; }

html .fzag .fzag__date { gap: 8px; margin: 0 0 22px; }
html .fzag .fzag__precision { gap: 8px; }
html .fzag .fzag__champ { height: 44px; padding: 0 8px; border: 1px solid var(--tc-color-c6, #e3e3e3); border-radius: 8px; background: #fff; font-family: 'Kadwa-Bold', Georgia, serif; font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--tc-color-c3, #56352a); }
html .fzag .fzag__champ::placeholder { color: #b5a79a; }
html .fzag .fzag__champ[aria-invalid="true"] { border-color: var(--tc-color-c8, #ffb81c); }
html .fzag .fzag__message { margin: -10px 0 18px; font-size: 12px; font-weight: 400; color: #fff; }

html .fzag .fzag__souvenir { display: flex; justify-content: flex-start; gap: 8px; margin: 0 0 20px; font-family: 'Pridi-Light', 'Pridi-Regular', Helvetica, Arial, sans-serif; font-size: 10.5px; font-weight: 400; letter-spacing: 0; text-align: left; }
html .fzag .fzag__souvenir input { width: 15px; height: 15px; border-radius: 2px; background-color: #fff; }
/* Case cochée : fond blanc, coche rouge */
html .fzag .fzag__souvenir input:checked { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ea0b1f' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5.5 5.5L20 6.5'/%3E%3C/svg%3E"); }

html .fzag .fzag__bouton { --mlm-coin: 6px; height: 42px; margin: 0 0 22px; border-radius: 0; background: var(--tc-color-c6, #e3e3e3); font-family: 'Kadwa-Bold', Georgia, serif; font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--tc-color-c5, #868686); clip-path: polygon(0 var(--mlm-coin), var(--mlm-coin) 0, calc(100% - var(--mlm-coin)) 0, 100% var(--mlm-coin), 100% calc(100% - var(--mlm-coin)), calc(100% - var(--mlm-coin)) 100%, var(--mlm-coin) 100%, 0 calc(100% - var(--mlm-coin))); }
html .fzag .fzag__bouton:hover { background: var(--tc-color-c6, #e3e3e3); color: var(--tc-color-c5, #868686); }
/* Année valide : bouton blanc, texte rouge */
html .fzag .fzag__contenu.fzag--valide .fzag__bouton, html .fzag .fzag__contenu.fzag--valide .fzag__bouton:hover { background: #fff; color: var(--tc-color-c1, #ea0b1f); }

html .fzag .fzag__mentions { font-size: 10.5px; font-weight: 400; line-height: 1.45; }
html .fzag .fzag__mentions p { margin: 0 0 14px; }
html .fzag .fzag__mentions p:last-child { margin-bottom: 0; }

@media (max-width: 575.98px) {
    html .fzag .fzag__titre { font-size: 22px; }
}
