/*
Theme Name: Amélie & Giulio
Theme URI: https://amelie-giulio.fr
Author: AGORAMA
Description: Thème « Nuit étoilée » du site d'Amélie et Giulio, voyance par téléphone. Version 2 : thème en blocs, tout le contenu se modifie dans l'éditeur WordPress.
Version: 2.0.2
Requires at least: 6.5
Tested up to: 7.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: amelie-giulio
*/

:root {
	--ag-bg: #0B1029;
	--ag-bg2: #10163A;
	--ag-card: #151C45;
	--ag-input: #0E1434;
	--ag-line: #2C3566;
	--ag-line2: #4A5388;
	--ag-line3: #3A4374;
	--ag-sep: #222A52;
	--ag-gold: #D9B871;
	--ag-gold-t: #E3C68A;
	--ag-ink: #141832;
	--ag-cream: #F4EEDD;
	--ag-body: #C3C8E2;
	--ag-muted: #AEB4D4;
	--ag-foot: #070A1E;
	--ag-req: #F2A7A0;
	--ag-green: #4CC273;
	--ag-red: #E5675C;
	--ag-tel-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E");
	--ag-moon-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 14.5A8 8 0 1 1 9.5 4a6.5 6.5 0 0 0 10.5 10.5z'/%3E%3C/svg%3E");
	--ag-star-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.3' stroke-linejoin='round'%3E%3Cpath d='M12 2l2.4 7.6L22 12l-7.6 2.4L12 22l-2.4-7.6L2 12l7.6-2.4z'/%3E%3C/svg%3E");
	--ag-mail-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E");
	--ag-lock-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E");
	--ag-stars:
		radial-gradient(1.4px 1.4px at 8% 18%, rgba(244, 238, 221, .8), transparent 60%),
		radial-gradient(1.2px 1.2px at 22% 64%, rgba(244, 238, 221, .55), transparent 60%),
		radial-gradient(1.6px 1.6px at 35% 30%, rgba(244, 238, 221, .7), transparent 60%),
		radial-gradient(1.1px 1.1px at 47% 82%, rgba(244, 238, 221, .5), transparent 60%),
		radial-gradient(1.5px 1.5px at 58% 12%, rgba(244, 238, 221, .75), transparent 60%),
		radial-gradient(1.2px 1.2px at 66% 52%, rgba(244, 238, 221, .5), transparent 60%),
		radial-gradient(1.7px 1.7px at 76% 26%, rgba(227, 198, 138, .85), transparent 60%),
		radial-gradient(1.2px 1.2px at 84% 72%, rgba(244, 238, 221, .6), transparent 60%),
		radial-gradient(1.4px 1.4px at 93% 40%, rgba(244, 238, 221, .7), transparent 60%),
		radial-gradient(1.1px 1.1px at 14% 88%, rgba(244, 238, 221, .45), transparent 60%),
		radial-gradient(1.8px 1.8px at 4% 48%, rgba(227, 198, 138, .8), transparent 60%),
		radial-gradient(1.2px 1.2px at 52% 46%, rgba(244, 238, 221, .4), transparent 60%),
		radial-gradient(1.3px 1.3px at 71% 90%, rgba(244, 238, 221, .55), transparent 60%),
		radial-gradient(1.5px 1.5px at 29% 8%, rgba(244, 238, 221, .65), transparent 60%),
		radial-gradient(1.2px 1.2px at 97% 8%, rgba(244, 238, 221, .55), transparent 60%);
}

html { scroll-padding-top: 100px; }
body { -webkit-font-smoothing: antialiased; }
.wp-site-blocks > * + * { margin-block-start: 0; }
main .wp-block-post-content > * { margin-block-start: 0; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
.wp-block-columns { margin-bottom: 0; }
img { max-width: 100%; height: auto; }
strong { color: var(--ag-cream); font-weight: 600; }

/* ---------- Shared ---------- */

.ag-section { padding: 96px 24px; position: relative; }
.ag-eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ag-gold-t); }
.ag-lead { font-size: 18px; line-height: 1.75; }
.ag-muted { color: var(--ag-muted); font-size: 15px; }
.ag-spec { font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ag-gold-t); }
.ag-section > h2 + .ag-lead { margin-top: 14px !important; }
.ag-alt { background: var(--ag-bg2); border-top: 1px solid var(--ag-sep); border-bottom: 1px solid var(--ag-sep); }

/* Starry sky (pure CSS, nothing to load) */
.ag-stars { isolation: isolate; overflow: hidden; }
.ag-stars::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--ag-stars); pointer-events: none; }
.ag-hero, .ag-page-hero { background: radial-gradient(ellipse at 70% 30%, #1E2756 0%, var(--ag-bg) 65%); }
.ag-page-hero { background: radial-gradient(ellipse at 50% 0%, #1E2756 0%, var(--ag-bg) 70%); }

/* Buttons */
.wp-block-buttons { gap: 14px; }
.wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.ag-tel .wp-block-button__link::before, .ag-tel-ico::before {
	content: ""; width: 19px; height: 19px; flex: none; background: currentColor;
	-webkit-mask: var(--ag-tel-icon) center / contain no-repeat; mask: var(--ag-tel-icon) center / contain no-repeat;
}
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: var(--ag-cream); border: 1px solid var(--ag-line2); font-weight: 500; padding: 15px 27px; }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { border-color: var(--ag-gold); color: var(--ag-cream); background: transparent; }
.ag-big > .wp-block-button__link { font-size: 19px; padding: 20px 34px; box-shadow: 0 0 40px rgba(217, 184, 113, .3); }

/* Online status: green from 7h to 2h, red from 2h to 7h (Paris time) */
.ag-statut { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 6px 14px 6px 11px; border-radius: 999px; background: rgba(76, 194, 115, .1); border: 1px solid rgba(76, 194, 115, .45); color: var(--ag-green); font-size: 13px; font-weight: 600; line-height: 1.3; }
.ag-dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(76, 194, 115, .22), 0 0 10px rgba(76, 194, 115, .6); }
.ag-statut.is-off { color: var(--ag-red); background: rgba(229, 103, 92, .1); border-color: rgba(229, 103, 92, .45); }
.ag-statut.is-off .ag-dot { box-shadow: 0 0 0 3px rgba(229, 103, 92, .22); }
.ag-dot-status { position: absolute; top: 10px; right: 10px; width: 18px; height: 18px; border-radius: 50%; background: var(--ag-green); border: 3px solid var(--ag-bg); }
.ag-dot-status.is-off { background: var(--ag-red); }

/* Tags */
.ag-tags { gap: 10px; }
.ag-tag { border: 1px solid var(--ag-line2); color: var(--ag-cream); font-size: 15px; padding: 7px 16px; border-radius: 999px; line-height: 1.3; }

/* ---------- Header ---------- */

header.wp-block-template-part { position: sticky; top: 0; z-index: 60; }
.admin-bar header.wp-block-template-part { top: 32px; }
.ag-header { background: var(--ag-bg); border-bottom: 1px solid var(--ag-sep); padding: 18px max(24px, calc((100vw - 1160px) / 2)); gap: 24px; }
.ag-logo { font-family: Marcellus, Georgia, serif; font-size: 27px; letter-spacing: .04em; line-height: 1.2; white-space: nowrap; }
.ag-logo a { color: var(--ag-cream); text-decoration: none; display: inline-flex; align-items: center; gap: 12px; }
.ag-logo a::before { content: ""; width: 26px; height: 26px; flex: none; background: var(--ag-gold); -webkit-mask: var(--ag-moon-icon) center / contain no-repeat; mask: var(--ag-moon-icon) center / contain no-repeat; }
.ag-logo a:hover { color: var(--ag-cream); }
.ag-header-right { gap: 28px; }
.ag-header .ag-nav { gap: 28px; font-size: 16px; font-weight: 500; }
.ag-header .ag-nav .wp-block-navigation-item__content { color: var(--ag-muted); text-decoration: none; padding: 10px 4px; white-space: nowrap; }
.ag-header .ag-nav .wp-block-navigation-item__content:hover, .ag-header .ag-nav [aria-current="page"] { color: var(--ag-cream); }
.ag-header .ag-nav .ag-nav-mobile-only { display: none !important; }
.ag-header-buttons { flex-wrap: nowrap; gap: 12px; }
.ag-header-buttons .wp-block-button__link { padding: 11px 20px !important; font-size: 16px; white-space: nowrap; }
.ag-nav .wp-block-navigation__responsive-container-open { color: var(--ag-cream); padding: 8px; }
.ag-nav .wp-block-navigation__responsive-container-open svg { width: 30px; height: 30px; }
.ag-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--ag-bg) !important; color: var(--ag-cream) !important; padding: 28px 24px; background-image: var(--ag-stars) !important; }
.ag-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close { color: var(--ag-cream); }
.ag-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 56px; gap: 22px; align-items: flex-start; }
.ag-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { align-items: flex-start !important; gap: 22px; }
.ag-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-family: Marcellus, Georgia, serif; font-size: 30px; color: var(--ag-cream); }
.ag-nav .wp-block-navigation__responsive-container.is-menu-open .ag-nav-mobile-only { display: flex !important; }

/* ---------- Home ---------- */

.ag-hero { padding-top: 104px; padding-bottom: 112px; }
.ag-hero-cols { gap: 56px; }
.ag-hero-cols > .wp-block-column:first-child > * + * { margin-top: 24px !important; }
.ag-hero h1 { font-size: 62px; line-height: 1.1; }
.ag-hero .ag-lead { font-size: 19px; line-height: 1.7; max-width: 540px; }
.ag-hero .wp-block-buttons { margin-top: 32px !important; }
.ag-meta { font-size: 15px; color: var(--ag-muted); }
.ag-meta a { font-weight: 600; text-decoration: none; }
.ag-ring { width: 420px; max-width: 100%; margin: 0 auto !important; border-radius: 50%; border: 1px solid var(--ag-line3); padding: 18px; }
.ag-ring img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; border: 1px solid var(--ag-gold); display: block; }

.ag-star-icon { width: 44px; height: 44px; margin: 0 auto 22px !important; background: var(--ag-gold); -webkit-mask: var(--ag-star-icon) center / contain no-repeat; mask: var(--ag-star-icon) center / contain no-repeat; }
.ag-intro-sec h2 + p { margin-top: 22px !important; }

.ag-cards { gap: 32px; margin-top: 52px !important; justify-content: center; }
.ag-cards > .wp-block-column { max-width: 520px; display: flex; }
.ag-card { width: 100%; background: var(--ag-card); border: 1px solid var(--ag-line); border-radius: 16px; padding: 40px 32px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.ag-card > * + * { margin-top: 16px !important; }
.ag-card h3 { font-size: 34px; }
.ag-card p:not(.ag-spec) { font-size: 16px; line-height: 1.7; }
.ag-card .wp-block-buttons { margin-top: auto !important; padding-top: 10px; }
.ag-card .wp-block-shortcode, .ag-card > .ag-statut { margin-top: 18px !important; }
.ag-avatar { width: 168px; margin: 0 auto !important; border-radius: 50%; border: 1px solid var(--ag-gold); padding: 8px; }
.ag-avatar img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; display: block; }

.ag-tiles-sec { padding-bottom: 0; }
.ag-tiles { gap: 24px; }
.ag-tile { border: 1px solid var(--ag-line); border-radius: 16px; padding: 28px; height: 100%; }
.ag-tile > * + * { margin-top: 10px !important; }
.ag-tile .ag-eyebrow { font-size: 13px; letter-spacing: .14em; }
.ag-tile-value { font-family: Marcellus, Georgia, serif; font-size: 24px; color: var(--ag-cream); line-height: 1.3; }

/* CTA */
.ag-cta-sec { padding-top: 96px; padding-bottom: 0; }
.ag-cta { position: relative; border: 1px solid var(--ag-gold); border-radius: 20px; padding: 60px 32px; background: radial-gradient(ellipse at 50% 0%, #1E2756 0%, var(--ag-bg) 80%); }
.ag-cta > * + * { margin-top: 20px !important; }
.ag-cta h2 { font-size: 40px; }
.ag-cta .ag-lead { max-width: 620px; margin-left: auto !important; margin-right: auto !important; }

/* Callback block */
.ag-rappel-sec { padding-top: 96px; padding-bottom: 96px; }
.ag-rappel { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; background: var(--ag-card); border: 1px solid var(--ag-line); border-radius: 20px; padding: 48px 40px; }
.ag-rappel-intro { flex: 1 1 300px; display: flex; flex-direction: column; gap: 14px; }
.ag-rappel-intro h2 { font-size: 38px; }
.ag-rappel .ag-muted { font-size: 17px; color: var(--ag-body); }
.ag-pastille { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--ag-gold); display: flex; align-items: center; justify-content: center; color: var(--ag-gold); }
.ag-pastille::before { width: 22px !important; height: 22px !important; }
.ag-rappel .ag-form { flex: 999 1 460px; min-width: 0; }

/* ---------- Forms ---------- */

.ag-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ag-full { grid-column: 1 / -1; }
.ag-field { display: flex; flex-direction: column; gap: 8px; }
.ag-field label { font-size: 15px; font-weight: 600; color: var(--ag-cream); }
.ag-req { color: var(--ag-req); }
.ag-field input, .ag-field select, .ag-field textarea { font: inherit; font-size: 16px; padding: 14px 16px; border: 1px solid var(--ag-line3); border-radius: 8px; background: var(--ag-input); color: var(--ag-cream); width: 100%; box-sizing: border-box; }
.ag-field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E3C68A' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.ag-field input::placeholder, .ag-field textarea::placeholder { color: #7F86AE; }
.ag-field input:focus, .ag-field select:focus, .ag-field textarea:focus { outline: 2px solid var(--ag-gold); outline-offset: 1px; }
.ag-check { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.55; cursor: pointer; }
.ag-check input { margin-top: 4px; accent-color: var(--ag-gold); width: 17px; height: 17px; flex: none; }
.ag-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ag-submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 6px; }
.ag-submit-row.is-right { justify-content: flex-start; }
.ag-submit { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: inherit; font-size: 17px; font-weight: 600; line-height: 1.2; padding: 16px 28px; border-radius: 8px; border: 0; background: var(--ag-gold); color: var(--ag-ink); cursor: pointer; transition: background-color .2s; }
.ag-submit:hover { background: #E8CF98; }
.ag-submit.ag-tel-ico::before { width: 18px; height: 18px; }
.ag-note { font-size: 14px; color: var(--ag-muted); }
.ag-msg { padding: 14px 18px; border-radius: 8px; border: 1px solid var(--ag-line2); color: var(--ag-cream); font-size: 15px; }
.ag-msg.ok { border-color: var(--ag-green); background: rgba(76, 194, 115, .08); }
.ag-msg.err { border-color: var(--ag-req); background: rgba(242, 167, 160, .08); }
.ag-msg.info { border-color: var(--ag-gold); background: rgba(217, 184, 113, .08); }
.ag-msg.info p + p { margin-top: 8px; }
.ag-msg-link { font-weight: 600; }

/* ---------- Médiums ---------- */

.ag-profiles { padding-top: 40px; padding-bottom: 0; }
.ag-profiles > .ag-profile + .ag-profile { margin-top: 48px !important; }
.ag-profile { background: var(--ag-card); border: 1px solid var(--ag-line); border-radius: 20px; padding: 40px; }
.ag-profile-cols { gap: 48px; }
.ag-profile-cols > .wp-block-column:not([style]) > * + * { margin-top: 18px !important; }
.ag-profile-cols > .wp-block-column > * + * { margin-top: 18px !important; }
.ag-avatar-lg { width: 300px; padding: 12px; }
.ag-profile-name { font-size: 46px; }
.ag-profile .ag-spec { margin-top: 10px !important; }
.ag-bio { font-size: 17px; line-height: 1.75; }
.ag-facts { gap: 16px; }
.ag-fact { background: var(--ag-input); border-radius: 12px; padding: 18px 20px; height: 100%; }
.ag-fact > * + * { margin-top: 6px !important; }
.ag-fact .ag-eyebrow { font-size: 13px; letter-spacing: .12em; color: var(--ag-muted); }
.ag-fact p:not(.ag-eyebrow) { color: var(--ag-cream); font-size: 16px; }

/* ---------- Question gratuite ---------- */

.ag-page-hero { padding-top: 88px; padding-bottom: 60px; }
.ag-page-hero > * + * { margin-top: 18px !important; }
.ag-page-hero h1 { font-size: 58px; }
.ag-q-sec { padding-top: 24px; padding-bottom: 0; }
.ag-q-cols { gap: 40px; align-items: flex-start !important; }
.ag-card-form { background: var(--ag-card); border: 1px solid var(--ag-line); border-radius: 20px; padding: 40px; }
.ag-form-title { font-size: 32px; margin-bottom: 24px !important; }
.ag-aside-box { background: var(--ag-bg2); border: 1px solid var(--ag-line); border-radius: 20px; padding: 28px; }
.ag-aside-box > * + * { margin-top: 18px !important; }
.ag-aside-box h2 { font-size: 28px; }
.ag-aside-row { position: relative; padding-left: 40px; font-size: 16px; }
.ag-aside-row::before { content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; background: var(--ag-gold); -webkit-mask: var(--ag-star-icon) center / contain no-repeat; mask: var(--ag-star-icon) center / contain no-repeat; }
.ag-ico-mail::before { -webkit-mask-image: var(--ag-mail-icon); mask-image: var(--ag-mail-icon); }
.ag-ico-lock::before { -webkit-mask-image: var(--ag-lock-icon); mask-image: var(--ag-lock-icon); }
.ag-aside-gold { border: 1px solid var(--ag-gold); border-radius: 20px; padding: 28px; margin-top: 20px !important; }
.ag-aside-gold > * + * { margin-top: 12px !important; }
.ag-aside-gold .wp-block-button__link { font-size: 16px; padding: 12px 22px; }
.ag-link a { font-weight: 600; text-decoration: none; }

/* ---------- Legal pages ---------- */

.ag-legal { padding-top: 24px; }
.ag-legal-card > h2 { font-size: 30px; margin: 34px 0 12px !important; }
.ag-legal-card > p + p { margin-top: 12px !important; }
.ag-legal-card p { font-size: 17px; line-height: 1.75; }

/* ---------- Footer ---------- */

.ag-footer { background: var(--ag-foot); border-top: 1px solid var(--ag-sep); padding: 48px 24px; margin-top: 96px; }
.ag-footer p { font-size: 15px; }
.ag-logo-foot { font-family: Marcellus, Georgia, serif; font-size: 26px !important; color: var(--ag-cream); margin-bottom: 10px !important; }
.ag-foot-links { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: flex-end; }
.ag-foot-links a { color: var(--ag-body); text-decoration: none; }
.ag-foot-links a:hover { color: var(--ag-gold-t); }
.ag-disclaimer { font-size: 13px !important; color: #9298BC; margin-top: 32px !important; padding-top: 22px; border-top: 1px solid var(--ag-sep); }

/* Sticky "Être rappelé(e)" button (hidden while a form is on screen) */
.ag-sticky-rappel { position: fixed; right: 24px; bottom: 24px; z-index: 90; margin: 0 !important; transition: opacity .25s, transform .25s; }
.ag-sticky-rappel.is-hidden { opacity: 0; transform: translateY(16px); pointer-events: none; }
.ag-sticky-rappel .wp-block-button__link { box-shadow: 0 10px 28px rgba(0, 0, 0, .45), 0 0 30px rgba(217, 184, 113, .25); }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
	.ag-hero h1 { font-size: 52px; }
	.ag-header-right { gap: 20px; }
	.ag-header .ag-nav { gap: 20px; }
}

@media (max-width: 960px) {
	.ag-hrappel { display: none !important; }
	.ag-header .ag-nav .ag-nav-mobile-only { display: flex !important; }
	.ag-q-cols { flex-wrap: wrap !important; }
	.ag-q-cols > .wp-block-column { flex-basis: 100% !important; }
	.ag-profile-cols { gap: 32px; }
	.ag-avatar-lg { width: 240px; }
}

@media (max-width: 781px) {
	html { scroll-padding-top: 80px; }
	.ag-section { padding-top: 64px; padding-bottom: 64px; }
	.ag-hero { padding-top: 56px; padding-bottom: 72px; }
	.ag-hero h1 { font-size: 40px; }
	.ag-hero .ag-lead { font-size: 18px; }
	.ag-hero-cols { gap: 40px; }
	.ag-ring { width: min(320px, 100%); padding: 12px; }
	.ag-page-hero { padding-top: 56px; padding-bottom: 40px; }
	.ag-page-hero h1 { font-size: 38px; }
	h2, .ag-cta h2 { font-size: 32px; }
	.ag-rappel-intro h2 { font-size: 30px; }
	.ag-cards { margin-top: 36px !important; }
	.ag-card { padding: 32px 22px; }
	.ag-rappel, .ag-card-form, .ag-profile { padding: 28px 20px; }
	.ag-form { grid-template-columns: 1fr; }
	.ag-profile-cols.is-reversed { flex-direction: column-reverse; }
	.ag-profile-name { font-size: 38px; }
	.ag-avatar-lg { width: 220px; padding: 10px; }
	.ag-cta { padding: 44px 22px; }
	.ag-cta-sec, .ag-rappel-sec { padding-top: 64px; }
	.ag-rappel-sec { padding-bottom: 64px; }
	.ag-legal-card > h2 { font-size: 26px; }
	.ag-foot-links { justify-content: flex-start; }
	.ag-footer { margin-top: 64px; }
}

@media (max-width: 600px) {
	.ag-header { padding: 12px 16px; gap: 10px; }
	.ag-logo { font-size: 21px; }
	.ag-logo a { gap: 9px; }
	.ag-logo a::before { width: 22px; height: 22px; }
	.ag-header-right { gap: 6px; }
	.ag-header-buttons .wp-block-button__link { padding: 10px 12px !important; font-size: 14px; }
	.ag-section { padding-left: 16px; padding-right: 16px; }
	.ag-hero h1 { font-size: 36px; }
	.wp-block-buttons > .wp-block-button { width: 100%; }
	.wp-block-buttons > .wp-block-button > .wp-block-button__link { width: 100%; }
	.ag-header .wp-block-buttons > .wp-block-button { width: auto; }
	.ag-header .wp-block-buttons > .wp-block-button > .wp-block-button__link { width: auto; }
	.ag-submit { width: 100%; }
	.ag-big > .wp-block-button__link { font-size: 18px; padding: 18px 24px; }
	/* Sticky callback becomes a round phone button */
	.ag-sticky-rappel { right: 16px; bottom: 16px; }
	.ag-sticky-rappel > .wp-block-button { width: auto; }
	.ag-sticky-rappel > .wp-block-button > .wp-block-button__link { width: 58px; height: 58px; padding: 0; border-radius: 50%; font-size: 0; gap: 0; }
	.ag-sticky-rappel .wp-block-button__link::before { width: 24px; height: 24px; }
}

@media (max-width: 400px) {
	.ag-logo { font-size: 18px; letter-spacing: .02em; }
	.ag-header { padding: 12px 12px; }
	.ag-logo a::before { display: none; }
}
