/*
Theme Name: François Pop
Author: François Charo Larrieu
Description: Thème une page, style pop art, pour l'activité de création de sites pour thérapeutes.
Version: 1.0
Requires at least: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: francois-pop
*/

:root {
	--ink: #111111;
	--pink: #FF2E88;
	--yellow: #FFE600;
	--cyan: #00C2F0;
	--orange: #FF8A00;
	--paper: #FFF6DB;
}

html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: var(--ink); }
a:hover { color: var(--pink); }

.wrap { max-width: 1120px; margin-left: auto !important; margin-right: auto !important; padding: 0 24px; box-sizing: border-box; }
.section { padding-top: 88px; }
.section > * + * { margin-top: 28px; }
[id] { scroll-margin-top: 90px; }

h1, h2, h3 { font-family: var(--wp--preset--font-family--anton); font-weight: 400; text-transform: uppercase; letter-spacing: 0.01em; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(40px, 6vw, 72px); max-width: 900px; text-wrap: balance; }
h2 { font-size: clamp(32px, 4vw, 44px); max-width: 760px; }
p { margin: 0; }

/* En-tête */
.site-header { background: var(--yellow); border-bottom: 4px solid var(--ink); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 14px; padding-bottom: 14px; }
.logo { font-family: var(--wp--preset--font-family--anton); text-transform: uppercase; font-size: 24px; }
.logo a { text-decoration: none; color: var(--ink); }
.logo .dot { color: var(--pink); }
.site-header .wp-block-navigation { font-weight: 700; font-size: 15px; gap: 8px 24px; }
.site-header .wp-block-navigation a { text-decoration: none; }

/* Boutons */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.wp-block-button__link { border-radius: 999px; font-weight: 700; padding: 14px 26px; text-decoration: none; border: 3px solid var(--ink); display: inline-block; }
.btn-dark .wp-block-button__link { background: var(--ink); color: var(--yellow); }
.btn-dark .wp-block-button__link:hover { color: #fff; }
.btn-light .wp-block-button__link { background: #fff; color: var(--ink); }
.btn-pink .wp-block-button__link { background: var(--pink); color: var(--ink); }
.btn-shadow .wp-block-button__link { box-shadow: 5px 5px 0 #fff; }
.btn-small .wp-block-button__link { padding: 10px 18px; }

/* Accroche */
.hero { background: var(--pink); border-bottom: 4px solid var(--ink); }
.hero .wrap { padding-top: 88px; padding-bottom: 96px; }
.hero .wrap > * + * { margin-top: 22px; }
.hero .lead { font-size: 19px; max-width: 640px; }

/* Étiquettes */
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; background: var(--ink); color: var(--yellow); padding: 5px 12px; }
.hero .eyebrow { background: none; color: var(--ink); padding: 0; }

/* Cartes */
.cards { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.cards > * { margin: 0 !important; }
.card { flex: 1 1 240px; border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); border-radius: 16px; padding: 26px; box-sizing: border-box; background: #fff; }
.card > * + * { margin-top: 8px; }
.card-title { font-weight: 700; font-size: 18px; }
.card.wide { flex: 2 1 380px; border-radius: 20px; padding: 30px; box-shadow: 8px 8px 0 var(--ink); }
.is-yellow { background: var(--yellow); }
.is-cyan { background: var(--cyan); }
.is-pink { background: var(--pink); }
.is-orange { background: var(--orange); }
.price { font-family: var(--wp--preset--font-family--anton); font-size: 40px; line-height: 1.1; }
.price-big { display: inline-block; font-family: var(--wp--preset--font-family--anton); font-size: 52px; line-height: 1; background: var(--yellow); padding: 2px 12px; }
.small { font-size: 13px; }
.card ul { margin: 0; padding-left: 18px; }

/* Réalisation */
.feature { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; background: var(--cyan); border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); border-radius: 24px; padding: 40px; }
.feature > * { margin: 0 !important; flex: 1 1 340px; }
.feature .text > * + * { margin-top: 12px; }
.placeholder { background: #fff; border: 3px dashed var(--ink); border-radius: 16px; aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; box-sizing: border-box; }
.feature .wp-block-image img { border: 3px solid var(--ink); border-radius: 16px; width: 100%; height: auto; }

/* Étapes */
.steps { display: flex; flex-wrap: wrap; gap: 20px; }
.steps > * { margin: 0 !important; flex: 1 1 220px; border-top: 8px solid var(--pink); padding-top: 14px; }
.steps strong { display: block; font-size: 17px; }

/* À propos */
.about { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.about > * { margin: 0 !important; }
.about .photo { flex: 0 1 280px; aspect-ratio: 1 / 1; background: var(--orange); border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--pink); border-radius: 24px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.about .photo img { width: 100%; height: 100%; object-fit: cover; }
.about .text { flex: 1 1 400px; }
.about .text > * + * { margin-top: 14px; }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; background: var(--pink); border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); border-radius: 24px; padding: 48px 40px; margin-bottom: 88px; }
.contact > * { margin: 0 !important; }
.contact .text { flex: 1 1 420px; }
.contact .text > * + * { margin-top: 10px; }
.contact .actions { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.contact .actions > * { margin: 0 !important; }
.contact .mail a { font-weight: 700; overflow-wrap: anywhere; }

/* Pied de page */
.site-footer { background: var(--ink); color: #fff; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; padding-top: 24px; padding-bottom: 24px; }
.site-footer a { color: #fff; }

/* Pages simples (mentions légales…) */
.page-content { padding-top: 64px; padding-bottom: 88px; max-width: 760px; }
.page-content > * + * { margin-top: 18px; }

@media (max-width: 600px) {
	.hero .wrap { padding-top: 56px; padding-bottom: 64px; }
	.section { padding-top: 64px; }
	.feature, .contact { padding: 28px 22px; }
}
