/* =========================================
   FONTS
   ========================================= */
@font-face {
	font-family: 'Breathing';
	/* WOFF2 d'abord : 210 Ko contre 649 Ko pour le TTF d'origine. */
	/* WOFF2 pour tous les navigateurs actuels, WOFF pour les plus anciens.
	   Le TTF d'origine (636 Ko) n'apportait plus rien et a été retiré. */
	src: url('../fonts/Breathing.woff2') format('woff2'),
	     url('../fonts/Breathing.woff') format('woff');
	font-weight: normal;
	font-style: normal;
	/* « block » et non « swap » : cette police porte tous les grands titres.
	   Avec « swap » ils s'affichaient d'abord dans la police de repli du
	   navigateur, ce qui donnait quelques secondes de rendu tres degrade.
	   « block » les laisse invisibles le temps du telechargement, qui est
	   amorce des le <head> par un preload. */
	font-display: block;
}

/* =========================================
   RESET / BASE
   ========================================= */
*, *::before, *::after {
	box-sizing: border-box;
}

.emendatus-page {
	margin: 0;
	padding: 0;
}

/* =========================================
   TYPOGRAPHIE — système complet
   ========================================= */

/* 1. Base : Lato sur tout le contenu custom, écrase Astra */
.emendatus-page,
.emendatus-page h1,
.emendatus-page h2,
.emendatus-page h3,
.emendatus-page h4,
.emendatus-page h5,
.emendatus-page h6,
.emendatus-page p,
.emendatus-page a,
.emendatus-page span,
.emendatus-page li,
.site-header,
.site-footer {
	font-family: 'Lato', sans-serif;
}

/* 2. Breathing — titres décoratifs (spécificité plus haute = .emendatus-page + classe) */
.emendatus-page .hero__title,
.emendatus-page .section-intro__title,
.emendatus-page .section-intro__why-title,
.emendatus-page .section-services__title,
.emendatus-page .section-about__title,
.emendatus-page .about-card__name,
.emendatus-page .section-devis__title,
.header-site-name {
	font-family: 'Breathing', cursive;
	font-weight: normal;
}

/* 3. Playfair Display — sous-titres élégants et titres de cartes */
.emendatus-page .service-card__title,
.emendatus-page .section-services__subtitle,
.emendatus-page .about-projects__title,
.emendatus-page .review__author {
	font-family: 'Playfair Display', serif;
}

/* =========================================
   HEADER
   ========================================= */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	background: #BBC9B3BA;
	transform: translateY(-100%);
	transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

.site-header--visible {
	transform: translateY(0);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-inner {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	padding: 0 2rem;
	height: 103px;
}

/* Brand */
.header-brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-shrink: 0;
	padding-right: 2rem;
}

.header-logo {
	width: 83px;
	height: 83px;
	object-fit: contain;
}

.header-site-name {
	font-family: 'Breathing', cursive;
	font-size: 2.125rem;
	color: #30523B;
	text-decoration: none;
	font-weight: normal;
	line-height: 1;
}

.header-site-name:hover {
	opacity: 0.8;
}

/* Nav */
.header-nav {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.nav-menu {
	display: flex;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-menu li a {
	display: block;
	padding: 13px 20px;
	color: #406D4E;
	text-decoration: none;
	font-family: 'Bree Serif', serif;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: normal;
	transition: opacity 0.2s ease;
}

.nav-menu li a:hover {
	opacity: 0.65;
}

/* La page courante doit ressortir, pas paraître désactivée : elle était
   jusqu'ici affichée en opacité 0,65, comme un lien inactif.
   On cible `.current_page_item` et non `.current-menu-item` : le lien
   « Devis » pointe vers l'accueil avec une ancre, WordPress le marquait
   donc courant lui aussi et les deux s'affichaient en pâle. */
.nav-menu li.current_page_item > a {
	opacity: 1;
	color: #30523B;
	font-weight: 700;
}

/* Burger */
.nav-burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 36px;
	height: 36px;
	padding: 4px;
	background: none;
	border: none;
	cursor: pointer;
	flex-shrink: 0;
}

.nav-burger span {
	display: block;
	height: 2px;
	width: 100%;
	background: #2c3e1f;
	border-radius: 2px;
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav--open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav--open .nav-burger span:nth-child(2) { opacity: 0; }
.nav--open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile */
@media (max-width: 900px) {
	.nav-burger {
		display: flex;
	}

	/* En-tete compact : 103 px prenait un huitieme de l'ecran sur mobile. */
	.header-inner {
		height: 68px;
		padding: 0 1rem;
		align-items: center;
	}

	.header-brand { padding-right: 0; }

	.header-logo {
		width: 44px;
		height: 44px;
	}

	.header-site-name { font-size: 1.5rem; }

	/* Sans cela le bouton se cale en haut au lieu d'etre a hauteur du logo. */
	.nav-burger { align-self: center; }

	.header-nav {
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		background: #BBC9B3;
		overflow: hidden;
		max-height: 0;
		transition: max-height 0.35s ease;
		/* Annule l'alignement du bureau, qui tassait les liens sur la droite
		   et laissait la moitie du panneau vide. */
		display: block;
		flex: none;
		justify-content: flex-start;
		align-items: stretch;
	}

	.nav--open .header-nav {
		max-height: 420px;
		box-shadow: 0 10px 18px rgba(48, 82, 59, 0.18);
	}

	/* Menu ouvert : l'en-tete devient opaque, sinon le bandeau transparait. */
	.nav--open.site-header { background: #BBC9B3; }

	.nav-menu {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		padding: 0;
	}

	.nav-menu li { width: 100%; }

	.nav-menu li a {
		display: block;
		width: 100%;
		padding: 0.95rem 1.25rem;
		text-align: left;
		border-bottom: 1px solid rgba(48, 82, 59, 0.14);
	}

	.nav-menu li:last-child a { border-bottom: 0; }
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
	background: #fff;
	border-top: 1px solid #e0d8cc;
	padding: 1.25rem 0;
}

.footer-inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 2rem;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

.footer-logo-link { flex-shrink: 0; }

.footer-logo {
	width: 70px;
	height: 70px;
	object-fit: contain;
}

/* Nav avec séparateurs | */
.footer-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
	flex: 1;
	justify-content: center;
}

.footer-nav li a {
	display: block;
	padding: 0.2rem 0.7rem;
	color: #2c3e1f;
	text-decoration: none;
	font-size: 0.88rem;
	font-weight: 600;
	transition: opacity 0.2s ease;
}

.footer-nav li a:hover { opacity: 0.6; }

.footer-nav li.current-menu-item > a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.footer-nav li + li::before {
	content: "|";
	color: #3d4a2a;
	font-size: 0.85rem;
}

/* Copyright */
.footer-copy {
	margin: 0;
	font-size: 0.82rem;
	color: #555;
	line-height: 1.65;
	flex-shrink: 0;
	text-align: right;
}

/* Réseaux sociaux */
.footer-social { flex-shrink: 0; }

.footer-social__link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 8px;
	background: #2c3e1f;
	transition: background 0.2s ease;
}

.footer-social__link:hover { background: #4a7c4e; }

.footer-social__link svg { fill: #fff; }

@media (max-width: 768px) {
	.footer-inner {
		flex-direction: column;
		text-align: center;
	}
	.footer-copy { text-align: center; }
	.footer-nav { justify-content: center; }
}

/* =========================================
   SECTION 2 — INTRO
   ========================================= */
.section-intro {
	position: relative;
	min-height: 100vh;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding: 8rem 2rem;
}

/* Décorations absolues */
.section-intro__deco {
	position: absolute;
	pointer-events: none;
	user-select: none;
}

/* Design-7 : pointe vers le coin haut-droit */
.section-intro__deco--topright {
	width: clamp(200px, 24vw, 320px);
	top: -1%;
	right: 0%;
	transform: scaleX(-1) rotate(114deg);
}

.section-intro__deco--bottomleft {
	width: clamp(200px, 24vw, 300px);
	bottom: -1%;
	left: 1%;
	transform: rotate(75deg) scaleX(-1);
}

/* Contenu — titre pleine largeur, reste centré */
.section-intro__content {
	width: 100%;
	max-width: 100%;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
	position: relative;
	z-index: 1;
}

.section-intro__title {
	font-family: 'Breathing', cursive;
	font-size: clamp(2rem, 4.3vw, 7rem);
	font-weight: normal;
	color: #30523B;
	line-height: 1;
	margin: 0 0 3rem 0;
	max-width: 70vw;
}

.section-intro__quote-box {
	background-color: #E8F4E8;
	border: 2px solid #30523B;
	padding: 1.5rem 2rem;
	margin: 0 auto 3rem auto;
	max-width: fit-content;
	border-radius: 4px;
}

.section-intro__latin {
	font-family: 'Playfair Display', serif;
	font-size: clamp(0.95rem, 1.5vw, 1.15rem);
	font-style: italic;
	color: #30523B;
	font-weight: 400;
	margin: 0 0 0.5rem 0;
	line-height: 1.6;
}

.section-intro__tagline {
	font-size: 0.9rem;
	color: #4D6D56;
	margin: 0;
	line-height: 1.7;
}

.section-intro__why-title {
	font-family: 'Breathing', cursive;
	font-size: clamp(1.6rem, 2.8vw, 4.5rem);
	line-height: 1;
	font-weight: normal;
	color: #30523B;
	margin: 0 0 2rem 0;
}

.section-intro__why-text {
	font-size: 0.9rem;
	color: #30523B;
	line-height: 1.8;
	max-width: 520px;
	margin: 0;
}

/* Responsive section intro */
@media (max-width: 768px) {
	.section-intro {
		padding: 5rem 1.5rem;
	}

	.section-intro__title {
		max-width: 92vw;
	}

	.section-intro__tagline {
		max-width: 85vw;
	}

	.section-intro__why-text {
		max-width: 90%;
	}

	.section-intro__deco--topright,
	.section-intro__deco--bottomleft {
		width: clamp(90px, 22vw, 150px);
		opacity: 0.5;
	}
}

/* =========================================
   SECTION 3 — SERVICES ET TARIFS
   ========================================= */
.section-services {
	position: relative;
	overflow: hidden;
	min-height: 100vh;
	background: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-evenly;
	padding: 5rem 3rem;
	text-align: center;
}

.section-services__title {
	font-family: 'Breathing', cursive;
	font-size: clamp(2rem, 4.3vw, 7rem);
	line-height: 1;
	font-weight: normal;
	color: #30523B;
	margin: 0;
}

.section-services__subtitle {
	font-family: 'Playfair Display', serif !important;
	font-size: clamp(0.9rem, 1.8vw, 1.15rem);
	font-weight: 500;
	color: #30523B;
	text-align: center;
	margin: 0;
}

/* Wrapper grille */
.services-cards-wrapper {
	width: 100%;
}

/* Décorations — collées au bas de la section */
.services-grid__deco {
	position: absolute;
	bottom: 0;
	pointer-events: none;
}

.services-grid__deco--1 {
	left: 23%;
	width: 14em;
}

.services-grid__deco--2 {
	left: 61%;
	width: 14em;
}

/* Grille des 3 cartes */
.services-grid {
	display: flex;
	flex-direction: row;
	align-items: center;
	align-content: space-around;
	justify-content: center;
	flex-wrap: wrap;
	width: 100%;
	padding: 2rem 0;
	gap: 2rem;
}

/* Cartes */
.service-card {
	border: 2px solid #30523B;
	padding: 2.5rem 2rem;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 1.25rem;
	width: 23vw;
	min-height: 350px;
	background: rgba(255, 255, 255, 0.75);
	position: relative;
	z-index: 2;
	flex-wrap: wrap;
	align-content: flex-start;
	justify-content: center;
}

.service-card__title {
	font-family: 'Playfair Display', serif !important;
	font-size: 2rem;
	font-weight: 400;
	color: #30523B;
	margin: 0 0 1rem 0;
	width: 100%;
	text-align: center;
}

.service-card__desc {
	font-size: 0.9rem;
	color: #30523B;
	line-height: 1.7;
	margin: 0;
	width: 100%;
	text-align: center;
}

.service-card__btn {
	display: inline-block;
	padding: 0.75rem 1.5rem;
	background: #E8F4E8;
	color: #30523B;
	border: 2px solid #30523B;
	border-radius: 4px;
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	white-space: nowrap;
	transition: all 0.2s ease;
}
.service-card__btn:hover,
.service-card__btn:focus,
.service-card__btn:active {
	background: #30523B;
	color: #fff;
	outline: none;
}

/* Bouton bas de section */
.services-cta {
	display: inline-block;
	padding: 0.7rem 1.8rem;
	background: #4D6D56;
	color: #fff;
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	transition: background 0.2s ease;
}

.services-cta:hover {
	background: #30523B;
}

/* Tablette — cartes un peu plus larges */
@media (max-width: 1100px) {
	.service-card {
		width: 28vw;
	}
}

/* Mobile — cartes empilées */
@media (max-width: 768px) {
	.section-services {
		padding: 4rem 1.5rem;
		justify-content: flex-start;
		gap: 2rem;
	}

	.services-grid {
		flex-direction: column;
		align-items: center;
		gap: 1.5rem;
		padding: 0.5rem 0;
	}

	.service-card {
		width: 90%;
		max-width: 420px;
	}

	.services-grid__deco {
		display: none;
	}
}

/* =========================================
   SÉPARATEUR ENTRE SECTIONS
   ========================================= */
.section-divider {
	border: none;
	margin: 0;
	padding: 0;
	height: 2rem;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
}

/* Ligne qui s'efface sur les côtés */
.section-divider::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 8%;
	right: 8%;
	height: 1px;
	background: linear-gradient(
		to right,
		transparent,
		#a3b18a 20%,
		#a3b18a 80%,
		transparent
	);
}


/* =========================================
   OVERRIDE ASTRA — full width sur la home
   ========================================= */
.home #primary,
.home #content,
.home .ast-article-single,
.home .entry-content,
.home .site-content,
.home #main {
	padding: 0 !important;
	margin: 0 !important;
	max-width: none !important;
	width: 100% !important;
}

/* =========================================
   HERO — Section 1
   ========================================= */
.hero {
	position: relative;
	height: 100vh;
	min-height: 600px;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	/* Le PNG d'origine pese 2,6 Mo ; la version WebP 208 Ko pour un rendu
	   identique. La premiere declaration sert de repli aux navigateurs
	   qui ne connaissent pas image-set(). */
	background-image: url('../images/fond.png');
	background-image: image-set(
		url('../images/fond.webp') type('image/webp'),
		url('../images/fond.png') type('image/png')
	);
	background-size: cover;
	background-position: center center;
	overflow: hidden;
}

.hero__title {
	font-family: 'Breathing', cursive;
	font-size: clamp(3.5rem, 9vw, 14rem);
	line-height: 1;
	color: #30523B;
	text-align: center;
	margin: 0 0 2rem 0;
	padding: 0 1rem;
	font-weight: normal;
}

.hero__cta {
	display: inline-block;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero__cta:hover {
	transform: scale(1.05);
	opacity: 0.85;
}

.hero__cta img {
	width: clamp(160px, 22vw, 260px);
	mix-blend-mode: multiply;
}

/* Responsive Hero */
@media (max-width: 768px) {
	.hero {
		min-height: 100svh;
		background-position: center center;
	}

	.hero__title {
		font-size: clamp(4rem, 18vw, 6rem);
		margin: 0 0 2.5rem 0;
	}
}

@media (max-width: 480px) {
	.hero__title {
		font-size: clamp(3.5rem, 20vw, 5rem);
	}
}

/* =========================================
   SECTION 4 — QUI SUIS-JE ?
   ========================================= */
.section-about {
	position: relative;
	background: #fff;
	padding: 5rem 1rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3rem;
	overflow: visible;
}

.section-about__deco {
	position: absolute;
	top: -11rem;
	right: -10rem;
	pointer-events: none;
	user-select: none;
	z-index: 3;
	display: block !important;
}

@media (max-width: 480px) {
	.section-about__deco {
		display: none !important;
	}
}

.section-about__title {
	font-family: 'Breathing', cursive;
	font-size: clamp(2rem, 4.3vw, 7rem);
	line-height: 1;
	font-weight: normal;
	color: #30523B;
	margin: 0;
	text-align: center;
}

/* Grille 3 colonnes */
.section-about__grid {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 2rem;
	width: 100%;
}

/* ---- Carte profil ---- */
.about-card {
	border: 2px solid #30523B;
	border-radius: 100px;
	padding: 2.5rem 1.75rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.25rem;
	text-align: center;
	position: relative;
	overflow: visible;
}

.about-card__photo {
	width: 170px;
	height: 170px;
	border-radius: 50%;
	object-fit: cover;
	border: 4px solid #30523B;
	outline: 6px solid #fff;
	outline-offset: -10px;
}

.about-card__name {
	font-family: 'Breathing', cursive;
	font-size: 2rem;
	font-weight: normal;
	color: #30523B;
	margin: 0;
	line-height: 1;
}

.about-card__role {
	font-size: 0.82rem;
	color: #888;
	margin: -0.5rem 0 0 0;
	letter-spacing: 0.04em;
}

.about-card__badge {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	width: 100%;
	padding-top: 1rem;
	border-top: 1px solid rgba(48, 82, 59, 0.15);
}

.about-card__badge--link {
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.about-card__badge--link:hover {
	opacity: 0.75;
}

.about-card__badge-img {
	width: 72px;
	flex-shrink: 0;
	object-fit: contain;
}

.about-card__badge-img--wide {
	width: 80px;
}

.about-card__badge-info p {
	font-size: 0.85rem;
	color: #30523B;
	line-height: 1.65;
	margin: 0;
	text-align: center;
}

/* ---- Bio ---- */
.about-bio {
	font-size: 1rem;
	color: #30523B;
	line-height: 1.85;
	text-align: justify;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	flex: 1;
	min-width: 250px;
	max-width: 35%;
}

.about-bio p {
	margin: 0;
}

/* ---- Colonne droite ---- */
.about-right {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	flex: 1;
	min-width: 250px;
	max-width: 30%;
}

.about-projects__title {
	font-family: 'Playfair Display', serif;
	font-size: clamp(1.2rem, 1.8vw, 1.6rem);
	font-weight: 400;
	color: #30523B;
	margin: 0;
	text-align: center;
	line-height: 1.4;
}

/* ---- Carrousels ---- */
.carousel {
	position: relative;
	overflow: hidden;
	width: 100%;
}

.carousel__track {
	display: flex;
	transition: transform 0.5s ease;
}

.carousel__slide {
	flex: 0 0 100%;
}

/* Carrousel livres */
.carousel--books .carousel__slide {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 2.5rem;
}

.carousel--books .carousel__slide img {
	max-height: 360px;
	max-width: 100%;
	object-fit: contain;
}

/* Boutons prev/next */
.carousel__btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid #30523B;
	color: #30523B;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 1.4rem;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition: background 0.2s ease;
	z-index: 2;
}

.carousel__btn:hover,
.carousel__btn:focus,
.carousel__btn:active {
	background: #30523B;
	color: #fff;
}

.carousel__btn--prev { left: 0; }
.carousel__btn--next { right: 0; }

/* Points */
.carousel__dots {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 0.75rem;
}

.carousel__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #c5d4be;
	border: none;
	cursor: pointer;
	padding: 0;
	transition: background 0.2s ease;
}

.carousel__dot--active,
.carousel__dot:hover,
.carousel__dot:focus,
.carousel__dot:active {
	background: #30523B;
}

/* ---- Avis ---- */
/* 2,5rem de part et d'autre, comme pour les couvertures : les flèches
   font 34 px et se posent sur les bords du carrousel. Sans cette marge
   elles passeraient par-dessus le texte de l'avis. */
.carousel--reviews .carousel__slide {
	padding: 0 2.5rem;
}

.review__author {
	font-family: 'Playfair Display', serif;
	font-size: 1.2rem;
	font-weight: 700;
	color: #30523B;
	margin: 0 0 0.6rem 0;
	line-height: 1.4;
}

.review__stars {
	color: #30523B;
	font-size: 1.4rem;
	margin-bottom: 0.85rem;
	letter-spacing: 0.05em;
}

.review__text {
	font-size: 1rem;
	color: #30523B;
	line-height: 1.8;
	margin: 0;
}

.review__text.is-truncated {
	display: -webkit-box;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.review__more-btn {
	display: block;
	background: none;
	border: none;
	color: #406D4E;
	font-family: 'Lato', sans-serif;
	font-size: 0.85rem;
	font-weight: 700;
	padding: 0;
	margin-top: 0.5rem;
	cursor: pointer;
	text-decoration: none;
	border-bottom: 1px solid rgba(64, 109, 78, 0.4);
	transition: color 0.2s ease, border-color 0.2s ease;
}

.review__more-btn:hover,
.review__more-btn:focus,
.review__more-btn:active,
.review__more-btn:focus-visible {
	color: #30523B;
	border-bottom-color: #30523B;
	outline: none;
	box-shadow: none;
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
	.section-about__grid {
		grid-template-columns: minmax(200px, 30%) 1fr;
		grid-template-rows: auto auto;
	}

	.about-right {
		grid-column: 1 / -1;
	}
}

@media (max-width: 768px) {
	.section-about {
		padding: 4rem 1.5rem;
		gap: 2rem;
	}

	.section-about__grid {
		grid-template-columns: 1fr;
	}

	.about-card {
		max-width: 380px;
		margin: 0 auto;
	}

	.about-bio {
		text-align: left;
	}
}

/* =========================================
   PAGE SERVICES ET TARIFS
   ========================================= */
.page-services {
	padding-top: 80px; /* compense le header fixed */
}

section#services.services-page {
	padding: 80px 20px;
	text-align: center;
	max-width: 1400px;
	margin: 0 auto;
}

.services-page__title {
	font-family: 'Breathing', sans-serif;
	color: #30523B;
	font-weight: 400;
	letter-spacing: 2.3px;
	margin-bottom: 40px;
	font-size: 7.8vw;
	white-space: nowrap;
}

.services-page__intro {
	font-style: italic;
	color: #30523B;
	margin-bottom: 50px;
	font-size: 18px;
	opacity: 0.9;
}

/* Offres mini */
.services-mini {
	max-width: 1020px;
	margin: 0 auto 50px;
	border: 2px dashed #30523B;
	padding: 24px 28px;
	text-align: left;
	background: #f7f9f7;
}

.services-mini h4 {
	font-family: 'Playfair Display', serif;
	margin: 0 0 12px;
	color: #30523B;
	font-weight: 400;
	letter-spacing: 1.3px;
	font-size: 19px;
}

.services-mini ul {
	margin: 10px 0 0 24px;
	list-style: disc;
}

.services-mini li {
	margin: 6px 0;
	line-height: 1.7;
	font-size: 15px;
	color: #30523B;
}

/* Grille cartes */
.services-cards {
	display: grid;
	gap: 28px;
	max-width: 1020px;
	margin: 0 auto 70px;
	grid-template-columns: 1fr;
}

@media (min-width: 700px) {
	.services-cards {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.services-cards {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* Carte */
.scard {
	border: 2px solid #30523B;
	padding: 32px 28px;
	background: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	min-height: 280px;
	transition: box-shadow 0.3s, transform 0.3s;
}

.scard:hover {
	box-shadow: 0 6px 20px rgba(48, 82, 59, 0.12);
	transform: translateY(-4px);
}

.scard h3 {
	font-family: 'Playfair Display', serif;
	color: #30523B;
	font-weight: 400;
	letter-spacing: 2.3px;
	margin-bottom: 16px;
	font-size: 22px;
}

.scard__body {
	margin-bottom: auto;
}

.scard__body p {
	font-size: 15px;
	line-height: 1.7;
	margin: 0 0 18px;
	color: #30523B;
}

.scard__price {
	font-weight: 700;
	letter-spacing: 1.5px;
	margin: auto 0 16px;
	font-size: 15px;
	color: #30523B;
}

/* Bouton accordéon */
.scard__toggle {
	background: rgba(48, 82, 59, 0.6);
	color: #fff;
	border: 0;
	padding: 10px 20px;
	letter-spacing: 2px;
	font-weight: 400;
	cursor: pointer;
	font-family: 'Lato', sans-serif;
	margin-bottom: 10px;
	white-space: nowrap;
	transition: background 0.2s;
	font-size: 14px;
}

.scard__toggle:hover {
	background: #30523B;
}

.scard__toggle::after {
	content: '▼';
	margin-left: 8px;
	font-size: 10px;
	transition: transform 0.3s;
	display: inline-block;
}

.scard__toggle.open::after {
	transform: rotate(180deg);
}

/* Panneau accordéon */
.scard__more {
	overflow: hidden;
	max-height: 0;
	transition: max-height 0.4s ease;
	border-top: 2px solid transparent;
	text-align: center;
	width: 100%;
}

.scard__more.open {
	border-top-color: #30523B;
}

.scard__more-inner {
	padding-top: 16px;
}

.scard__more-inner p {
	font-size: 14px;
	margin: 0 0 10px;
	line-height: 1.6;
	color: #30523B;
}

/* CTA bas de page */
.services-cta-box {
	max-width: 1020px;
	margin: 0 auto 60px;
	padding: 32px 30px;
	background: #f7f9f7;
	border: 2px dashed #30523B;
	text-align: center;
}

.services-cta-box p {
	color: #30523B;
	margin-bottom: 20px;
	font-size: 16px;
}

.services-cta-box__link {
	display: inline-block;
	background: #30523B;
	color: #fff;
	padding: 14px 35px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 1.5px;
	text-decoration: none;
	transition: background 0.3s, transform 0.2s;
}

.services-cta-box__link:hover {
	background: rgba(48, 82, 59, 0.75);
	transform: translateY(-1px);
}

@media (max-width: 768px) {
	section#services.services-page {
		padding: 60px 20px;
	}
	.services-mini {
		padding: 20px;
	}
	.services-cta-box {
		padding: 25px 20px;
	}
}

/* =========================================
   SECTION 6 — FORMULAIRE DE DEVIS
   ========================================= */
.section-devis {
	background: #fff;
	padding: 5rem 3rem 6rem;
	display: flex;
	justify-content: center;
}

.devis-inner {
	width: 100%;
	max-width: 1200px;
}

.devis-header {
	text-align: center;
	margin-bottom: 3rem;
}

.section-devis__title {
	font-family: 'Breathing', cursive;
	/* Sans plancher, 4.3vw tombait à 17 px sur un écran de 390 px :
	   le titre devenait plus petit que le texte courant. */
	font-size: clamp(2rem, 4.3vw, 7rem);
	line-height: 1;
	font-weight: 300;
	color: #30523B;
	margin: 0 0 0.75rem;
}

.section-devis__subtitle {
	font-size: 1.1rem;
	color: #5a7060;
	margin: 0 0 0.75rem;
	line-height: 1.65;
}

.section-devis__badges {
	font-size: 1rem;
	font-weight: 700;
	color: #30523B;
	letter-spacing: 0.04em;
	margin: 0;
}

/* ---- Layout lignes 2 colonnes ---- */
.cf7-row,
.form-row {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-bottom: 20px;
}

.cf7-row > *,
.form-col {
	flex: 1 1 calc(50% - 10px);
}

.form-col.full-width {
	flex: 1 1 100%;
}

/* ---- Rangée du bas : fichier + RGPD + submit ---- */
.cf7-bottom,
.form-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
}

.cf7-field-group--submit input[type="submit"],
.cf7-field-group--submit .wpcf7-submit,
.btn-envoyer {
	white-space: nowrap;
	width: auto;
	padding: 13px 28px;
	margin-top: 0;
}

/* ---- Grille CF7 : 2 colonnes automatiques ---- */
.devis-form-wrap .wpcf7-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	align-items: start;
}

/* Pleine largeur : textarea, submit, messages, rangée du bas */
.devis-form-wrap .wpcf7-form > p:has(textarea),
.devis-form-wrap .wpcf7-form > p:has(input[type="submit"]),
.devis-form-wrap .wpcf7-form .form-col.full-width,
.devis-form-wrap .wpcf7-form .form-bottom-row,
.devis-form-wrap .wpcf7-form .wpcf7-response-output {
	grid-column: 1 / -1;
}

/* Rangée du bas : fichier | RGPD | submit */
.devis-form-wrap .form-bottom-row {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.devis-form-wrap .form-bottom-col {
	flex: 1;
}

.devis-form-wrap .form-bottom-rgpd {
	flex: 2;
	font-size: 0.85rem;
	color: #30523B;
	line-height: 1.5;
}

.devis-form-wrap .form-bottom-rgpd a {
	color: #30523B;
	font-weight: 700;
}

.devis-form-wrap .form-bottom-rgpd .wpcf7-list-item {
	margin: 0;
}

.devis-form-wrap .form-bottom-rgpd label {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	font-size: 0.85rem;
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
}

.devis-form-wrap .form-bottom-submit {
	flex: 0 0 auto;
}

.devis-form-wrap .form-bottom-submit input[type="submit"] {
	width: auto;
	white-space: nowrap;
	margin-top: 0;
}

@media (max-width: 768px) {
	.devis-form-wrap .form-bottom-row {
		flex-direction: column;
		align-items: stretch;
	}
	.devis-form-wrap .form-bottom-col,
	.devis-form-wrap .form-bottom-rgpd,
	.devis-form-wrap .form-bottom-submit {
		flex: 1 1 100%;
	}
	.devis-form-wrap .form-bottom-submit input[type="submit"] {
		width: 100%;
	}
}

.cf7-field-group {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.cf7-field-group label {
	font-size: 0.88rem;
	font-weight: 700;
	color: #30523B;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.cf7-optional {
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
	font-size: 0.82rem;
	color: #8a9690;
}

/* Wrap CF7 : passe de inline-block à block */
.devis-form-wrap .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}

.devis-form-wrap input[type="text"],
.devis-form-wrap input[type="email"],
.devis-form-wrap textarea,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
	display: block;
	width: 100%;
	padding: 13px 16px;
	border: 2px solid #30523B !important;
	border-radius: 0 !important;
	font-size: 1.05rem;
	font-family: 'Lato', sans-serif;
	color: #30523B;
	background: #fff;
	outline: none;
	transition: box-shadow 0.2s ease;
	-webkit-appearance: none;
	appearance: none;
}

.devis-form-wrap input[type="text"]:focus,
.devis-form-wrap input[type="email"]:focus,
.devis-form-wrap textarea:focus {
	box-shadow: 0 0 0 3px rgba(48, 82, 59, 0.12);
}

.devis-form-wrap textarea {
	min-height: 180px;
	resize: vertical;
}

/* RGPD */
.cf7-field-group--rgpd .wpcf7-acceptance .wpcf7-list-item {
	margin: 0;
}

.cf7-field-group--rgpd .wpcf7-acceptance label {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	font-size: 0.95rem;
	color: #30523B;
	line-height: 1.55;
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
}

.cf7-field-group--rgpd .wpcf7-acceptance input[type="checkbox"] {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	margin-top: 2px;
	accent-color: #30523B;
	cursor: pointer;
}

.cf7-field-group--rgpd a {
	color: #30523B;
	font-weight: 700;
}

/* Fichier */
.devis-form-wrap input[type="file"] {
	font-size: 0.95rem;
	color: #30523B;
	font-family: 'Lato', sans-serif;
}

/* Bouton submit */
.devis-form-wrap input[type="submit"],
.devis-form-wrap .wpcf7-submit,
.btn-envoyer {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 15px 28px;
	margin-top: 0;
	background: #30523B;
	color: #fff;
	font-family: 'Lato', sans-serif;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.10em;
	text-transform: uppercase;
	border: none;
	cursor: pointer;
	transition: background 0.25s ease, transform 0.2s ease;
	border-radius: 0;
	-webkit-appearance: none;
	white-space: nowrap;
}

.devis-form-wrap input[type="submit"]:hover,
.devis-form-wrap .wpcf7-submit:hover,
.btn-envoyer:hover {
	background: rgba(48, 82, 59, 0.72);
	transform: translateY(-2px);
}

/* Messages de validation CF7 */
.devis-form-wrap .wpcf7-not-valid-tip {
	font-size: 0.75rem;
	color: #b94444;
	margin-top: 0.25rem;
}

.devis-form-wrap .wpcf7-response-output {
	margin: 0.5rem 0 0;
	padding: 0.75rem 1rem;
	font-size: 0.88rem;
	border-left: 3px solid #30523B;
	background: rgba(48, 82, 59, 0.06);
	color: #30523B;
	border-radius: 0;
}

.devis-form-wrap .wpcf7-spinner {
	display: none;
}

@media (max-width: 768px) {
	.section-devis {
		padding: 4rem 1.5rem 5rem;
	}

	.cf7-row > *,
	.form-col,
	.form-col.full-width {
		flex: 1 1 100%;
	}

	.cf7-field-group--submit input[type="submit"],
	.cf7-field-group--submit .wpcf7-submit,
	.btn-envoyer {
		width: 100%;
	}
}

/* =========================================
   PAGES SIMPLES (Contact, mentions légales, cookies…)

   Les gabarits sur-mesure (accueil, services) portent leur propre
   habillage. Les pages ordinaires passent par le rendu WordPress
   standard et n'héritaient donc de rien : on leur donne la même
   charte, sans toucher aux blocs qui apportent déjà leurs styles
   (.legal-container des CGV, .devis-form-wrap du formulaire).
   ========================================= */
body:not(.has-legal-doc) .site-main .entry-content {
	max-width: 860px;
	margin-left: auto;
	margin-right: auto;
	padding: 0 1.25rem 3rem;
	font-family: 'Lato', sans-serif;
	color: #30523b;
	line-height: 1.8;
}

body:not(.has-legal-doc) .site-main .entry-title,
body:not(.has-legal-doc) .site-main .entry-content h1,
body:not(.has-legal-doc) .site-main .entry-content h2,
body:not(.has-legal-doc) .site-main .entry-content h3,
body:not(.has-legal-doc) .site-main .entry-content h4 {
	font-family: 'Playfair Display', serif;
	color: #30523b;
	font-weight: 400;
	letter-spacing: 0.04em;
	line-height: 1.3;
}

body:not(.has-legal-doc) .site-main .entry-title {
	text-align: center;
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	margin: 2.5rem auto 1.5rem;
}

body:not(.has-legal-doc) .site-main .entry-content h2 {
	font-size: 1.5rem;
	margin: 2.5rem 0 0.9rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid rgba(48, 82, 59, 0.25);
}

body:not(.has-legal-doc) .site-main .entry-content h3 {
	font-size: 1.2rem;
	margin: 1.8rem 0 0.6rem;
}

body:not(.has-legal-doc) .site-main .entry-content p,
body:not(.has-legal-doc) .site-main .entry-content li {
	font-size: 1rem;
}

body:not(.has-legal-doc) .site-main .entry-content ul,
body:not(.has-legal-doc) .site-main .entry-content ol {
	padding-left: 1.4rem;
	margin: 0 0 1.2rem;
}

body:not(.has-legal-doc) .site-main .entry-content li {
	margin-bottom: 0.5rem;
}

body:not(.has-legal-doc) .site-main .entry-content a {
	color: #30523b;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

body:not(.has-legal-doc) .site-main .entry-content a:hover {
	opacity: 0.7;
}

body:not(.has-legal-doc) .site-main .entry-content code {
	background: #f2f5f2;
	border: 1px solid rgba(48, 82, 59, 0.15);
	padding: 0.1em 0.4em;
	font-size: 0.9em;
	word-break: break-word;
}

/* --- Tableaux (inventaire des cookies) --- */
body:not(.has-legal-doc) .site-main .entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.2rem 0 2rem;
	font-size: 0.95rem;
	display: block;
	overflow-x: auto;
}

body:not(.has-legal-doc) .site-main .entry-content thead th {
	background: #f2f5f2;
	font-family: 'Lato', sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.78rem;
}

body:not(.has-legal-doc) .site-main .entry-content th,
body:not(.has-legal-doc) .site-main .entry-content td {
	border: 1px solid rgba(48, 82, 59, 0.2);
	padding: 0.7rem 0.9rem;
	text-align: left;
	vertical-align: top;
}

@media (min-width: 700px) {
	.site-main .entry-content table {
		display: table;
	}
}

/* Le formulaire de devis apporte déjà sa grille : on ne la contraint pas. */
body:not(.has-legal-doc) .site-main .entry-content .devis-form-wrap {
	max-width: none;
}

/* Le document juridique porte son propre titre : celui de WordPress ferait doublon. */
.has-legal-doc .entry-title,
.has-legal-doc .ast-single-post-title {
	display: none;
}

/* =========================================
   ÉTATS D'INTERACTION — survol, focus, sélection

   Astra applique par défaut un bleu roi aux liens (`royalblue`), un bleu
   `#0274be` à la sélection de texte et un bleu `#046bd2` au contour des
   champs de formulaire. Rien de tout cela n'appartient à la charte : on
   ramène ces états sur le vert du site.
   ========================================= */

a {
	color: #30523B;
}

a:hover,
a:focus {
	color: #406D4E;
}

::selection {
	background: #30523B;
	color: #fff;
}

::-moz-selection {
	background: #30523B;
	color: #fff;
}

/* Champs de formulaire : le focus était cerné de bleu.
   On garde un indicateur bien visible, indispensable au clavier. */
input:focus,
textarea:focus,
select:focus,
.wpcf7 input.wpcf7-form-control:not([type="submit"]):focus,
.wpcf7 textarea.wpcf7-form-control:focus,
.wpcf7 select.wpcf7-form-control:focus {
	border-color: #30523B;
	outline: 2px solid rgba(48, 82, 59, 0.3);
	outline-offset: 1px;
	box-shadow: none;
}

/* Repère de navigation au clavier, dans la palette. */
a:focus-visible,
button:focus-visible,
.tile:focus-visible,
.preset:focus-visible {
	outline: 2px solid #30523B;
	outline-offset: 3px;
}

/* Sur mobile, le navigateur pose un voile bleu au toucher. */
a,
button,
input,
textarea,
select,
.tile,
.preset,
.scard__toggle,
.nav-burger,
.carousel__btn,
.carousel__dot {
	-webkit-tap-highlight-color: rgba(48, 82, 59, 0.15);
}

/* =========================================
   MOBILE — reprise d'ensemble

   Plusieurs règles du bureau n'avaient pas d'équivalent mobile :
   les trois colonnes de « Qui suis-je » restaient côte à côte, le
   formulaire gardait sa grille à deux colonnes, le titre du bandeau
   débordait de l'écran, et l'empilement des marges (1,5 rem de section
   + 2 rem de carte) ne laissait que 239 px utiles sur 375.
   ========================================= */
@media (max-width: 768px) {

	/* --- Lisibilité : Astra descend le corps de texte à ~14,6 px --- */
	.emendatus-page,
	.emendatus-page p,
	.emendatus-page li,
	.site-main .entry-content,
	.site-main .entry-content p,
	.site-main .entry-content li {
		font-size: 1rem;
	}

	/* --- Marges latérales resserrées --- */
	.section-intro,
	.section-services,
	.section-about,
	.section-devis {
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}

	.service-card { padding: 1.75rem 1.25rem; }

	.section-intro__title,
	.section-intro__tagline,
	.section-intro__why-text {
		max-width: 100%;
	}

	/* --- Bandeau : le titre débordait (457 px pour 375 d'écran) --- */
	.hero__title {
		font-size: clamp(2.75rem, 14vw, 4.5rem);
		max-width: 100%;
	}

	/* --- Qui suis-je : les 3 colonnes restaient en ligne --- */
	.section-about__grid {
		flex-direction: column;
		align-items: center;
		gap: 2.5rem;
	}

	.about-card,
	.about-bio,
	.about-right {
		max-width: 100%;
		width: 100%;
	}

	.about-bio { text-align: left; }

	/* --- Formulaire de devis : une seule colonne --- */
	.devis-form-wrap .wpcf7-form {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	/* --- Page Services et tarifs --- */
	.services-page { padding-left: 1.25rem; padding-right: 1.25rem; }
	.services-cards { grid-template-columns: 1fr; }
	.services-mini { padding: 1.25rem; }

	/* --- Documents juridiques --- */
	.legal-container { padding: 2.5rem 1.25rem; }
}

@media (max-width: 480px) {

	.hero__title { font-size: clamp(2.5rem, 15vw, 3.75rem); }

	.section-intro,
	.section-services,
	.section-about,
	.section-devis,
	.services-page {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.simu { padding: 30px 16px; }
	.service-card { padding: 1.5rem 1rem; }
}

/* =========================================
   BOUTON « REMONTER »

   Astra le sert en bleu #046bd2 avec sa propre flèche.
   ========================================= */
#ast-scroll-top {
	background-color: #30523B;
	color: #fff;
	border-radius: 50%;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

#ast-scroll-top:hover,
#ast-scroll-top:focus {
	background-color: #406D4E;
	color: #fff;
	transform: translateY(-2px);
}

/* =========================================
   TAILLE DE RÉFÉRENCE SUR PETIT ÉCRAN

   Astra applique `html { font-size: 91.2% }` sous 921 px puis sous 544 px.
   Toute la mise à l'échelle en rem — textes comme marges — s'en trouve
   réduite de près de 9 %, d'où un rendu tassé et difficile à lire sur
   téléphone. On revient à la taille de référence du navigateur.

   Le sélecteur `html:root` porte une spécificité supérieure au simple
   `html` d'Astra, dont les styles sont écrits en ligne après cette feuille.
   ========================================= */
@media (max-width: 921px) {
	html:root {
		font-size: 100%;
	}
}

/* =========================================
   BOUTONS — neutralisation du bleu d'Astra

   Astra applique `button:focus, button:hover { background-color:
   var(--ast-global-color-1) }`, un bleu. Sa spécificité (0,1,1) l'emporte
   sur `.nav-burger` (0,1,0) : après un appui, le bouton du menu restait
   un carré bleu. On monte la spécificité pour reprendre la main.
   ========================================= */
.nav-burger,
.nav-burger:hover,
.nav-burger:focus,
.nav-burger:active,
.nav-burger:focus-visible {
	background: none;
	background-color: transparent;
	box-shadow: none;
	border: 0;
}

.nav-burger:focus-visible {
	outline: 2px solid #30523B;
	outline-offset: 2px;
}

/* Bouton d'envoi du formulaire : même bleu au survol et au focus. */
.wpcf7-form input[type="submit"],
.wpcf7-form input[type="submit"]:hover,
.wpcf7-form input[type="submit"]:focus,
.wpcf7-form input[type="submit"]:active {
	background-color: #30523B;
	color: #fff;
	border-color: #30523B;
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-form input[type="submit"]:focus {
	background-color: #406D4E;
}

/* =========================================
   PIED DE PAGE — alignement du menu

   Le séparateur « | » est un ::before posé sur le <li>, mais le lien est
   en `display: block` : les deux s'empilaient au lieu de se suivre, ce qui
   décalait chaque entrée d'une ligne par rapport à la première.
   ========================================= */
.footer-nav li {
	display: flex;
	align-items: center;
}

.footer-nav li + li::before {
	margin-right: 0.15rem;
	line-height: 1;
}

.footer-nav li a {
	color: #30523B;
	line-height: 1.4;
}

@media (max-width: 768px) {
	.footer-nav {
		gap: 0.15rem 0;
	}
	.footer-nav li a {
		padding: 0.3rem 0.6rem;
	}
}

/* =========================================
   ANCRES INTERNES

   Le bouton du bandeau et le lien « Devis » font défiler la page plutôt
   que de la recharger. Deux réglages sont nécessaires :
   le défilement doux, et une marge pour que le haut de la section visée
   ne se retrouve pas masqué sous l'en-tête fixe.
   ========================================= */
html {
	scroll-behavior: smooth;
}

/* On respecte le réglage système de ceux qui limitent les animations. */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

#presentation,
#section-devis,
#services {
	scroll-margin-top: 115px;   /* hauteur de l'en-tête bureau + marge */
}

@media (max-width: 768px) {
	#presentation,
	#section-devis,
	#services {
		scroll-margin-top: 80px; /* en-tête à 68 px sur mobile */
	}
}

/* =========================================
   COUVERTURES CLIQUABLES

   Une couverture peut porter un lien (page d'achat, site de l'auteur·ice).
   On signale l'interactivité sans alourdir le carrousel.
   ========================================= */
.carousel__lien {
	display: block;
	position: relative;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.carousel__lien:hover,
.carousel__lien:focus-visible {
	transform: translateY(-4px);
	box-shadow: 0 10px 22px rgba(48, 82, 59, 0.28);
}

.carousel__lien:focus-visible {
	outline: 2px solid #30523B;
	outline-offset: 3px;
}

/* Petit repère « lien externe » au survol, discret. */
.carousel__lien::after {
	content: "↗";
	position: absolute;
	top: 8px;
	right: 8px;
	width: 26px;
	height: 26px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(48, 82, 59, 0.85);
	color: #fff;
	font-size: 14px;
	line-height: 1;
	border-radius: 50%;
	opacity: 0;
	transition: opacity 0.25s ease;
}

.carousel__lien:hover::after,
.carousel__lien:focus-visible::after {
	opacity: 1;
}

/* Sur écran tactile il n'y a pas de survol : le repère reste visible. */
@media (hover: none) {
	.carousel__lien::after { opacity: 0.9; }
}

/* =========================================
   CURSEUR DU SIMULATEUR

   Astra pose deux règles sur `input[type="range"]::-webkit-slider-thumb`,
   dont un bleu #0274be, et laisse `accent-color: auto` — ce qui suffit à
   colorer le pouce en bleu selon le navigateur. On verrouille les trois
   moteurs et la couleur d'accentuation.
   ========================================= */
.controls input[type="range"],
.simu input[type="range"] {
	accent-color: #30523B;
}

.controls input[type="range"]::-webkit-slider-thumb,
.simu .controls input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 20px;
	height: 20px;
	background: #30523B;
	background-color: #30523B;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
}

.controls input[type="range"]::-moz-range-thumb,
.simu .controls input[type="range"]::-moz-range-thumb {
	width: 20px;
	height: 20px;
	background: #30523B;
	background-color: #30523B;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
}

.controls input[type="range"]::-ms-thumb {
	background: #30523B;
	border: 0;
	border-radius: 50%;
}

/* Le champ de saisie du nombre de mots : flèches et sélection en vert. */
.controls input[type="number"] {
	accent-color: #30523B;
}

/* =========================================
   PAUSE DES CARROUSELS

   Le survol suspendait déjà le défilement, mais il n'existe ni au doigt
   ni au clavier. Le bouton rend la commande accessible à tous.
   ========================================= */
.carousel {
	position: relative;
}

.carousel__pause {
	position: absolute;
	bottom: 8px;
	right: 8px;
	z-index: 3;
	width: 30px;
	height: 30px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(48, 82, 59, 0.85);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	opacity: 0.55;
	transition: opacity 0.2s ease, background-color 0.2s ease;
}

.carousel__pause:hover,
.carousel__pause:focus-visible {
	opacity: 1;
	background: #30523B;
}

.carousel__pause:focus-visible {
	outline: 2px solid #30523B;
	outline-offset: 2px;
}

/* Deux barres = pause */
.carousel__pause-icone {
	display: block;
	width: 10px;
	height: 12px;
	border-left: 3px solid #fff;
	border-right: 3px solid #fff;
}

/* En pause, l'icône devient un triangle « lecture » */
.carousel--en-pause .carousel__pause-icone {
	width: 0;
	height: 0;
	border-left: 10px solid #fff;
	border-right: 0;
	border-top: 7px solid transparent;
	border-bottom: 7px solid transparent;
	margin-left: 3px;
}

/* Lien facultatif sous un témoignage, vers l'avis d'origine. */
.review__lien {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	margin-top: 0.75rem;
	font-family: 'Lato', sans-serif;
	font-size: 0.85rem;
	font-weight: 700;
	color: #406D4E;
	text-decoration: none;
	border-bottom: 1px solid rgba(64, 109, 78, 0.4);
	padding-bottom: 1px;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.review__lien:hover,
.review__lien:focus-visible {
	color: #30523B;
	border-bottom-color: #30523B;
}

/* =========================================
   CONFIRMATION D'ENVOI

   Le formulaire cède la place à une pousse qui se déploie. L'animation
   dure environ deux secondes et demie, en mouvements enchaînés plutôt
   qu'en apparitions sèches.
   ========================================= */
.devis-merci {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-height: 340px;
	padding: 2.5rem 1.25rem;
	margin: 0 auto;
	max-width: 520px;
}

.devis-merci[hidden] { display: none; }

.devis-merci__pousse {
	width: 150px;
	height: 150px;
	margin-bottom: 1.5rem;
	overflow: visible;
}

/* --- Halo --- */
.pousse-halo {
	fill: rgba(110, 140, 90, 0.13);
	transform-box: fill-box;
	transform-origin: 50% 50%;
	transform: scale(0.4);
	opacity: 0;
	animation: halo-ouverture 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

/* --- Sol --- */
.pousse-sol {
	fill: none;
	stroke: rgba(48, 82, 59, 0.35);
	stroke-width: 2;
	stroke-linecap: round;
	stroke-dasharray: 68;
	stroke-dashoffset: 68;
	animation: trace 0.5s ease-out 0.25s forwards;
}

/* --- Tige --- */
.pousse-tige {
	fill: none;
	stroke: #30523B;
	stroke-width: 3;
	stroke-linecap: round;
	stroke-dasharray: 62;
	stroke-dashoffset: 62;
	animation: trace 0.8s cubic-bezier(0.33, 0.9, 0.4, 1) 0.45s forwards;
}

/* --- Feuilles --- */
.pousse-feuille {
	opacity: 0;
	transform-box: fill-box;
}

.feuille-limbe { fill: #7EA063; }

.feuille-nervure {
	fill: none;
	stroke: rgba(255, 255, 255, 0.55);
	stroke-width: 1.4;
	stroke-linecap: round;
}

.pousse-feuille--g {
	transform-origin: 100% 100%;
	animation: feuille-gauche 0.9s cubic-bezier(0.22, 1, 0.36, 1) 1s forwards;
}

.pousse-feuille--d {
	transform-origin: 0% 100%;
	animation: feuille-droite 0.9s cubic-bezier(0.22, 1, 0.36, 1) 1.25s forwards;
}

/* --- Bourgeon --- */
.pousse-bourgeon {
	fill: #30523B;
	opacity: 0;
	transform-box: fill-box;
	transform-origin: 50% 100%;
	animation: bourgeon 0.8s cubic-bezier(0.22, 1.15, 0.36, 1) 1.55s forwards;
}

/* --- Textes --- */
.emendatus-page .devis-merci__titre {
	font-family: 'Breathing', cursive;
	font-size: clamp(2.25rem, 4.3vw, 3.75rem);
	line-height: 1.05;
	font-weight: normal;
	color: #30523B;
	margin: 0 0 0.9rem;
	opacity: 0;
	animation: texte-monte 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1.5s forwards;
}

.emendatus-page .devis-merci__texte {
	font-family: 'Lato', sans-serif;
	font-size: 1rem;
	line-height: 1.85;
	color: #30523B;
	opacity: 0;
	max-width: 26rem;
	margin: 0 auto;
	animation: texte-monte 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1.75s forwards;
}

/* --- Mouvements --- */
@keyframes trace {
	to { stroke-dashoffset: 0; }
}

@keyframes halo-ouverture {
	from { opacity: 0; transform: scale(0.4); }
	to   { opacity: 1; transform: scale(1); }
}

@keyframes feuille-gauche {
	from { opacity: 0; transform: scale(0.25) rotate(28deg); }
	60%  { opacity: 1; }
	to   { opacity: 1; transform: scale(1) rotate(0deg); }
}

@keyframes feuille-droite {
	from { opacity: 0; transform: scale(0.25) rotate(-28deg); }
	60%  { opacity: 1; }
	to   { opacity: 1; transform: scale(1) rotate(0deg); }
}

@keyframes bourgeon {
	from { opacity: 0; transform: scale(0.2) translateY(6px); }
	to   { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes texte-monte {
	from { opacity: 0; transform: translateY(14px); }
	to   { opacity: 1; transform: none; }
}

/* Réglage système « limiter les animations » : on montre l'état final. */
@media (prefers-reduced-motion: reduce) {
	.pousse-halo,
	.pousse-sol,
	.pousse-tige,
	.pousse-feuille,
	.pousse-bourgeon,
	.emendatus-page .devis-merci__titre,
	.emendatus-page .devis-merci__texte {
		animation: none;
		opacity: 1;
		transform: none;
		stroke-dashoffset: 0;
	}
}

/* =========================================
   ENCADRÉ DE RÉPONSE DU FORMULAIRE

   Contact Form 7 l'affiche bordé de cyan #00a0d2, et le pré-remplissage
   depuis le simulateur le faisait apparaître **vide** sous le formulaire.
   On l'aligne sur la palette et on masque le cas vide.
   ========================================= */
.wpcf7 form .wpcf7-response-output,
.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form.sent .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
	border: 2px solid #30523B;
	background: #f7f9f7;
	color: #30523B;
	border-radius: 0;
	padding: 0.9rem 1.1rem;
	margin: 1rem 0 0;
	font-family: 'Lato', sans-serif;
	font-size: 0.95rem;
	line-height: 1.6;
}

/* Un encadré sans message n'a pas à occuper l'écran. */
.wpcf7 form .wpcf7-response-output:empty {
	display: none;
}

.wpcf7-not-valid-tip {
	color: #b32d2e;
	font-size: 0.85rem;
	font-family: 'Lato', sans-serif;
}

/* =========================================
   TITRES SUR PLUSIEURS LIGNES

   Les grands titres sont en `line-height: 1`, ce qui reproduit le rendu
   du site en ligne où ils tiennent sur une seule ligne. Sur petit écran
   ils passent à deux ou trois lignes, et les hampes de la police
   « Breathing » se chevauchent d'une ligne à l'autre.

   Le bandeau est laissé tel quel : l'imbrication de « Lectrice » et
   « Correctrice » fait partie du dessin.
   ========================================= */
/* (interligne désormais traité à toutes les largeurs, voir plus bas) */

/* =========================================
   STABILITÉ DU DÉFILEMENT

   Deux sources de saccades corrigées ici.
   ========================================= */

/* 1. Le bandeau était en `height: 100vh`. Sur mobile, `vh` se mesure
   barre d'adresse masquée : quand celle-ci se rétracte au défilement,
   la hauteur du bandeau change et le fond se redimensionne en pleine
   animation. `svh` reste constant, `vh` sert de repli aux navigateurs
   qui ne le connaissent pas. */
.hero {
	height: 100vh;
	height: 100svh;
	min-height: 600px;
}

/* 2. Le carrousel de couvertures ne mesurait que 20 px tant que ses
   images — différées et sans dimensions — n'étaient pas chargées, puis
   sautait à 360 px. On réserve la place d'emblée. */
.carousel--books .carousel__track {
	align-items: center;
}

.carousel--books .carousel__slide {
	height: 360px;
}

.carousel--books .carousel__slide img {
	height: 100%;
	width: auto;
	max-height: 360px;
	max-width: 100%;
	object-fit: contain;
}

@media (max-width: 768px) {
	.hero {
		height: 100svh;
		min-height: 100svh;
	}

	.carousel--books .carousel__slide {
		height: 300px;
	}

	.carousel--books .carousel__slide img {
		max-height: 300px;
	}
}

/* =========================================
   INTERLIGNE DES TITRES DÉCORATIFS

   La police « Breathing » a de longues hampes qui débordent nettement de
   la boîte de ligne. En `line-height: 1` — valeur reprise du site en ligne,
   où ces titres tiennent sur une seule ligne — les lignes se touchent dès
   que le texte passe à la ligne, ce qui arrive en dessous de 1200 px.

   Mesure faite au pixel : le tracé de « Correction professionnelle et
   bêta-lecture » occupe 1,57 fois la taille de police. Un interligne de
   1,25 laissait donc encore 0,32 em de chevauchement. On retient 1,65,
   soit un peu moins d'un dixième d'espace entre les tracés.

   Conséquence assumée : sur très grand écran, où le titre tient sur une
   ligne, le bloc gagne quelques pixels de hauteur par rapport au site en
   ligne. Un titre lisible prime sur cette différence-là.
   ========================================= */
.section-intro__title,
.section-intro__why-title,
.section-services__title,
.section-about__title,
.section-devis__title,
.services-page__title,
.emendatus-page .devis-merci__titre {
	line-height: 1.65;
}

.about-card__name {
	line-height: 1.5;
}

/* =========================================
   BOUTONS DU SITE — fin du bleu d'Astra

   `button:focus, button:hover { background-color: var(--ast-global-color-1) }`
   s'applique à tout élément <button>. Après un clic, les tuiles du
   simulateur, ses raccourcis, les flèches de carrousel et les boutons
   dépliants restaient bleus. On reprend la main sur chacun.
   ========================================= */
.simu .tile,
.simu .tile:hover,
.simu .tile:focus,
.simu .tile:active,
.simu .tile:focus-visible {
	background: #fff;
	background-color: #fff;
	box-shadow: none;
}

.simu .tile:hover:not(.disabled),
.simu .tile:focus-visible:not(.disabled) {
	background: #f7f9f7;
	background-color: #f7f9f7;
	box-shadow: 0 6px 16px rgba(48, 82, 59, 0.15);
}

.simu .tile.disabled,
.simu .tile.disabled:hover,
.simu .tile.disabled:focus {
	background: #fafafa;
	background-color: #fafafa;
}

.presets .preset,
.presets .preset:hover,
.presets .preset:focus,
.presets .preset:active,
.presets .preset:focus-visible {
	background: rgba(48, 82, 59, 0.6);
	background-color: rgba(48, 82, 59, 0.6);
	color: #fff;
}

.presets .preset:hover,
.presets .preset:focus-visible {
	background: #30523B;
	background-color: #30523B;
}

.simu .cta,
.simu .cta:hover,
.simu .cta:focus,
.simu .cta:active,
.simu .cta:focus-visible {
	background: #30523B;
	background-color: #30523B;
	color: #fff;
}

.simu .cta:hover,
.simu .cta:focus-visible {
	background: rgba(48, 82, 59, 0.75);
	background-color: rgba(48, 82, 59, 0.75);
}

/* Ce bouton a du texte blanc : le priver de fond le rendait invisible.
   On retablit le vert du theme tout en neutralisant le bleu d'Astra. */
.scard__toggle,
.scard__toggle:focus,
.scard__toggle:active {
	background: rgba(48, 82, 59, 0.6);
	background-color: rgba(48, 82, 59, 0.6);
	color: #fff;
	box-shadow: none;
}

.scard__toggle:hover,
.scard__toggle:focus-visible {
	background: #30523B;
	background-color: #30523B;
	color: #fff;
}

/* Repère clavier conservé, dans la palette. */
.simu .tile:focus-visible,
.presets .preset:focus-visible,
.simu .cta:focus-visible,
.scard__toggle:focus-visible,
.carousel__btn:focus-visible,
.carousel__dot:focus-visible {
	outline: 2px solid #30523B;
	outline-offset: 2px;
}

/* =========================================
   CARTES DE SERVICE CLIQUABLES

   Chaque carte mène au formulaire de devis, prestation pré-remplie.
   Le lien est étalé sur toute la carte par un ::after, ce qui rend
   la surface entière cliquable tout en gardant un vrai lien — donc
   accessible au clavier et annoncé correctement.

   Le bouton « En savoir plus » et son panneau repassent au-dessus :
   sans cela ils deviendraient inutilisables.
   ========================================= */
.scard {
	position: relative;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.scard:hover,
.scard:focus-within {
	transform: translateY(-3px);
	box-shadow: 0 10px 24px rgba(48, 82, 59, 0.16);
}

.scard__devis {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin-top: 0.9rem;
	font-family: 'Lato', sans-serif;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: #406D4E;
	text-decoration: none;
	transition: color 0.2s ease, gap 0.2s ease;
}

.scard__devis::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.scard:hover .scard__devis,
.scard__devis:focus-visible {
	color: #30523B;
	gap: 0.6rem;
}

.scard__devis:focus-visible {
	outline: 2px solid #30523B;
	outline-offset: 3px;
}

/* Le dépliant reste prioritaire sur le lien étalé. */
.scard__toggle,
.scard__more {
	position: relative;
	z-index: 2;
}

/* Signale brièvement le champ pré-rempli à l'arrivée sur le formulaire. */
@keyframes champ-signale {
	0%, 100% { box-shadow: 0 0 0 0 rgba(48, 82, 59, 0); }
	30%      { box-shadow: 0 0 0 4px rgba(48, 82, 59, 0.25); }
}

.champ-prerempli {
	animation: champ-signale 1.3s ease-in-out 2;
}

@media (prefers-reduced-motion: reduce) {
	.champ-prerempli { animation: none; }
}

/* =========================================
   PAGE INTROUVABLE (404)

   Astra enveloppe le contenu dans plusieurs conteneurs à marges. Comme
   pour l'accueil, on les neutralise pour que la section occupe toute la
   largeur, et toute la hauteur de l'écran sous l'en-tête.
   ========================================= */
.error404 .site-content,
.error404 .ast-container,
.error404 #primary,
.error404 .content-area,
.error404 .site-main,
.error404 .ast-article-single,
.error404 .entry-content,
.error404 #main {
	padding: 0 !important;
	margin: 0 !important;
	max-width: none !important;
	width: 100% !important;
}

.error404 .ast-single-post-title,
.error404 .entry-title,
.error404 .ast-archive-description {
	display: none;
}

.page-404 {
	position: relative;
	width: 100%;
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 6rem 1.25rem 4rem;
	text-align: center;
	background-image: url('../images/fond.png');
	background-image: image-set(
		url('../images/fond.webp') type('image/webp'),
		url('../images/fond.png') type('image/png')
	);
	background-size: cover;
	background-position: center center;
	overflow: hidden;
}

/* Voile clair : le fond est pâle, on l'éclaircit encore pour le texte. */
.page-404__voile {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom,
		rgba(255, 255, 255, 0.55),
		rgba(255, 255, 255, 0.78) 45%,
		rgba(255, 255, 255, 0.6)
	);
}

.page-404__contenu {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 34rem;
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* Le nombre, en filigrane derrière le titre. */
.page-404__code {
	font-family: 'Breathing', cursive;
	font-size: clamp(7rem, 26vw, 15rem);
	line-height: 0.8;
	color: #30523B;
	opacity: 0.16;
	margin: 0;
	pointer-events: none;
	user-select: none;
}

.page-404__titre {
	font-family: 'Breathing', cursive;
	font-size: clamp(2rem, 7vw, 3.5rem);
	line-height: 1.4;
	font-weight: normal;
	color: #30523B;
	margin: -0.35em 0 0.9rem;
}

.page-404__texte {
	font-family: 'Lato', sans-serif;
	font-size: 1rem;
	line-height: 1.85;
	color: #30523B;
	margin: 0 0 2.25rem;
	max-width: 26rem;
}

.page-404__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1rem 1.5rem;
	margin-bottom: 2.25rem;
}

.page-404__bouton {
	display: inline-block;
	background: #30523B;
	color: #fff;
	padding: 15px 34px;
	font-family: 'Lato', sans-serif;
	font-size: 0.95rem;
	letter-spacing: 2px;
	text-decoration: none;
	box-shadow: 0 4px 14px rgba(48, 82, 59, 0.22);
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.page-404__bouton:hover,
.page-404__bouton:focus-visible {
	background: #406D4E;
	color: #fff;
	transform: translateY(-2px);
}

.page-404__lien {
	font-family: 'Lato', sans-serif;
	font-size: 0.92rem;
	color: #406D4E;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.page-404__lien:hover,
.page-404__lien:focus-visible {
	color: #30523B;
}

.page-404__compte {
	font-family: 'Lato', sans-serif;
	font-size: 0.85rem;
	line-height: 1.7;
	color: #30523B;
	opacity: 0.75;
	margin: 0;
}

.page-404__chiffre { font-weight: 700; }

.page-404__annuler,
.page-404__annuler:hover,
.page-404__annuler:focus,
.page-404__annuler:active {
	background: none;
	background-color: transparent;
	border: 0;
	padding: 0 0 1px;
	margin-left: 0.4rem;
	font-family: 'Lato', sans-serif;
	font-size: 0.85rem;
	color: #406D4E;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
	box-shadow: none;
}

.page-404__annuler:focus-visible {
	outline: 2px solid #30523B;
	outline-offset: 2px;
}

@media (max-width: 600px) {
	.page-404 {
		padding: 5rem 1rem 3rem;
	}

	.page-404__actions {
		flex-direction: column;
		gap: 1rem;
		width: 100%;
	}

	.page-404__bouton {
		width: 100%;
		max-width: 20rem;
	}
}

/* Consigne sous un champ de formulaire (formats acceptés, poids maximal). */
.devis-form-wrap .champ-aide {
	display: block;
	margin-top: 0.35rem;
	font-family: 'Lato', sans-serif;
	font-size: 0.78rem;
	line-height: 1.5;
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
	color: #30523B;
	opacity: 0.75;
}







/* Header toujours visible sur les pages specifiques */
.site-header--always-visible {
	transform: translateY(0) !important;
}

/* Marge pour compenser l'en-tete fixe sur la page Services */
.page-services {
	padding-top: 100px;
}
@media (max-width: 900px) {
	.page-services {
		padding-top: 80px;
	}
}


/* Lien Instagram sous la carte profil, sous forme de badge */
.about-card__insta-icon {
	width: 65px;
	height: 65px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #30523B;
	color: #fff;
	border-radius: 50%;
	transition: background 0.25s ease, transform 0.2s ease;
}

.about-card__badge--link.about-card__insta:hover .about-card__insta-icon,
.about-card__badge--link.about-card__insta:focus-visible .about-card__insta-icon {
	background: #406D4E;
	transform: scale(1.05);
}
