/*
Theme Name: Entretien F.C.
Theme URI: https://www.facebook.com/profile.php?id=61593725596446
Author: Entretien F.C.
Description: Thème bloc sur mesure d'Entretien F.C. (entretien ménager à Val-des-Sources). Tout le contenu de l'accueil est modifiable dans l'éditeur de page.
Version: 1.0.3
Requires at least: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: entretien-fc
Tags: block-theme, full-site-editing, business, one-column
*/

/* ==========================================================
   Jetons — repris de la maquette validée.
   Registre de la référence ; accent bleu remplacé par le vert
   du logo et noir par le marine (validé par le client).
   ========================================================== */
:root {
  --vert: #64826f;
  --sauge: #a8c4a2;
  --marine: #22313f;
  --texte: #666666;
  --gris: #efefef;
  --gris-carre: #f3f1f0;
  --blanc: #ffffff;
  --titre: 'Oswald', 'Arial Narrow', sans-serif;
  --corps: 'Open Sans', Arial, sans-serif;
  --enveloppe: 1200px;
  --barre-admin: var(--wp-admin--admin-bar--height, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(74px + var(--barre-admin)); }
body {
  margin: 0;
  background: var(--blanc);
  color: var(--texte);
  font-family: var(--corps);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; } /* height:auto : sinon l'attribut height des blocs image l'emporte */
a { color: inherit; }
h1, h2, h3, p, ul, figure { margin: 0; }
h1, h2, h3 { hyphens: none; text-wrap: balance; font-weight: inherit; }

/* Espacement automatique de Gutenberg : coupé dans theme.json (blockGap 0px),
   filet de sécurité ici À SPÉCIFICITÉ NULLE (jamais .wp-block-group > *). */
:where(.wp-block-group) > :where(*), :where(.wp-block-buttons) { margin-block: 0; }
figure.wp-block-image { margin: 0; }

.enveloppe { width: 80%; max-width: var(--enveloppe); margin-inline: auto; }

/* ─── En-tête ─────────────────────────────────────────────── */
.wp-site-blocks > header.wp-block-template-part {
  position: sticky; top: var(--barre-admin); z-index: 50;
}
.entete { background: var(--blanc); box-shadow: 0 1px 0 rgba(0, 0, 0, .06); }
.entete-in { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.marque { display: flex; align-items: center; gap: 10px; }
.marque .wp-block-site-logo { line-height: 0; }
.marque .wp-block-site-logo img { width: 57px; height: 64px; object-fit: contain; }
.marque-nom { display: flex; flex-direction: column; font-family: var(--titre); text-transform: uppercase; color: var(--marine); line-height: 1; }
.marque-nom a { text-decoration: none; }
.marque-haut { font-size: 15px; font-weight: 500; letter-spacing: 2.5px; }
.marque-bas { font-size: 30px; font-weight: 500; letter-spacing: 1px; margin-top: 2px; }

.wp-block-navigation.menu .wp-block-navigation__container { gap: 22px; }
.wp-block-navigation.menu .wp-block-navigation-item__content {
  font-family: var(--corps); font-size: 14px; font-weight: 600; color: var(--texte);
  text-decoration: none; transition: opacity .2s;
}
.wp-block-navigation.menu .wp-block-navigation-item__content:hover { opacity: .65; }
.wp-block-navigation.menu .wp-block-navigation__responsive-container-open,
.wp-block-navigation.menu .wp-block-navigation__responsive-container-close { color: var(--marine); }
/* Le panneau mobile s'ouvre blanc sur blanc sans ceci (CSS du bloc imprimé après cette feuille). */
.wp-block-navigation.menu .wp-block-navigation__responsive-container.is-menu-open {
  background-color: var(--blanc) !important; color: var(--marine) !important;
  padding: calc(24px + var(--barre-admin)) 8% 24px;
}
.wp-block-navigation.menu .is-menu-open .wp-block-navigation__container { gap: 0; width: 100%; }
.wp-block-navigation.menu .is-menu-open .wp-block-navigation-item { width: 100%; border-bottom: 1px solid var(--gris); }
.wp-block-navigation.menu .is-menu-open .wp-block-navigation-item__content { display: block; padding: 14px 0; font-size: 16px; color: var(--marine); }
/* Comme la maquette : menu replié dès 980 px (le bloc ne le replie qu'à 600 px). */
@media (min-width: 600px) and (max-width: 980px) {
  .wp-block-navigation.menu .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
  .wp-block-navigation.menu .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}

/* ─── Accueil ─────────────────────────────────────────────── */
.hero { position: relative; height: 500px; overflow: hidden; color: var(--blanc); }
figure.wp-block-image.hero-photo { position: absolute; inset: 0; z-index: 0; }
.wp-block-image.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(100, 130, 111, .5); pointer-events: none; }

.hero-appel { position: absolute; top: 0; right: 0; z-index: 3; width: 491px; display: flex; flex-direction: column; align-items: flex-end; }
.hero-encart { width: 100%; background: var(--vert); padding: 30px 40px 28px; }
.encart-titre { font-size: 16px; font-weight: 700; line-height: 1.65; letter-spacing: 1.5px; text-transform: uppercase; }
.encart-lien { margin-top: 22px; padding-left: 4px; }
.encart-lien a {
  font-size: 12px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; text-decoration: none;
}
.encart-lien a::after {
  content: ""; display: inline-block; margin-left: 11px; vertical-align: 1px;
  border-left: 5px solid currentColor; border-top: 4px solid transparent; border-bottom: 4px solid transparent;
}
.encart-lien a:hover { opacity: .8; }
.hero-tel a {
  display: block; width: 225px; padding: 17px 0 16px; background: var(--blanc);
  color: var(--vert); text-align: center; text-decoration: none;
  font-size: 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
}

.hero-texte { position: relative; z-index: 2; padding-top: 190px; }
.hero-titre {
  font-family: var(--titre); font-weight: 500; font-size: 54px; line-height: 1;
  text-transform: uppercase; letter-spacing: .5px;
  text-shadow: .08em .08em .08em rgba(0, 0, 0, .4);
}
.hero-sous {
  max-width: 720px; margin-top: 12px;
  font-size: 16px; font-weight: 600; line-height: 2.2;
  text-shadow: .08em .08em .08em rgba(0, 0, 0, .4);
}

/* ─── Que faisons-nous ────────────────────────────────────── */
.intro-boite { width: 66.6%; background: var(--gris); padding: 24px 40px 30px; }
.intro-titre { font-family: var(--titre); font-weight: 400; font-size: 22px; line-height: 1.3; color: var(--vert); text-transform: uppercase; }
.intro-texte { margin-top: 6px; font-size: 21px; line-height: 1.05; color: var(--marine); }

/* ─── Services ────────────────────────────────────────────── */
.services { padding: 52px 0 110px; }
.grille-services { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 5.5%; row-gap: 110px; }
.service { position: relative; padding: 23px 0 0 19px; }
.service::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 48px; height: 48px; border: 10px solid var(--gris-carre);
}
.service-titre {
  position: relative;
  font-size: 15px; font-weight: 700; line-height: 1.45; letter-spacing: 1px;
  text-transform: uppercase; color: var(--marine); text-wrap: wrap;
}
.service p { margin-top: 13px; }
ul.puces { list-style: none; padding: 0; margin-top: 2px; }
ul.puces li { position: relative; padding-left: 14px; }
ul.puces li::before {
  content: ""; position: absolute; left: 2px; top: .72em;
  width: 4px; height: 4px; border-radius: 50%; background: currentColor;
}

/* ─── Témoignages ─────────────────────────────────────────── */
.temoignages { padding-bottom: 70px; }
.carrousel { position: relative; height: 510px; overflow: hidden; color: var(--blanc); }
figure.wp-block-image.carrousel-photo { position: absolute; inset: 0; z-index: 0; }
.wp-block-image.carrousel-photo img { width: 100%; height: 100%; object-fit: cover; }
.carrousel::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, .18); pointer-events: none; }
.diapo {
  position: absolute; z-index: 2; left: 13%; right: 13%; top: 50%; transform: translateY(-50%);
  opacity: 0; visibility: hidden; transition: opacity .6s;
}
.diapo.actif { opacity: 1; visibility: visible; }
.diapo-etiquette {
  display: inline-block; margin-bottom: 14px; padding: 4px 10px;
  background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .5);
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
}
.diapo-citation { font-size: 18px; font-weight: 600; line-height: 1.5; text-shadow: .08em .08em .08em rgba(0, 0, 0, .4); }
.diapo-auteur { margin-top: 20px; text-align: right; font-size: 17px; font-weight: 700; text-shadow: .08em .08em .08em rgba(0, 0, 0, .4); }
.points { position: absolute; z-index: 3; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 6px; }
.point { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .5); cursor: pointer; }
.point.actif { background: var(--blanc); }
.bande-temoignage a {
  display: block; padding: 28px 20px 29px; background: var(--vert); color: var(--blanc);
  text-align: center; text-decoration: none;
  font-family: var(--titre); font-weight: 400; font-size: 27px; line-height: 1.5;
  letter-spacing: 1.5px; text-transform: uppercase;
}
.bande-temoignage a:hover { background: #587463; }

/* ─── À propos ────────────────────────────────────────────── */
.apropos { padding-bottom: 80px; }
.deux-colonnes { display: grid; grid-template-columns: 1fr 1fr; column-gap: 5.5%; }
.titre-section { font-family: var(--titre); font-weight: 400; font-size: 20px; line-height: 1.25; color: var(--marine); }
.apropos-texte p { margin-top: 10px; line-height: 1.75; }
.apropos-texte p + p { margin-top: 16px; }
.apropos-texte p a { color: var(--vert); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.apropos-texte p a:hover { color: var(--marine); }
figure.wp-block-image.carte { margin-top: 30px; border: 1px solid #e3e3e3; }
.wp-block-image.carte img { width: 100%; height: auto; }
.titre-liste { font-family: var(--titre); font-weight: 400; font-size: 15px; line-height: 1.4; color: var(--marine); }
ul.villes { margin-top: 8px; }
ul.villes li { line-height: 1.83; }

/* ─── Galerie ─────────────────────────────────────────────── */
.galerie { position: relative; overflow: hidden; padding: 180px 0 150px; }
figure.wp-block-image.galerie-fond { position: absolute; inset: 0; z-index: 0; }
.wp-block-image.galerie-fond img { width: 100%; height: 100%; object-fit: cover; }
.galerie::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(40, 40, 40, .55); pointer-events: none; }
.galerie-in { position: relative; z-index: 2; }
.galerie-page { display: none; grid-template-columns: repeat(4, 1fr); }
.galerie-page.actif { display: grid; }
figure.wp-block-image.tuile { position: relative; aspect-ratio: 300 / 214; overflow: hidden; cursor: pointer; }
.wp-block-image.tuile a { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.wp-block-image.tuile a:focus-visible { outline: 3px solid var(--sauge); outline-offset: -3px; }
.wp-block-image.tuile img { width: 100%; height: 100%; object-fit: cover; }
.wp-block-image.tuile::after {
  content: "+"; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .55) radial-gradient(circle, var(--vert) 15px, transparent 15.5px);
  color: var(--blanc); font-size: 26px; font-weight: 400; line-height: 1;
  opacity: 0; transition: opacity .25s; pointer-events: none;
}
.wp-block-image.tuile:hover::after, .wp-block-image.tuile:focus-within::after { opacity: 1; }
.pagination { display: flex; justify-content: flex-end; gap: 12px; margin-top: 8px; }
.pagination button {
  padding: 0; border: 0; background: none; cursor: pointer;
  font-family: var(--corps); font-size: 14px; color: rgba(255, 255, 255, .85);
}
.pagination .actif { color: var(--sauge); font-weight: 700; }

/* ─── Visionneuse (imprimée par functions.php, pilotée par app.js) ── */
.visionneuse {
  position: fixed; inset: 0; z-index: 100000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(20, 24, 28, .94);
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.visionneuse.ouverte { opacity: 1; visibility: visible; }
html.sans-defilement { overflow: hidden; }
.visionneuse-cadre { display: flex; flex-direction: column; align-items: center; max-width: 92vw; margin: 0; }
.visionneuse-img {
  max-width: min(92vw, 1400px); max-height: calc(100vh - 140px);
  width: auto; height: auto; object-fit: contain;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
}
.visionneuse-legende {
  display: flex; gap: 18px; justify-content: center; align-items: baseline;
  margin-top: 14px; color: rgba(255, 255, 255, .85); font-size: 13px; text-align: center;
}
.visionneuse-compteur { font-weight: 700; letter-spacing: 1px; color: var(--sauge); white-space: nowrap; }
.visionneuse button {
  position: absolute; width: 52px; height: 52px; padding: 0; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .08); color: var(--blanc); transition: background .2s;
}
.visionneuse button:hover { background: var(--vert); }
.visionneuse button:focus-visible { outline: 2px solid var(--sauge); outline-offset: 2px; }
.visionneuse-fermer { top: 18px; right: 18px; }
.visionneuse-fermer::before, .visionneuse-fermer::after {
  content: ""; position: absolute; left: 15px; top: 25px; width: 22px; height: 2px; background: currentColor;
}
.visionneuse-fermer::before { transform: rotate(45deg); }
.visionneuse-fermer::after { transform: rotate(-45deg); }
.visionneuse-prec { left: 18px; top: calc(50% - 26px); }
.visionneuse-suiv { right: 18px; top: calc(50% - 26px); }
.visionneuse-prec::before, .visionneuse-suiv::before {
  content: ""; position: absolute; top: 20px; width: 12px; height: 12px;
  border-top: 2px solid currentColor; border-left: 2px solid currentColor;
}
.visionneuse-prec::before { left: 22px; transform: rotate(-45deg); }
.visionneuse-suiv::before { left: 16px; transform: rotate(135deg); }

/* ─── Mosaïque ────────────────────────────────────────────── */
.mosaique {
  display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr;
  gap: 17px; padding: 16px; height: calc(32vw + 32px); min-height: 360px;
}
figure.wp-block-image.mos { overflow: hidden; min-height: 0; }
.wp-block-image.mos img { width: 100%; height: 100%; object-fit: cover; }
figure.wp-block-image.mos-grand { grid-row: 1 / 3; }

/* ─── Contact ─────────────────────────────────────────────── */
.contact { position: relative; overflow: hidden; padding: 100px 0 120px; color: var(--blanc); }
figure.wp-block-image.contact-fond { position: absolute; inset: -30px; z-index: 0; }
.wp-block-image.contact-fond img { width: 100%; height: 100%; object-fit: cover; filter: blur(9px); }
.contact::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(20, 20, 20, .45); pointer-events: none; }
.contact-in { position: relative; z-index: 2; display: grid; grid-template-columns: 2fr 1fr; column-gap: 5.5%; }

/* Formulaire Contact Form 7 — gabarit écrit avec les classes de la maquette */
.contact .wpcf7 form { margin: 0; }
.formulaire { display: grid; grid-template-columns: 1fr 1fr; column-gap: 26px; row-gap: 25px; align-content: start; }
.formulaire p { margin: 0; }
.f-large { grid-column: 1 / -1; }
.formulaire .wpcf7-form-control-wrap { display: block; }
.formulaire .champ {
  display: block; width: 100%; height: 53px; padding: 0 14px; margin: 0;
  background: transparent; border: 1px solid rgba(255, 255, 255, .8); border-radius: 0;
  color: var(--blanc); font: 14px/1.4 var(--corps);
}
.formulaire .champ::placeholder { color: rgba(255, 255, 255, .95); }
.formulaire .champ:focus { outline: none; border-color: var(--sauge); background: rgba(255, 255, 255, .06); }
.formulaire textarea.champ { height: 120px; padding-top: 14px; resize: vertical; }
.choix { font-size: 13px; }
.formulaire .choix-titre { margin-bottom: 4px; font-size: 11px; font-weight: 700; }
.choix .wpcf7-list-item { display: block; margin: 0; }
.choix label { display: flex; align-items: center; gap: 8px; line-height: 2.05; cursor: pointer; }
.choix input[type="checkbox"] { width: 13px; height: 13px; margin: 0; accent-color: var(--vert); }
.f-envoyer { grid-column: 2; justify-self: end; margin-top: -8px; position: relative; display: flex; }
.formulaire .envoyer {
  padding: 0 10px 0 0; border: 0; background: none; cursor: pointer;
  color: var(--blanc); font: 700 13px/1 var(--corps); letter-spacing: 2px; text-transform: uppercase;
}
.formulaire .envoyer:hover { color: var(--sauge); }
.contact .wpcf7-spinner { position: absolute; right: -30px; top: -6px; margin: 0; }
.contact .wpcf7-not-valid-tip { margin-top: 4px; color: #ffd3c4; font-size: 12px; }
.contact .wpcf7 form .wpcf7-response-output {
  margin: 22px 0 0; padding: 10px 14px; border: 1px solid var(--sauge); color: var(--blanc); font-size: 13px;
}
.contact .wpcf7 form.invalid .wpcf7-response-output,
.contact .wpcf7 form.failed .wpcf7-response-output { border-color: #ffd3c4; }

/* Coordonnées : icônes en masques CSS (aucun SVG dans le contenu) */
.coordonnees { display: grid; row-gap: 26px; align-content: start; }
.coord { display: grid; grid-template-columns: 26px 1fr; column-gap: 12px; font-size: 12px; line-height: 1.85; }
.coord > * { grid-column: 2; }
.coord::before {
  content: ""; grid-column: 1; grid-row: 1 / span 9; width: 22px; height: 22px; margin-top: 1px;
  background: var(--sauge); -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat;
}
.coord-courriel::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M2 5h20v14H2zM3.6 6.4 12 13l8.4-6.6-.9-1.1L12 11.2 4.5 5.3z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M2 5h20v14H2zM3.6 6.4 12 13l8.4-6.6-.9-1.1L12 11.2 4.5 5.3z'/%3E%3C/svg%3E"); }
.coord-tel::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E"); }
.coord-facebook::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 2h20v20h-6.6v-7.7h2.6l.4-3h-3V9.4c0-.9.3-1.5 1.5-1.5h1.6V5.2c-.3 0-1.2-.1-2.3-.1-2.3 0-3.9 1.4-3.9 4v2.2H9.7v3h2.6V22H2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 2h20v20h-6.6v-7.7h2.6l.4-3h-3V9.4c0-.9.3-1.5 1.5-1.5h1.6V5.2c-.3 0-1.2-.1-2.3-.1-2.3 0-3.9 1.4-3.9 4v2.2H9.7v3h2.6V22H2z'/%3E%3C/svg%3E"); }
.coord-region::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E"); }
.coord-titre { font-size: 13px; font-weight: 700; line-height: 1.6; letter-spacing: 1px; text-transform: uppercase; }
.coord .coord-titre a { text-decoration: underline; text-underline-offset: 3px; }
.coord p { margin-top: 6px; }
.coord p + p { margin-top: 10px; }
.coord a { text-decoration: none; }
.coord a:hover { color: var(--sauge); }

/* ─── Pied de page ────────────────────────────────────────── */
.pied { background: var(--marine); color: rgba(255, 255, 255, .55); }
.pied-in { display: flex; align-items: center; gap: 10px; min-height: 50px; font-size: 12px; }
.pied .wp-block-site-logo { line-height: 0; }
.pied .wp-block-site-logo img { width: 18px; height: 20px; object-fit: contain; }
.pied strong { color: rgba(255, 255, 255, .8); font-weight: 700; }
.pied a { color: rgba(255, 255, 255, .8); }
.pied a:hover { color: var(--sauge); }

/* ─── Pages internes (404, pages ajoutées par le client) ──── */
.page-simple { padding: 90px 0 110px; }
.page-simple h1 { font-family: var(--titre); font-weight: 500; font-size: 40px; line-height: 1.1; color: var(--marine); text-transform: uppercase; }
.page-simple p { margin-top: 14px; font-size: 15px; }
.page-simple a { color: var(--vert); font-weight: 600; }

:where(a, button, input, select, textarea, [tabindex]):focus-visible { outline: 3px solid var(--sauge); outline-offset: 3px; }

/* ─── Réactif ─────────────────────────────────────────────── */
@media (max-width: 980px) {
  .enveloppe { width: 88%; }
  .hero { height: auto; display: flex; flex-direction: column-reverse; }
  .hero-appel { position: relative; width: 100%; }
  .hero-texte { padding: 70px 0 60px; }
  .hero-titre { font-size: 44px; }
  .intro-boite { width: 100%; }
  .grille-services { grid-template-columns: 1fr 1fr; row-gap: 70px; }
  .deux-colonnes, .contact-in { grid-template-columns: 1fr; row-gap: 50px; }
  .galerie-page { grid-template-columns: repeat(2, 1fr); }
  .mosaique { height: auto; grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  figure.wp-block-image.mos-grand { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 10; }
  figure.wp-block-image.mos { aspect-ratio: 4 / 3; }
}
@media (max-width: 600px) {
  .marque-haut { font-size: 13px; }
  .marque-bas { font-size: 26px; }
  .hero-encart { padding: 24px 6%; }
  .encart-lien a { letter-spacing: 1.2px; }
  .hero-tel { width: 100%; }
  .hero-tel a { width: 100%; }
  .hero-titre { font-size: 38px; }
  .hero-sous { font-size: 15px; line-height: 1.9; }
  .intro-boite { padding: 22px 6% 26px; }
  .intro-texte { font-size: 19px; line-height: 1.25; }
  .grille-services { grid-template-columns: 1fr; row-gap: 56px; }
  .carrousel { height: 470px; }
  .diapo { left: 7%; right: 7%; }
  .diapo-citation { font-size: 16px; }
  .bande-temoignage a { font-size: 22px; }
  .galerie { padding: 70px 0; }
  .visionneuse-img { max-height: calc(100vh - 170px); }
  .visionneuse-prec, .visionneuse-suiv { top: auto; bottom: 22px; }
  .visionneuse-legende { flex-direction: column; gap: 4px; margin-bottom: 70px; padding: 0 12px; }
  .formulaire { grid-template-columns: 1fr; }
  .f-envoyer { grid-column: 1; }
  .pied-in { padding: 14px 0; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
