/*
Theme Name: Access Advisors
Description: Habillage du site Access Advisors (proposition A, « Le Tableau ») : thème enfant de Twenty Twenty-Five, bilingue FR / EN. Polices Bodoni Moda et Instrument Sans (SIL OFL 1.1) hébergées localement. Œuvre : Dan Tague.
Author: Accomply
Template: twentytwentyfive
Version: 1.2.0
Requires at least: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: accessadvisors
*/

/* Retour arrière : réactiver Twenty Twenty-Five dans Apparence › Thèmes. */

:root {
	--aa-filet: rgba(236, 230, 211, 0.18);
	--aa-filet-fort: rgba(236, 230, 211, 0.3);
}

::selection { background: #a9cdb0; color: #0b0b0a; }

:where(a, button, input, summary):focus-visible {
	outline: 2px solid #a9cdb0;
	outline-offset: 3px;
}

/* ---------- En-tête ---------- */
.aa-header { padding-top: 28px; padding-bottom: 28px; }
.aa-logo { display: inline-flex; flex-direction: column; gap: 6px; line-height: 1; text-decoration: none; color: #ece6d3; padding: 4px 0; }
.aa-logo:hover { color: #ece6d3; }
.aa-logo__a { font-family: var(--wp--preset--font-family--bodoni-moda); font-size: 26px; font-weight: 500; letter-spacing: 0.32em; }
.aa-logo__b { font-size: 11px; font-weight: 500; letter-spacing: 0.62em; color: #a9cdb0; }
.aa-nav { gap: 4px 28px; }
.aa-nav .wp-block-navigation-item__content { padding: 10px 0; }
.aa-nav .aa-lang .wp-block-navigation-item__content { color: #a9cdb0; }

/* ---------- Corps ---------- */
.aa-main:not(.aa-page) > .wp-block-post-content > * { margin-block-start: 0; }
.aa-main p { color: inherit; }
.aa-doux { color: #cfc9b6; }

.aa-kicker {
	font-size: 12px !important;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: #a9cdb0;
	margin: 0;
}

.aa-section {
	border-top: 1px solid var(--aa-filet);
	padding-top: var(--wp--preset--spacing--60);
	padding-bottom: var(--wp--preset--spacing--60);
}

/* Accueil : l'œuvre comme un tableau */
.aa-hero { text-align: center; padding-bottom: var(--wp--preset--spacing--60); }
.aa-hero .aa-oeuvre { margin: 0 auto 24px; max-width: min(780px, 56vh); } /* l'accroche reste visible sans défiler */
@supports (height: 1svh) { .aa-hero .aa-oeuvre { max-width: min(780px, 56svh); } }
.aa-hero .aa-oeuvre img { width: 100%; height: auto; display: block; mix-blend-mode: lighten; } /* le noir de l'œuvre se fond dans le fond */
.aa-hero h1 { max-width: 900px; margin-left: auto; margin-right: auto; }
.aa-hero .aa-lead { max-width: 640px; margin-left: auto; margin-right: auto; color: #cfc9b6; }

.aa-annee {
	font-family: var(--wp--preset--font-family--bodoni-moda);
	font-size: clamp(64px, 9vw, 120px) !important;
	line-height: 1;
	margin: 12px 0 8px;
}
.aa-intro { font-family: var(--wp--preset--font-family--bodoni-moda); font-size: clamp(26px, 3vw, 34px) !important; line-height: 1.3; }

.aa-services { gap: 0 48px; }
.aa-service h3 { font-size: clamp(22px, 2.2vw, 26px) !important; }
.aa-lead-serv {
	font-family: var(--wp--preset--font-family--bodoni-moda);
	font-style: italic;
	font-size: clamp(24px, 2.8vw, 34px) !important;
	line-height: 1.25;
	color: #cfc9b6;
	margin-top: 4px;
	margin-bottom: 40px;
}
.aa-service { border-top: 1px solid var(--aa-filet-fort); padding: 24px 0 36px; }
.aa-service h3 { margin: 0 0 12px; }
.aa-service ul { margin: 12px 0 0; padding-left: 18px; }
.aa-service li + li { margin-top: 4px; }
.aa-num {
	font-family: var(--wp--preset--font-family--bodoni-moda);
	font-style: italic;
	font-size: 22px !important;
	color: #a9cdb0;
	margin: 0 0 12px;
}

.aa-secteurs {
	font-family: var(--wp--preset--font-family--bodoni-moda);
	font-style: italic;
	font-size: clamp(28px, 4vw, 48px) !important;
	line-height: 1.35;
	max-width: 1000px;
	margin-left: auto !important;
	margin-right: auto !important;
}

.aa-centre { text-align: center; }
.aa-centre .wp-block-buttons { justify-content: center; }
.aa-adresse { color: #cfc9b6; font-style: normal; }
.aa-adresse a { display: inline-block; padding: 6px 0; }

/* Pages simples (mentions, confidentialité) */
.aa-page { padding-top: var(--wp--preset--spacing--50); padding-bottom: var(--wp--preset--spacing--60); }
.aa-page .wp-block-post-title { margin-bottom: var(--wp--preset--spacing--50); }
.aa-page .wp-block-post-content > * + * { margin-block-start: 1em; }
.aa-page .wp-block-post-content > h2 { font-size: var(--wp--preset--font-size--x-large); margin-block-start: var(--wp--preset--spacing--50); margin-block-end: 0.4em; }
.aa-page .wp-block-post-content > h2 + * { margin-block-start: 0; }
.aa-page .wp-block-post-content p { color: #cfc9b6; }
.aa-page .wp-block-post-content p.aa-kicker { color: #a9cdb0; }

/* ---------- Pied de page ---------- */
.aa-footer { border-top: 1px solid var(--aa-filet); padding-top: 28px; padding-bottom: 28px; font-size: 13px; color: #b5af9c; }
.aa-footer p { margin: 0; }
.aa-footer a { color: #b5af9c; text-decoration: none; display: inline-block; padding: 6px 0; }
.aa-footer a:hover { color: #ece6d3; }
.aa-sep { margin: 0 10px; }

/* ---------- Petits écrans ---------- */
@media (max-width: 600px) {
	.aa-nav { gap: 0 16px; font-size: 12px !important; letter-spacing: 0.1em !important; }
	.aa-nav .wp-block-navigation__container { justify-content: flex-start; gap: 0 16px; }
	.aa-header { padding-top: 20px; padding-bottom: 12px; }
	.aa-service { padding-bottom: 28px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}
