/*
Theme Name: AFPY SARL
Theme URI: https://afpysarl.com
Author: AFPY SARL
Description: Thème sur mesure pour AFPY SARL — Travaux publics, bâtiment, maîtrise d'œuvre, matériel BTP, import-export, location et formation. Yaoundé, Cameroun. Galerie de réalisations, vidéos, devis WhatsApp, FAQ et carte.
Version: 2.0.0
Requires at least: 6.0
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: afpy
*/

:root {
	--green: #3ba936;
	--green-600: #2f8f2b;
	--green-700: #24701f;
	--green-50: #eef7ed;
	--grey: #575755;
	--ink: #0f1712;
	--ink-2: #17221b;
	--ink-3: #22302a;
	--text: #1c241f;
	--muted: #5e6862;
	--line: #e1e6e2;
	--tint: #f4f7f3;
	--white: #fff;
	--wa: #25d366;
	--radius: 14px;
	--radius-sm: 8px;
	--shadow: 0 18px 50px -20px rgba(15, 23, 18, .28);
	--head: "Barlow Condensed", "Arial Narrow", sans-serif;
	--body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--container: 1240px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.02; margin: 0 0 .5em; letter-spacing: .003em; }
h1 { font-size: clamp(2.8rem, 6.2vw, 5.4rem); font-style: italic; font-weight: 800; text-transform: uppercase; }
h2 { font-size: clamp(2.2rem, 4.2vw, 3.5rem); font-style: italic; font-weight: 800; text-transform: uppercase; }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; }
strong { font-weight: 600; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.icon { width: 1.2em; height: 1.2em; flex: none; }
.screen-reader-text, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--green); color: #fff; padding: 10px 16px; z-index: 200; }
.skip-link:focus { left: 10px; top: 10px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: 15px 26px; font-family: var(--body); font-size: .95rem; font-weight: 600; letter-spacing: .01em; text-decoration: none; border: 2px solid transparent; border-radius: 999px; cursor: pointer; transition: background .25s, color .25s, transform .25s var(--ease), box-shadow .25s, border-color .25s; line-height: 1.1; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn .icon { width: 1.15em; height: 1.15em; transition: transform .25s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 10px 24px -10px rgba(59, 169, 54, .8); }
.btn--primary:hover { background: var(--green-600); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); }
.btn--white { background: #fff; color: var(--ink); }
.btn--ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn--whatsapp { background: var(--wa); color: #05371b; }
.btn--whatsapp:hover { background: #1fbf5b; }
.btn--sm { padding: 11px 20px; font-size: .88rem; }
.btn--block { width: 100%; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #b9e5b6; margin-bottom: 1.1rem; }
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(59, 169, 54, .25); }
.section .eyebrow--green { color: var(--green-600); }

/* ---------- Barre haute ---------- */
.topbar { background: var(--ink); color: #a9b5ad; font-size: .82rem; }
.topbar__inner { display: flex; gap: 26px; align-items: center; padding-top: 9px; padding-bottom: 9px; }
.topbar__item, .topbar a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar__right { margin-left: auto; display: flex; gap: 24px; }
.topbar .icon { color: var(--green); width: 1.05em; height: 1.05em; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 80; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px -12px rgba(15, 23, 18, .18); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; transition: min-height .3s; }
.site-header.is-scrolled .site-header__inner { min-height: 70px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand__logo { height: 64px; width: auto; transition: height .3s; }
.site-header.is-scrolled .brand__logo { height: 48px; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav ul a { position: relative; display: block; padding: 10px 14px; font-size: .93rem; font-weight: 600; color: var(--text); text-decoration: none; border-radius: 999px; transition: color .2s, background .2s; }
.main-nav ul a:hover, .main-nav ul a.is-current { color: var(--green-700); background: var(--green-50); }
.main-nav .sub-menu { display: none; }
.nav-toggle { display: none; background: var(--tint); border: 0; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; color: var(--ink); place-items: center; }
.nav-toggle .icon { width: 24px; height: 24px; }

/* ---------- Bannière ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--ink); min-height: min(88vh, 820px); display: flex; align-items: center; }
.hero__slides, .hero__slide, .hero__shade { position: absolute; inset: 0; }
.hero__slide { background-size: cover; background-position: center; opacity: 0; transform: scale(1.08); transition: opacity 1.4s ease, transform 7s linear; }
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__shade { background: linear-gradient(100deg, rgba(10, 18, 13, .95) 0%, rgba(10, 18, 13, .78) 45%, rgba(10, 18, 13, .35) 100%), linear-gradient(0deg, rgba(10, 18, 13, .6), transparent 40%); }
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.4fr .9fr; gap: 64px; align-items: center; padding-top: 90px; padding-bottom: 130px; }
.hero__inner > * { min-width: 0; }
.hero h1 { margin-bottom: .3em; text-wrap: balance; }
.hero__lead { font-size: 1.14rem; color: #cfd8d2; max-width: 34em; margin-bottom: 2.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__dots { position: absolute; z-index: 3; left: 50%; bottom: 96px; transform: translateX(-50%); display: flex; gap: 8px; }
.hero__dots button { width: 28px; height: 4px; padding: 0; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .35); cursor: pointer; transition: background .3s, width .3s; }
.hero__dots button.is-active { background: var(--green); width: 44px; }

.quick { background: rgba(255, 255, 255, .97); color: var(--text); border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6); }
.quick__title { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font-family: var(--head); font-size: 1.55rem; font-weight: 700; line-height: 1.1; }
.quick__title .icon { color: var(--wa); width: 30px; height: 30px; }
.quick label { display: grid; gap: 5px; font-size: .8rem; font-weight: 600; color: var(--muted); }
.quick input, .quick select { font: inherit; font-size: .95rem; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--tint); color: var(--text); width: 100%; }
.quick input:focus, .quick select:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 3px rgba(59, 169, 54, .2); }
.quick small { text-align: center; color: var(--muted); font-size: .78rem; }

/* ---------- Chiffres ---------- */
.stats { position: relative; z-index: 5; margin-top: -60px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.stat { padding: 28px 30px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-family: var(--head); font-style: italic; font-weight: 800; font-size: 3rem; line-height: 1; color: var(--green); margin-bottom: 6px; }
.stat > span { color: var(--muted); font-size: .9rem; line-height: 1.4; display: block; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--ink); color: #c5cfc8; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head p { color: var(--muted); font-size: 1.06rem; }
.section--dark .section-head p { color: #9fada4; }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.section-head--split > p { max-width: 460px; margin: 0; }
.section-head--split h2 { margin: 0; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service__img { height: 150px; background-size: cover; background-position: center; filter: saturate(.9); transition: transform .6s var(--ease); }
.service:hover .service__img { transform: scale(1.06); }
.service__body { position: relative; flex: 1; display: flex; flex-direction: column; padding: 34px 24px 24px; background: #fff; }
.service__icon { position: absolute; top: -28px; left: 24px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--green); color: #fff; box-shadow: 0 10px 20px -8px rgba(59, 169, 54, .7); }
.service__icon .icon { width: 26px; height: 26px; }
.service__num { position: absolute; top: 14px; right: 20px; font-family: var(--head); font-style: italic; font-weight: 800; font-size: 1.2rem; color: #cfd6d1; }
.service h3 { font-size: 1.5rem; margin-bottom: .35em; }
.service p { color: var(--muted); font-size: .92rem; margin-bottom: 1rem; }
.service__link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .88rem; color: var(--green-700); text-decoration: none; }
.service__link .icon { transition: transform .25s var(--ease); }
.service:hover .service__link .icon { transform: translateX(4px); }
.service--cta { background: var(--green); border-color: var(--green); color: #fff; text-decoration: none; }
.service--cta .service__body { background: transparent; justify-content: center; padding: 34px 28px; background-image: radial-gradient(circle at 100% 0%, rgba(255, 255, 255, .22), transparent 55%); }
.service--cta h3 { color: #fff; font-size: 2rem; font-style: italic; font-weight: 800; text-transform: uppercase; }
.service--cta p { color: #e6f5e4; }
.service--cta .service__link { color: #fff; }

/* ---------- À propos ---------- */
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: center; }
.about__media { position: relative; padding: 0 60px 60px 0; }
.about__img { border-radius: var(--radius); object-fit: cover; }
.about__img--main { width: 100%; aspect-ratio: 4 / 5; }
.about__img--sub { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; border: 8px solid var(--tint); box-shadow: var(--shadow); }
.about__badge { position: absolute; top: 28px; right: 18px; background: var(--green); color: #fff; padding: 16px 20px; border-radius: var(--radius); display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow); }
.about__badge strong { font-family: var(--head); font-style: italic; font-size: 2.6rem; line-height: 1; font-weight: 800; }
.about__badge span { font-size: .75rem; line-height: 1.3; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.lead { font-size: 1.15rem; color: var(--text); }
.about__text > p { color: var(--muted); }
.about__text > .lead { color: var(--text); }
.checks { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks .icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: #fff; color: var(--green); box-shadow: 0 6px 18px -8px rgba(15, 23, 18, .25); }
.checks strong { display: block; font-size: .98rem; margin-bottom: 2px; }
.checks span { font-size: .88rem; color: var(--muted); line-height: 1.5; display: block; }

/* ---------- Terrain ---------- */
.section--dark { position: relative; overflow: hidden; }
.section--dark::before { content: ""; position: absolute; width: 700px; height: 700px; right: -260px; top: -260px; border-radius: 50%; border: 2px solid rgba(59, 169, 54, .25); box-shadow: inset 0 0 0 60px rgba(59, 169, 54, .03); pointer-events: none; }
.field { position: relative; display: grid; grid-template-columns: .95fr 1.05fr; gap: 70px; align-items: center; }
.field__text p { color: #b4c0b8; font-size: 1.05rem; }
.field__text p strong { color: #fff; }
.field__list { list-style: none; margin: 1.6rem 0 2.2rem; padding: 0; display: grid; gap: 12px; }
.field__list li { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .06); border-radius: 12px; color: #e3e9e5; font-weight: 500; }
.field__list .icon { color: var(--green); width: 24px; height: 24px; }
.field__mosaic { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 560px; }
.field__tile { position: relative; overflow: hidden; border-radius: var(--radius); }
.field__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.field__tile:hover img { transform: scale(1.05); }
.field__tile--1 { grid-row: span 2; }
.field__tile--3 img { object-position: center 20%; }

/* ---------- Galerie ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { font: inherit; font-size: .86rem; font-weight: 600; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text); cursor: pointer; transition: all .2s; }
.filters button:hover { border-color: var(--green); color: var(--green-700); }
.filters button.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; gap: 16px; }
.gallery__item { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--tint); text-decoration: none; }
.gallery__item:nth-child(6n + 1), .gallery__item:nth-child(6n + 5) { grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 18, 13, .85), transparent 55%); opacity: .75; transition: opacity .3s; }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item:hover::after { opacity: 1; }
.gallery__info { position: absolute; z-index: 2; left: 20px; right: 70px; bottom: 18px; color: #fff; }
.gallery__info small { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: var(--green); padding: 4px 10px; border-radius: 999px; margin-bottom: 8px; }
.gallery__info strong { display: block; font-size: 1.02rem; line-height: 1.3; }
.gallery__zoom { position: absolute; z-index: 2; right: 18px; bottom: 18px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .15); backdrop-filter: blur(6px); color: #fff; transform: scale(.7); opacity: 0; transition: all .3s var(--ease); }
.gallery__item:hover .gallery__zoom { transform: none; opacity: 1; }
.gallery__item.is-hidden { display: none; }

/* ---------- Vidéos ---------- */
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.video { display: block; text-decoration: none; color: #9fada4; font-size: .92rem; }
.video__thumb { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; background: var(--ink-2); }
.video__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .4s; filter: brightness(.82); }
.video:hover .video__thumb img { transform: scale(1.05); filter: brightness(1); }
.video__play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; box-shadow: 0 0 0 10px rgba(59, 169, 54, .25); transition: transform .3s var(--ease), box-shadow .3s; }
.video__play .icon { width: 28px; height: 28px; margin-left: 4px; }
.video:hover .video__play { transform: scale(1.1); box-shadow: 0 0 0 16px rgba(59, 169, 54, .2); }
.video strong { display: block; color: #fff; font-family: var(--head); font-size: 1.5rem; font-weight: 700; margin-bottom: 2px; }

/* ---------- Matériel & formation ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.duo__card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--tint); }
.duo__img { height: 300px; background-size: cover; background-position: center; }
.duo__body { padding: 36px 36px 40px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.duo__body h3 { font-size: 2.2rem; font-style: italic; font-weight: 800; text-transform: uppercase; }
.duo__body p { color: var(--muted); }
.tags { list-style: none; margin: .4rem 0 1.8rem; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: .82rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--grey); }
.duo__body .btn { margin-top: auto; }

/* ---------- Démarche ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps::before { content: ""; position: absolute; top: 40px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--green) 0 10px, transparent 10px 18px); opacity: .5; }
.steps li { position: relative; text-align: center; padding: 0 10px; }
.steps span { position: relative; display: grid; place-items: center; width: 80px; height: 80px; margin: 0 auto 22px; border-radius: 50%; background: #fff; border: 2px solid var(--green); color: var(--green-700); font-family: var(--head); font-style: italic; font-weight: 800; font-size: 1.9rem; box-shadow: 0 0 0 8px var(--tint); }
.steps li:first-child span { background: var(--green); color: #fff; }
.steps p { color: var(--muted); font-size: .94rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.faq__intro { position: sticky; top: 110px; }
.faq__intro p { color: var(--muted); margin-bottom: 1.6rem; }
.faq__list { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .25s, box-shadow .25s; }
.faq details[open] { border-color: rgba(59, 169, 54, .5); box-shadow: 0 10px 30px -18px rgba(15, 23, 18, .3); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 600; font-size: 1.02rem; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--green-50); color: var(--green-700); transition: transform .3s var(--ease), background .3s; }
.faq details[open] summary span { transform: rotate(45deg); background: var(--green); color: #fff; }
.faq details p { padding: 0 24px 22px; margin: 0; color: var(--muted); }

/* ---------- Bandeau CTA ---------- */
.cta-band { padding: 0 0 20px; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 54px 60px; border-radius: 22px; background: var(--green); background-image: radial-gradient(circle at 90% 10%, rgba(255, 255, 255, .25), transparent 45%), radial-gradient(circle at 0% 100%, rgba(0, 0, 0, .18), transparent 50%); color: #fff; }
.cta-band h2 { margin: 0 0 .2em; color: #fff; font-size: clamp(2rem, 3.6vw, 3rem); }
.cta-band p { margin: 0; color: #e3f4e1; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: start; }
.contact__info > p { color: var(--muted); }
.contact__list { list-style: none; margin: 1.8rem 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact__list .icon { width: 46px; height: 46px; padding: 12px; border-radius: 12px; background: var(--green-50); color: var(--green-700); }
.contact__list small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.contact__list a, .contact__list span { font-weight: 600; text-decoration: none; font-size: .98rem; word-break: break-word; }
.contact__list a:hover { color: var(--green-700); }
.map { border-radius: var(--radius); overflow: hidden; height: 260px; background: var(--tint); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.25); }
.contact__form { background: #fff; padding: 40px; border-radius: 20px; display: grid; gap: 18px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.contact__form h3 { margin: 0; font-size: 1.9rem; }
.contact__form label { display: grid; gap: 6px; font-size: .84rem; font-weight: 600; color: var(--grey); }
.contact__form input, .contact__form select, .contact__form textarea { width: 100%; font: inherit; font-weight: 400; padding: 13px 15px; border: 1px solid #d3dbd5; border-radius: var(--radius-sm); background: var(--tint); color: var(--text); transition: border-color .2s, box-shadow .2s, background .2s; }
.contact__form input:focus, .contact__form select:focus, .contact__form textarea:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(59, 169, 54, .15); }
.contact__note { color: var(--muted); font-size: .78rem; text-align: center; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.notice { padding: 14px 16px; margin: 0; border-radius: var(--radius-sm); font-weight: 500; }
.notice--ok { background: var(--green-50); color: var(--green-700); border: 1px solid rgba(59, 169, 54, .4); }
.notice--err { background: #fdecec; color: #7a1a1a; border: 1px solid #f2b8b8; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: #9fada4; padding-top: 90px; font-size: .93rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 50px; padding-bottom: 60px; }
.brand--footer .brand__logo { height: 76px; }
.site-footer__brand p { margin-top: 1.4rem; max-width: 30em; }
.site-footer h3 { color: #fff; font-size: 1.3rem; margin-bottom: 1.1em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 5px 0; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--green); }
.footer-contact li { display: flex; gap: 10px; align-items: center; }
.footer-contact .icon { color: var(--green); }
.site-footer .btn--whatsapp { margin-top: 1.2rem; }
.site-footer .btn--whatsapp:hover { color: #05371b; }
.socials { display: flex; gap: 10px; margin-top: 1.2rem; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--ink-3); color: #fff; }
.socials a:hover { background: var(--green); color: #fff; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .07); padding: 24px 0; font-size: .82rem; }
.site-footer__bottom .container { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer__bottom ul { display: flex; gap: 20px; }
.site-footer__bottom li { padding: 0; }

/* ---------- Éléments flottants ---------- */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 12px 30px -6px rgba(37, 211, 102, .6); transition: transform .25s var(--ease); }
.wa-float .icon { width: 34px; height: 34px; }
.wa-float:hover { transform: scale(1.08); }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: wa-pulse 2.4s infinite; }
.wa-float__tip { position: absolute; right: 74px; top: 50%; transform: translate(8px, -50%); white-space: nowrap; background: #fff; color: var(--text); font-size: .85rem; font-weight: 600; padding: 9px 14px; border-radius: 10px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: all .3s var(--ease); }
.wa-float:hover .wa-float__tip, .wa-float.is-tip .wa-float__tip { opacity: 1; transform: translate(0, -50%); }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.to-top { position: fixed; right: 31px; bottom: 100px; z-index: 89; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; box-shadow: var(--shadow); opacity: 0; transform: translateY(10px); pointer-events: none; transition: all .3s var(--ease); }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--green); }
.mobile-bar { display: none; }

/* ---------- Visionneuse ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 60px 80px; background: rgba(6, 10, 8, .94); }
.lightbox[hidden] { display: none; }
.lightbox__stage { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox__media img, .lightbox__media video { max-width: min(1100px, 100%); max-height: calc(100vh - 160px); border-radius: 10px; display: block; background: #000; }
.lightbox__caption { color: #dfe6e1; font-size: .95rem; text-align: center; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255, 255, 255, .1); color: #fff; transition: background .2s; }
.lightbox button:hover { background: var(--green); }
.lightbox button .icon { width: 24px; height: 24px; }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; margin-top: -26px; }
.lightbox__next { right: 18px; top: 50%; margin-top: -26px; }
body.lb-open { overflow: hidden; }

/* ---------- Pages internes ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: 90px 0 80px; }
.page-hero::after { content: ""; position: absolute; width: 500px; height: 500px; right: -150px; top: -220px; border-radius: 50%; border: 2px solid rgba(59, 169, 54, .3); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin: 0; position: relative; z-index: 1; }
.page-hero time { color: var(--green); font-weight: 600; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.entry-content { max-width: 820px; }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content img { margin: 1.5em 0; border-radius: var(--radius); }
.entry-content a { color: var(--green-700); }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { border: 1px solid var(--line); background: #fff; border-radius: var(--radius); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__img img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.post-card__body { padding: 24px; }
.post-card time { font-size: .78rem; color: var(--green-700); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.post-card h2 { font-size: 1.6rem; font-style: normal; text-transform: none; margin: .3em 0 .5em; }
.post-card h2 a { text-decoration: none; }
.pagination { margin-top: 40px; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; margin-right: 6px; border-radius: 50%; border: 1px solid var(--line); text-decoration: none; }
.pagination .current { background: var(--green); color: #fff; border-color: var(--green); }

/* ---------- Apparition au défilement ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.main-nav ul a { padding: 10px 10px; font-size: .88rem; }
	.main-nav { gap: 16px; }
	.topbar__hours { display: none; }
}

@media (max-width: 1080px) {
	.services { grid-template-columns: repeat(2, 1fr); }
	.about, .field, .contact, .faq { grid-template-columns: 1fr; gap: 56px; }
	.faq__intro { position: static; }
	.hero__inner { grid-template-columns: 1fr; gap: 40px; padding-top: 70px; padding-bottom: 140px; }
	.quick { max-width: 520px; }
	.hero__dots { bottom: 90px; }
	.steps { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
	.steps::before { display: none; }
	.about__media { max-width: 560px; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
	.nav-toggle { display: grid; }
	.main-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 14px 24px 26px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .25); display: none; }
	.main-nav.is-open { display: flex; }
	.main-nav ul { flex-direction: column; gap: 2px; }
	.main-nav ul a { padding: 14px 16px; font-size: 1rem; border-radius: 10px; }
	.main-nav .btn { margin-top: 14px; }
	.stats__grid { grid-template-columns: 1fr 1fr; }
	.stat:nth-child(3) { border-left: 0; }
	.stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
	.gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
	.videos { grid-template-columns: 1fr 1fr; }
	.duo { grid-template-columns: 1fr; }
	.posts { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
	body { padding-bottom: 64px; }
	.container { padding: 0 18px; }
	.topbar__item { display: none; }
	.topbar__right { margin: 0; width: 100%; justify-content: space-between; gap: 10px; font-size: .76rem; }
	.brand__logo { height: 48px; }
	.site-header__inner { min-height: 70px; }
	.section { padding: 76px 0; }
	h1 { font-size: 2.7rem; }
	.hero { min-height: 0; }
	.hero__inner { padding-top: 54px; padding-bottom: 120px; }
	.hero__lead { font-size: 1.02rem; }
	.hero__actions .btn { flex: 1 1 100%; }
	.quick { padding: 22px; }
	.stats { margin-top: -50px; }
	.stat { padding: 20px 18px; }
	.stat strong { font-size: 2.3rem; }
	.services, .checks, .field-row, .contact__list, .steps { grid-template-columns: 1fr; }
	.about__media { padding: 0 30px 40px 0; }
	.field__mosaic { height: 420px; }
	.gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; }
	.gallery__item:nth-child(6n + 1), .gallery__item:nth-child(6n + 5) { grid-row: span 1; }
	.gallery__zoom { opacity: 1; transform: none; }
	.videos { grid-template-columns: 1fr; }
	.video__thumb { aspect-ratio: 16 / 11; }
	.duo__body { padding: 28px 22px 30px; }
	.duo__body h3 { font-size: 1.8rem; }
	.cta-band__inner { padding: 38px 24px; border-radius: 18px; }
	.cta-band__actions, .cta-band__actions .btn { width: 100%; }
	.contact__form { padding: 26px 20px; }
	.site-footer { padding-top: 60px; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 36px; }
	.posts { grid-template-columns: 1fr; }
	.wa-float, .to-top { display: none; }
	.mobile-bar { position: fixed; z-index: 95; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr 1fr; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, .2); padding-bottom: env(safe-area-inset-bottom); }
	.mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 0 8px; font-size: .72rem; font-weight: 600; text-decoration: none; color: var(--text); }
	.mobile-bar .icon { width: 22px; height: 22px; color: var(--green-700); }
	.mobile-bar__wa { background: var(--wa); color: #05371b !important; }
	.mobile-bar__wa .icon { color: #05371b; }
	.lightbox { padding: 70px 12px; }
	.lightbox__prev, .lightbox__next { top: auto; bottom: 14px; margin: 0; }
	.lightbox__prev { left: calc(50% - 62px); }
	.lightbox__next { right: calc(50% - 62px); }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}
