/*
Theme Name:        Cagnotte
Description:       Thème du site des recommandations tutti.immo (cagnotte.immo) : moderne, lisible sur téléphone, tourné vers la recommandation et la récompense. Fait pour l'extension « tutti.immo — Recommandations ». Aucune police ni ressource externe.
Version:           1.0.0
Requires at least: 6.5
Requires PHP:      8.2
Author:            tutti.immo (MITOTIM)
License:           GPL-2.0-or-later
Text Domain:       tutti-cagnotte
*/

/* En-tête collant, marque, navigation. */
.tc-header { position: sticky; top: 0; z-index: 20; background: rgb(255 255 255 / .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--wp--preset--color--line); }
.tc-brand a { text-decoration: none; color: var(--wp--preset--color--ink); }
.tc-brand a::before { content: ""; display: inline-block; width: .9em; height: .9em; margin-right: .4em; border-radius: 50%; vertical-align: -.08em;
	background: radial-gradient(circle at 30% 30%, #ffe29a, var(--wp--preset--color--accent) 60%, #c97a00); box-shadow: 0 0 0 3px rgb(245 165 36 / .25); }
.tc-header .wp-block-navigation a { text-decoration: none; }
.tc-nav-cta a { background: var(--wp--preset--color--primary); color: #fff !important; padding: .45em 1em; border-radius: 999px; }

/* Bandeau d'accueil et titres de page. */
.tc-hero { background: radial-gradient(1200px 500px at 85% -10%, rgb(245 165 36 / .35), transparent 60%),
	linear-gradient(135deg, var(--wp--preset--color--primary) 0%, #7c3aed 55%, #a855f7 100%);
	color: #fff; padding: clamp(48px, 9vw, 110px) 20px; margin-top: 0 !important; }
.tc-hero h1, .tc-hero .wp-block-post-title { color: #fff; }
.wp-block-post-content > .tc-hero h1 { font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.1; max-width: 18ch; }
.tc-hero .tc-lead { color: rgb(255 255 255 / .92); max-width: 46ch; }
.tc-hero .wp-block-button__link { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--ink); }
.tc-hero .is-style-outline .wp-block-button__link { background: transparent; color: #fff; border-color: rgb(255 255 255 / .7); }
.tc-kicker { display: inline-block; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700;
	background: rgb(255 255 255 / .15); padding: 4px 12px; border-radius: 999px; }
.tc-lead { font-size: 1.15rem; }
.tc-note { color: var(--wp--preset--color--muted); font-size: .95rem; }

/* Sections, étapes, cartes. */
.tc-section { padding: clamp(36px, 6vw, 72px) 20px; }
.tc-band { background: var(--wp--preset--color--soft); }
.tc-steps, .tc-cards { gap: 16px; }
.tc-steps .wp-block-column, .tc-cards .wp-block-column { background: #fff; border-radius: 18px; padding: 22px; box-shadow: 0 6px 24px rgb(46 16 101 / .08);
	border: 1px solid var(--wp--preset--color--line); }
.tc-steps h3 { color: var(--wp--preset--color--primary); }
.tc-cta { text-align: center; }
.tc-cta .wp-block-buttons { justify-content: center; }

/* Questions fréquentes. */
.wp-block-details { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; }
.wp-block-details summary { font-weight: 600; cursor: pointer; }

/* Pied de page. */
.tc-footer { background: var(--wp--preset--color--ink); color: rgb(255 255 255 / .8); }
.tc-footer a, .tc-footer .tc-brand a { color: #fff; }

@media (max-width: 600px) {
	.wp-block-post-content > .tc-hero h1 { font-size: 2rem; }
}
