/* ==========================================================
   Marion Aillerie — habillage client (chargé après le kit)
   Reprend la maquette marionaillerie.fr :
   vert cyprès, chocolat, sauge, lin. Bricolage Grotesque + DM Sans.
   Ce fichier est le seul à modifier pour un nouveau client.
   ========================================================== */

/* ---------- Polices hébergées localement ---------- */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 500 700; font-display: swap; src: url('../fonts/bricolage-grotesque-latin-var.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 300 600; font-display: swap; src: url('../fonts/dm-sans-latin-var.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: italic; font-weight: 300 400; font-display: swap; src: url('../fonts/dm-sans-latin-italic-var.woff2') format('woff2'); }

/* ---------- Tokens ---------- */
:root {
	--ch-accent: #6B8C6A;        /* sauge */
	--ch-accent-dark: #587558;
	--ch-accent-2: #3B5242;      /* vert cyprès : titres, bandeaux, pied de page */
	--ch-accent-2-dark: #2F4639;
	--ch-highlight: #A8C0A0;     /* sauge clair sur fond sombre */
	--ch-heading: #3B5242;
	--ch-soft: #A8C0A0;          /* fonds Services et rendez-vous */
	--ch-caramel: #8B6F4E;
	--ch-sand: #D4C4A8;

	--ch-text: #5C3D22;          /* chocolat */
	--ch-text-2: #5C3D22;
	--ch-text-3: #7A6A58;
	--ch-on-dark: #F5F2EC;

	--ch-bg: #F5F2EC;            /* lin blanc */
	--ch-bg-alt: #E8E0D0;        /* crème */
	--ch-surface: #F5F2EC;
	--ch-border: #D8CFBE;
	--ch-tint: rgba(168, 192, 160, 0.35);

	--ch-serif: 'Bricolage Grotesque', sans-serif;
	--ch-sans: 'DM Sans', sans-serif;
	--ch-title: Georgia, 'Times New Roman', serif;

	--ch-radius: 6px;
	--ch-radius-btn: 50px;
	--ch-wrap: 1280px;
	--ch-section-y: 48px;
}
@media (max-width: 900px) { :root { --ch-section-y: 70px; } }

/* ---------- Base ---------- */
body { font-family: var(--ch-sans); font-weight: 300; line-height: 1.7; color: var(--ch-text); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--ch-title); color: var(--ch-heading); }
.ch-sec .ch-wrap { padding-left: 40px; padding-right: 40px; }

/* ---------- Boutons : pilule en capitales espacées ---------- */
.ch-sec .ch-btn--secondary .wp-block-button__link { display: inline-block; text-align: center; padding: 18px 36px; border-radius: 50px; background: var(--ch-accent-2); color: var(--ch-bg); font-family: var(--ch-sans); font-size: 12px; font-weight: 500; line-height: 1.7; letter-spacing: 0.22em; text-transform: uppercase; }
.ch-sec .ch-btn--secondary .wp-block-button__link:hover { background: var(--ch-text); transform: translateY(-2px); }

/* ---------- En-tête ---------- */
.ch-header { background: var(--ch-bg); -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 1px solid var(--ch-border); }
.ch-header-inner { max-width: 1280px; padding: 22px 40px; justify-content: space-between; }
.ch-brand-text { line-height: 1.7; }
.ch-brand-name { font-family: var(--ch-serif); font-size: 24px; font-weight: 600; letter-spacing: 0.01em; color: var(--ch-heading); }
.ch-brand-accent { font-style: italic; font-weight: 500; color: var(--ch-accent); }
.ch-logo--header { height: 44px; width: auto; max-width: 100%; }
.ch-nav-wrap { flex: 0 0 auto; }
.ch-nav { gap: 40px; }
.ch-nav a { font-size: 11px; font-weight: 500; line-height: 1.7; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ch-heading); }
.ch-nav a:hover { color: var(--ch-accent); }
.ch-header-cta { padding: 12px 26px; border-radius: 50px; background: var(--ch-accent-2); color: var(--ch-bg); font-size: 11px; font-weight: 500; line-height: 1.7; letter-spacing: 0.18em; text-transform: uppercase; }
.ch-header-cta:hover { background: var(--ch-accent); color: var(--ch-bg); }
.ch-drawer-nav a { font-family: var(--ch-serif); }

/* ---------- Pied de page ---------- */
.ch-footer { background: var(--ch-accent-2); color: var(--ch-sand); padding: 48px 0 24px; font-size: 16px; }
.ch-footer a:hover { color: var(--ch-highlight); }
.ch-footer-inner { max-width: 1280px; padding: 0 40px; }
.ch-footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 50px; }
.ch-brand--footer { display: block; margin-bottom: 22px; color: var(--ch-bg); }
.ch-brand--footer .ch-brand-name { color: var(--ch-bg); }
.ch-brand--footer .ch-brand-accent { font-weight: inherit; }
.ch-brand--footer .ch-logo--footer { height: auto; width: 100%; max-width: 360px; }
.ch-footer-tagline { font-size: 14px; line-height: 1.8; color: var(--ch-sand); max-width: 320px; margin: 0 0 28px; }
.ch-footer-signature { font-family: var(--ch-serif); font-style: italic; font-size: 22px; line-height: 1.7; color: var(--ch-highlight); margin: 0; }
.ch-footer-title { font-size: 11px; font-weight: 500; line-height: 1.7; letter-spacing: 0.22em; color: var(--ch-highlight); margin: 0 0 26px; }
.ch-footer li { margin: 0 0 12px; }
.ch-footer-col a { font-size: 13px; color: var(--ch-sand); }
.ch-footer-bottom { margin-top: 0; padding-top: 36px; border-top: 1px solid rgba(212, 196, 168, 0.15); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ch-text-3); }
.ch-footer-bottom p { line-height: 1.7; }
.ch-legal { gap: 0; }
.ch-legal a { font-size: 11px; letter-spacing: 0.14em; color: var(--ch-text-3); }
.ch-legal a + a::before { content: '·'; margin: 0 0.6em; }
@media (max-width: 900px) { .ch-footer-grid { grid-template-columns: 1fr; gap: 40px; } .ch-footer-brand { grid-column: auto; } }
@media (max-width: 640px) { .ch-logo--header { height: 34px; } .ch-brand--footer .ch-logo--footer { max-width: 300px; } }

/* ---------- Correctifs de marges (Kadence ajoute 32px aux groupes) ---------- */
.ch-sec .ch-situation-cards > *, .ch-sec .ch-offers-grid > *, .ch-sec .ch-projects-grid > * { margin: 0 !important; }
.ch-sec .ch-project-media { margin-bottom: 24px !important; }
.ch-sec .wp-block-buttons { margin-bottom: 0 !important; }
.ch-sec .ch-btn--secondary .wp-block-button__link { border: 0; }



.ch-sec .ch-btn--secondary .wp-block-button__link { transition: all 0.3s ease; }
.ch-header-inner { gap: 0; }
.ch-footer-col a[href^='mailto:'], .ch-footer-col a[href^='tel:'] { font-size: 16px; }

/* ---------- Page Contact : texte + carte Calendly (maquette contact.html) ---------- */
.ch-sec.ch-contact-rdv { padding: 90px 0 140px; background: var(--ch-bg); }
.ch-contact-rdv .ch-rdv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.ch-contact-rdv .ch-rdv-grid > * { margin: 0 !important; }
.ch-contact-rdv .ch-eyebrow { font-weight: 500; letter-spacing: 0.22em; color: var(--ch-accent); margin-bottom: 22px; }
.ch-contact-rdv .ch-title { font-family: var(--ch-title); font-weight: 400; font-size: clamp(31px, 4.3vw, 59px); line-height: 1.12; margin: 0 0 30px; color: var(--ch-heading); }
.ch-contact-rdv .ch-title em { font-style: italic; color: var(--ch-accent); }
.ch-contact-rdv .ch-lead { font-size: 17px; line-height: 1.85; color: var(--ch-text); margin: 0 0 30px; }
.ch-contact-rdv .ch-info { list-style: none; margin: 36px 0 0 !important; padding: 30px 0; border-top: 1px solid var(--ch-border); border-bottom: 1px solid var(--ch-border); }
.ch-contact-rdv .ch-info li { display: flex; align-items: center; gap: 18px; padding: 10px 0; font-size: 15px; color: var(--ch-heading); }
.ch-contact-rdv .ch-info-label { width: 90px; flex-shrink: 0; font-size: 10px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ch-text-3); }
.ch-contact-rdv .ch-cal-card { background: var(--ch-bg); border: 1px solid var(--ch-border); border-radius: 12px; padding: 40px; box-shadow: 0 40px 80px -30px rgba(59, 82, 66, 0.2); }
.ch-contact-rdv .ch-cal-head { text-align: center; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--ch-border); }
.ch-contact-rdv .ch-cal-head .ch-eyebrow { font-size: 11px; margin-bottom: 10px; }
.ch-contact-rdv .ch-cal-title { font-family: var(--ch-title); font-weight: 400; font-size: 28px; margin: 0 0 6px; }
.ch-contact-rdv .ch-cal-sub { font-size: 13px; color: var(--ch-text-3); }
.ch-contact-rdv .ch-cal-card .ch-btns { margin-top: 28px; justify-content: center; }
.ch-contact-rdv .ch-cal-card .ch-btn, .ch-contact-rdv .ch-cal-card .wp-block-button__link { width: 100%; }
@media (max-width: 900px) {
	.ch-sec.ch-contact-rdv { padding: 70px 0; }
	.ch-contact-rdv .ch-rdv-grid { grid-template-columns: 1fr; gap: 40px; }
	.ch-contact-rdv .ch-cal-card { padding: 24px; }
}

/* ---------- Étoiles de part et d'autre des sur-titres (toutes les sections) ---------- */
.ch-sec .ch-eyebrow { --ch-star: #6B8C6A; display: flex; align-items: center; justify-content: center; gap: 14px; }
.ch-sec .ch-eyebrow::before, .ch-sec .ch-eyebrow::after { content: ""; flex: none; width: 12px; height: 12px; background: var(--ch-star); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-14 -14 28 28'%3E%3Cpath transform='rotate(25)' d='M0%20-13.8Q2.5%20-2.5%2013.8%200Q2.5%202.5%200%2013.8Q-2.5%202.5%20-13.8%200Q-2.5%20-2.5%200%20-13.8Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-14 -14 28 28'%3E%3Cpath transform='rotate(25)' d='M0%20-13.8Q2.5%20-2.5%2013.8%200Q2.5%202.5%200%2013.8Q-2.5%202.5%20-13.8%200Q-2.5%20-2.5%200%20-13.8Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.ch-sec .ch-eyebrow::after { margin-left: -0.22em; }
.ch-about-sig .ch-eyebrow, .ch-head.is-left .ch-eyebrow { justify-content: flex-start; }
.ch-sec.is-dark .ch-eyebrow { --ch-star: #A8C0A0; }
.ch-sec.ch-offers .ch-eyebrow, .ch-sec.ch-rdv .ch-eyebrow { --ch-star: #F5F2EC; }
.ch-cal-head .ch-eyebrow { display: block; }
.ch-cal-head .ch-eyebrow::before, .ch-cal-head .ch-eyebrow::after { content: none; }

/* ---------- Version mobile : marges, en-tête, boutons, lisibilité ---------- */
@media (max-width: 640px) {
	.ch-sec .ch-wrap { padding-left: 20px; padding-right: 20px; }
	.ch-header-inner { padding: 14px 20px; }
	.ch-sec.ch-heroph { padding: 36px 0 44px; }
	.ch-heroph .ch-avail { font-size: 13px; padding: 10px 18px; gap: 10px; margin-bottom: 22px; }
	.ch-heroph .ch-hero-title { font-size: clamp(30px, 9vw, 38px); margin-bottom: 22px; }
	.ch-heroph .ch-hero-lead { font-size: 16px; margin-bottom: 26px; }
	.ch-sec .wp-block-buttons { flex-direction: column; align-items: stretch; width: 100%; }
	.ch-sec .wp-block-buttons .wp-block-button, .ch-sec .wp-block-button__link { width: 100%; }
	.ch-sec .ch-btn--secondary .wp-block-button__link { padding: 16px 24px; letter-spacing: 0.18em; }
	.ch-sec .ch-title { overflow-wrap: break-word; hyphens: auto; }
	.ch-sec.ch-contact-rdv { padding: 48px 0 64px; }
	.ch-contact-rdv .ch-cal-card { padding: 20px; }
	.ch-contact-rdv .ch-info li { flex-wrap: wrap; gap: 4px 12px; }
	.ch-footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
	.ch-legal { justify-content: center; flex-wrap: wrap; }
}

/* Logos clients : défilement plus lent (plus lent encore sur mobile) */
@media (max-width: 640px) { .ch-logos.is-ready .ch-logos-track { animation-duration: 110s; } }
