/*
Theme Name: ADClim31
Theme URI: https://adclim31.fr
Author: ADClim31
Description: Thème bloc sur mesure d'ADClim31, chauffagiste-frigoriste en Haute-Garonne. Contenu 100 % éditable dans l'éditeur de blocs.
Version: 1.0.2
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: adclim31
Tags: block-theme, full-site-editing, business
*/

:root {
  --bleu: #0A7DB0;
  --bleu-fonce: #08679A;
  --vert: #3F861C;
  --vert-fonce: #326C16;
  --anthracite: #313131;
  --texte: #333333;
  --texte-2: #777777;
  --filet: #E8E8E8;
  --fond: #FFFFFF;
  --fond-2: #F9F9F9;
  --largeur: 1170px;
  --gouttiere: max(16px, calc((100vw - var(--largeur)) / 2 + 16px));
  --ico-tel: 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 1l-2.3 2.2z'/%3E%3C/svg%3E");
  --ico-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linejoin='round'%3E%3Cpath d='M3 5h18v14H3zM3 6l9 7 9-7'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: var(--texte-2);
  background: var(--fond);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--texte); margin: 0; font-weight: 700; line-height: 1.25; hyphens: none; text-wrap: balance; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; }

/* Filet de sécurité à spécificité nulle (le blockGap est déjà à 0 dans theme.json) */
:where(.wp-block-group) > :where(*), :where(.wp-block-buttons) { margin-block: 0; }
figure.wp-block-image { margin: 0; }
.wp-site-blocks > * { margin-block: 0; }

.conteneur { width: 100%; max-width: var(--largeur); margin-inline: auto; padding-inline: 16px; }
.centre { text-align: center; }
.centre.wp-block-buttons { justify-content: center; display: flex; }

/* Boutons (style de base dans theme.json, complété ici) */
.wp-block-button__link, .wpcf7-submit {
  display: inline-block;
  padding: 13px 30px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--vert);
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .2s;
}
.wp-block-button__link:hover, .wpcf7-submit:hover { background: var(--vert-fonce); color: #fff; }

/* Icônes en masque CSS */
.ico::before, .info::before, .bandeau__item::before, .coordonnees li::before, .tel::before {
  content: ""; display: block; flex: none;
  -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat;
  background: currentColor;
}

/* ---------- Barre haute ---------- */
.barre-haute { background: var(--anthracite); color: #BDBDBD; font-size: 12px; }
.barre-haute__in { display: flex; justify-content: space-between; gap: 20px; padding-block: 9px; }

/* ---------- En-tête ---------- */
.entete { background: #fff; }
.entete__in { display: flex; align-items: center; justify-content: space-between; padding-block: 24px; }
.logo img { height: 84px; width: auto; }
.entete__infos { display: flex; gap: 42px; }
.info { display: grid; grid-template-columns: 30px auto; column-gap: 12px; align-items: center; }
.info::before { width: 30px; height: 30px; grid-row: span 2; }
.info--tel::before { -webkit-mask-image: var(--ico-tel); mask-image: var(--ico-tel); color: var(--bleu); }
.info--mail::before { -webkit-mask-image: var(--ico-mail); mask-image: var(--ico-mail); color: var(--vert); }
.info__titre { color: var(--texte); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .03em; line-height: 1.4; }
.info__sous { font-size: 12px; color: #9A9A9A; line-height: 1.4; }

.nav { border-top: 1px solid var(--filet); background: #fff; }
.nav__in { display: flex; align-items: center; justify-content: space-between; min-height: 66px; gap: 20px; }
.menu .wp-block-navigation__container { gap: 34px; }
.menu .wp-block-navigation-item__content { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; color: #555; transition: color .2s; }
.menu .wp-block-navigation-item__content:hover, .menu .actif > .wp-block-navigation-item__content, .menu .wp-block-navigation-item__content.actif { color: var(--bleu); }
.wp-block-navigation.menu .wp-block-navigation__responsive-container.is-menu-open {
  background-color: #fff !important; color: var(--texte) !important; padding: 60px 24px;
}
.wp-block-navigation.menu .is-menu-open .wp-block-navigation__container { gap: 22px; }
.wp-block-navigation.menu .is-menu-open .wp-block-navigation-item__content { font-size: 15px; }
.nav .wp-block-button__link { padding: 15px 34px; }

/* ---------- Héros ---------- */
.heros { position: relative; height: 620px; overflow: hidden; display: flex; align-items: center; }
.heros::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(9, 28, 52, .82) 0%, rgba(9, 28, 52, .62) 34%, rgba(9, 28, 52, .12) 62%, rgba(9, 28, 52, 0) 78%); }
.heros__photo { position: absolute; inset: 0; }
.heros__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 32%; }
.heros__contenu { position: relative; z-index: 2; color: #fff; }
.heros__surtitre { margin-bottom: 18px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #9FD3EC; }
.heros h1 { color: #fff; max-width: 520px; font-size: 58px; font-weight: 300; line-height: 1.08; letter-spacing: -.01em; }
.heros h1 strong { font-weight: 700; display: block; }
.heros__texte { max-width: 430px; margin: 26px 0 34px; font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.92); }
.heros .wp-block-button__link { padding: 16px 44px; }

/* ---------- Atouts ---------- */
.atouts { padding-block: 100px 96px; background: #fff; border-bottom: 1px solid var(--filet); }
.atouts__grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.atout::before, .question::before {
  content: ""; display: block; margin: 7px auto 0;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--bleu) center / 26px no-repeat;
  box-shadow: 0 0 0 7px rgba(10, 125, 176, .16);
}
.atout--confiance::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v6c0 4.5-3 7.8-7 9-4-1.2-7-4.5-7-9V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); }
.atout--prix::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M3 12V4h8l10 10-8 8z'/%3E%3Ccircle cx='7.5' cy='8.5' r='1.5' fill='%23fff'/%3E%3C/svg%3E"); }
.atout--rapide::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M13 2L4 14h7l-1 8 9-12h-7z'/%3E%3C/svg%3E"); }
.atout--satisfaction::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='9' r='6'/%3E%3Cpath d='M8.5 14l-1.5 8 5-3 5 3-1.5-8'/%3E%3C/svg%3E"); }
.atout::before { margin-bottom: 30px; }
.atout h3 { font-size: 15px; font-weight: 500; margin: 0 0 14px; }
.atout p { font-size: 13px; max-width: 230px; margin-inline: auto; }

/* ---------- Artisan ---------- */
.artisan { display: grid; grid-template-columns: 1fr 1fr; align-items: center; background: #fff; }
.artisan__photo { height: 520px; overflow: hidden; }
.artisan__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 0% 0%; }
.artisan__texte { padding: 60px var(--gouttiere) 60px 70px; }
.surtitre { font-size: 12px; color: #9A9A9A; margin-bottom: 8px; }
.artisan h2 { font-size: 36px; margin-bottom: 20px; }
.artisan__texte > p:not(.surtitre) { max-width: 470px; }
.artisan__texte > p + p { margin-top: 12px; }
.artisan__actions { display: flex; align-items: center; gap: 28px; margin-top: 30px; }
.tel { display: inline-flex; align-items: center; gap: 8px; color: var(--texte); font-weight: 700; font-size: 15px; }
.tel::before { width: 18px; height: 18px; -webkit-mask-image: var(--ico-tel); mask-image: var(--ico-tel); }

/* ---------- Planifiez votre projet ---------- */
.devis { position: relative; padding-block: 110px 100px; overflow: hidden; text-align: center; }
.devis::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(48, 52, 56, .78); }
.devis__fond { position: absolute; inset: 0; }
.devis__fond img { width: 100%; height: 100%; object-fit: cover; }
.devis__in { position: relative; z-index: 2; }
.devis h2 { color: #fff; font-size: 24px; }
.devis .sous-titre { color: rgba(255,255,255,.6); }
.devis .wpcf7 { max-width: 860px; margin: 36px auto 0; }
.devis__form .champs { display: grid; grid-template-columns: 1fr 1fr 1fr auto; margin: 0; }
.devis__form .wpcf7-form-control-wrap { display: block; }
.devis__form input:not([type=submit]), .devis__form select {
  display: block; width: 100%; height: 50px; padding: 0 18px; border: 1px solid rgba(255,255,255,.18); border-right: 0;
  background: rgba(255,255,255,.08); color: #fff; font-size: 13px; outline: none; border-radius: 0;
}
.devis__form select { appearance: none; color: rgba(255,255,255,.85); }
.devis__form option { color: var(--texte); }
.devis__form input::placeholder { color: rgba(255,255,255,.6); }
.devis__form .wpcf7-submit { height: 50px; border-radius: 0; }

.sous-titre { font-size: 12px; color: #9A9A9A; margin-top: 6px; }
.titre-centre { text-align: center; font-size: 24px; }
.news .sous-titre, .realisations .sous-titre, .faq .sous-titre { text-align: center; }

/* ---------- Duo (services, missions) ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.duo__texte { background: var(--fond-2); padding: 80px 70px 80px var(--gouttiere); display: flex; flex-direction: column; justify-content: center; }
.duo--inverse .duo__texte { padding: 80px var(--gouttiere) 80px 70px; }
.titre-service { font-size: 24px; margin-bottom: 30px; }
.titre-service::before { content: ""; display: block; width: 110px; height: 52px; margin-bottom: 4px; background: center left / contain no-repeat; }
.titre-service.vert { color: var(--vert); }
.titre-service.vert::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 56'%3E%3Ccircle cx='40' cy='24' r='13' fill='%233F861C'/%3E%3Cg stroke='%233F861C' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M40 3v5M23 9l3.5 3.5M57 9l-3.5 3.5M19 24h4M57 24h4'/%3E%3C/g%3E%3Cpath d='M8 40c22-14 52 10 104-8-30 20-66 6-94 14z' fill='%233F861C'/%3E%3Cpath d='M22 48c24-8 48 4 80-6-26 14-50 2-80 8z' fill='%238DC16A'/%3E%3C/svg%3E"); }
.titre-service.bleu { color: var(--bleu); }
.titre-service.bleu::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 56'%3E%3Cg stroke='%230A7DB0' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M34 4v38M17 13l34 20M17 33l34-20M28 7l6 5 6-5M28 39l6-5 6 5'/%3E%3C/g%3E%3Cpath d='M6 44c26-10 58 6 108-6-30 16-68 4-102 10z' fill='%230A7DB0'/%3E%3Cpath d='M26 52c22-6 46 2 76-4-24 10-48 2-76 6z' fill='%236DB6D8'/%3E%3C/svg%3E"); }
.service { display: grid; grid-template-columns: 66px 1fr; column-gap: 20px; align-items: start; }
.service + .service { margin-top: 26px; }
.service__img { grid-row: span 2; }
.service__img img { width: 66px; height: 66px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.service h4 { font-size: 14px; font-weight: 500; margin: 6px 0 4px; }
.service p { font-size: 13px; line-height: 1.6; max-width: 440px; }
.duo__photo { position: relative; overflow: hidden; min-height: 320px; }
.duo__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.duo__photo--bleu img { object-position: center 78%; }

/* ---------- News ---------- */
.news { padding-block: 90px; background: var(--fond-2); }
.wp-block-post-template.news__grille, .news__grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 44px 0 48px; padding: 0; }
.news__grille > li, .article { background: #fff; border: 1px solid var(--filet); box-shadow: 0 2px 6px rgba(0,0,0,.05); display: flex; flex-direction: column; min-width: 0; margin: 0; }
.article__image { display: block; overflow: hidden; aspect-ratio: 720 / 475; margin: 0; }
.article__image a { display: block; height: 100%; }
.article__image img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .4s ease; }
.news__grille > li:hover .article__image img { transform: scale(1.04); }
.article__corps { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.article__meta { font-size: 11.5px; color: var(--bleu); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.article__corps h3, .article__corps .wp-block-post-title { font-size: 16px; font-weight: 500; margin: 0 0 10px; line-height: 1.35; }
.article__corps .wp-block-post-title a:hover { color: var(--bleu); }
.article__corps .wp-block-post-excerpt { margin: 0; }
.article__corps .wp-block-post-excerpt__excerpt { font-size: 13px; line-height: 1.65; margin: 0; }
.article__lien { margin-top: auto; padding-top: 16px; font-size: 12px; font-weight: 500; color: var(--vert); text-transform: uppercase; letter-spacing: .05em; }

/* ---------- Avis ---------- */
.realisations { padding-block: 90px; background: #fff; }
.cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 44px auto 48px; max-width: 900px; }
.carte { background: #fff; border: 1px solid var(--filet); box-shadow: 0 2px 6px rgba(0,0,0,.05); text-align: center; }
.avis { padding: 30px 26px 26px; display: flex; flex-direction: column; align-items: center; }
.avis__initiales { width: 54px; height: 54px; border-radius: 50%; background: var(--fond-2); border: 1px solid var(--filet); color: var(--texte); font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; }
.avis__nom { margin-top: 14px; color: var(--texte); font-weight: 500; font-size: 14px; }
.avis__etoiles { color: #F2B21E; letter-spacing: 3px; font-size: 15px; margin: 6px 0 14px; }
.avis__texte { font-size: 13px; line-height: 1.7; }
.avis__source { margin-top: auto; padding-top: 18px; font-size: 11px; color: var(--bleu); text-transform: uppercase; letter-spacing: .05em; }

/* ---------- Valeurs ---------- */
.temoignage { position: relative; padding-block: 70px; overflow: hidden; text-align: center; color: #fff; }
.temoignage::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(88, 88, 88, .55); }
.temoignage__fond { position: absolute; inset: 0; }
.temoignage__fond img { width: 100%; height: 100%; object-fit: cover; }
.temoignage__in { position: relative; z-index: 2; }
.temoignage__avatar img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; margin: 0 auto 34px; border: 4px solid #fff; }
.temoignage__citation { max-width: 720px; margin-inline: auto; font-size: 20px; font-weight: 300; line-height: 1.8; color: #fff; }
.temoignage__citation::after { content: ""; display: block; width: 28px; height: 22px; margin: 32px auto 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 24'%3E%3Cpath d='M0 24V13C0 5 4 1 12 0v5c-4 1-6 3-6 7h6v12zm18 0V13c0-8 4-12 12-13v5c-4 1-6 3-6 7h6v12z' fill='%233F861C'/%3E%3C/svg%3E") center / contain no-repeat; }
.temoignage__nom { font-weight: 700; color: #fff; font-size: 14px; }
.temoignage__lieu { font-size: 12px; color: rgba(255,255,255,.7); }

/* ---------- FAQ ---------- */
.faq { padding-block: 90px; background: #fff; }
.faq__grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; max-width: 900px; margin: 54px auto 50px; text-align: center; }
.question::before { background: var(--vert) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ctext x='12' y='18' font-family='Arial' font-weight='700' font-size='18' text-anchor='middle' fill='%23fff'%3E%3F%3C/text%3E%3C/svg%3E") center / 30px no-repeat; box-shadow: 0 0 0 7px rgba(63, 134, 28, .16); }
.question::before { margin-bottom: 34px; }
.question h3 { font-size: 15px; font-weight: 500; margin: 0 0 14px; }
.question p { font-size: 13px; }

/* ---------- Carte ---------- */
.carte-zone { position: relative; height: 380px; background: #E5E3DF; overflow: hidden; }
.carte-zone__fond { height: 100%; }
.carte-zone__fond img { width: 100%; height: 100%; object-fit: cover; }
.carte-zone__legende { position: absolute; right: 8px; bottom: 4px; font-size: 10px; color: #888; }

/* ---------- Bandeau ---------- */
.bandeau { background: var(--bleu); color: #fff; }
.bandeau__in { display: flex; align-items: center; gap: 60px; padding-block: 30px; }
.bandeau__item { display: grid; grid-template-columns: 44px auto; column-gap: 14px; align-items: center; }
.bandeau__item::before { grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; -webkit-mask: none; mask: none; background: #fff center / 20px no-repeat; }
.bandeau__item--tel::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230A7DB0' 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 1l-2.3 2.2z'/%3E%3C/svg%3E"); }
.bandeau__item--mail::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A7DB0' stroke-width='2.2' stroke-linejoin='round'%3E%3Cpath d='M3 5h18v14H3zM3 6l9 7 9-7'/%3E%3C/svg%3E"); }
.bandeau__valeur { font-size: 16px; font-weight: 700; line-height: 1.3; color: #fff; }
.bandeau__label { font-size: 11px; opacity: .85; text-transform: uppercase; letter-spacing: .04em; line-height: 1.5; }
.bandeau .wpcf7 { margin-left: auto; width: 340px; }
.bandeau__form .champs { display: flex; background: #fff; margin: 0; }
.bandeau__form .wpcf7-form-control-wrap { flex: 1; display: block; }
.bandeau__form input[type=tel] { width: 100%; height: 44px; border: 0; padding: 0 16px; font-size: 12px; outline: none; color: var(--texte); min-width: 0; }
.bandeau__form .wpcf7-submit { height: 44px; padding: 0 16px; border-radius: 0; background: var(--vert); font-size: 11px; }

/* ---------- Pied ---------- */
.pied { background: var(--anthracite); color: #A9A9A9; }
.pied__grille { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 50px; padding-block: 70px; }
.pied__col--marque { text-align: center; }
.logo--clair { margin-bottom: 20px; }
.logo--clair img { height: 74px; width: auto; margin-inline: auto; }
.pied__description { font-size: 12.5px; line-height: 1.7; }
.coordonnees { margin-top: 22px; display: inline-flex; flex-direction: column; gap: 8px; text-align: left; font-size: 12.5px; padding: 0; }
.coordonnees li { display: flex; align-items: center; }
.coordonnees li::before { width: 15px; height: 15px; margin-right: 10px; color: var(--bleu); }
.coordonnees .coord-tel::before { -webkit-mask-image: var(--ico-tel); mask-image: var(--ico-tel); }
.coordonnees .coord-mail::before { -webkit-mask-image: var(--ico-mail); mask-image: var(--ico-mail); }
.coordonnees strong { color: #fff; font-weight: 500; margin-right: 4px; }
.pied h4 { color: #fff; font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; text-align: center; margin-bottom: 26px; }
.pied__form .champs { display: flex; flex-direction: column; gap: 12px; align-items: center; margin: 0; }
.pied__form .wpcf7-form-control-wrap { display: block; width: 100%; max-width: 300px; }
.pied__form input:not([type=submit]), .pied__form textarea { display: block; width: 100%; border: 1px solid #fff; background: #fff; padding: 10px 14px; font-size: 12px; text-align: center; color: var(--texte); outline: none; border-radius: 0; }
.pied__form textarea { height: 96px; resize: vertical; }
.pied__form .wpcf7-quiz-label { font-size: 12px; color: #C7C7C7; }
.pied__form .wpcf7-submit { margin-top: 8px; }
.recents { text-align: center; padding: 0; }
.recents li + li { margin-top: 10px; }
.recents a { display: block; font-size: 12.5px; color: #C7C7C7; line-height: 1.5; }
.recents a:hover { color: #fff; }
.pied__bas { background: #fff; color: #9A9A9A; text-align: center; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; padding: 18px 15px; }

/* ---------- Contact Form 7 : messages ---------- */
.wpcf7-spinner { display: none !important; }
.wpcf7-not-valid-tip { font-size: 11px; color: #F2B21E; margin-top: 4px; text-align: left; }
.wpcf7 form .wpcf7-response-output { margin: 14px 0 0; padding: 10px 14px; border: 1px solid currentColor; font-size: 12.5px; text-align: center; }
.devis .wpcf7 form .wpcf7-response-output, .bandeau .wpcf7 form .wpcf7-response-output, .pied .wpcf7 form .wpcf7-response-output { color: #fff; }
.screen-reader-response { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Pages internes et articles ---------- */
.page-contenu { padding-block: 70px 90px; }
.page-contenu .wp-block-post-title { font-size: 36px; margin-bottom: 30px; }
.page-contenu .wp-block-post-content { font-size: 15px; color: var(--texte); max-width: 820px; }
.page-contenu .wp-block-post-content > * + * { margin-top: 1em; }
.page-contenu .wp-block-post-content h2 { font-size: 26px; margin-top: 1.6em; }
.page-contenu .wp-block-post-content h3 { font-size: 20px; margin-top: 1.4em; }
.page-contenu .wp-block-post-content a { color: var(--bleu); text-decoration: underline; }
.page-contenu .wp-block-post-content ul { list-style: disc; padding-left: 1.4em; }
.article-une { margin-bottom: 30px; }
.article-une img { width: 100%; max-height: 520px; object-fit: cover; }
.article-date { font-size: 12px; color: var(--bleu); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; }
.wp-block-query-pagination { margin-top: 30px; gap: 16px; justify-content: center; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .entete__infos { display: none; }
  .wp-block-post-template.news__grille { grid-template-columns: repeat(2, 1fr); }
  .atouts__grille { grid-template-columns: repeat(2, 1fr); row-gap: 60px; }
  .news__grille { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px) {
  .barre-haute__droite { display: none; }
  .nav__in { min-height: 60px; }
  .heros { height: 520px; }
  .heros::before { background: rgba(9, 28, 52, .62); }
  .heros__photo img { object-position: 68% center; }
  .heros h1 { font-size: 40px; }
  .artisan, .duo { grid-template-columns: 1fr; }
  .artisan__photo { height: 320px; }
  .artisan__texte, .duo__texte, .duo--inverse .duo__texte { padding: 60px 20px; }
  .duo__photo { height: 320px; }
  .duo--inverse .duo__photo { order: 2; }
  .devis__form .champs { grid-template-columns: 1fr; gap: 10px; }
  .devis__form input:not([type=submit]), .devis__form select { border-right: 1px solid rgba(255,255,255,.18); }
  .cartes, .faq__grille { grid-template-columns: 1fr; max-width: 420px; }
  .bandeau__in { flex-direction: column; align-items: flex-start; gap: 20px; }
  .bandeau .wpcf7 { margin-left: 0; width: 100%; }
  .pied__grille { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .news__grille, .wp-block-post-template.news__grille { grid-template-columns: 1fr; }
  .nav .wp-block-button__link { padding: 12px 18px; }
}
@media (max-width: 480px) {
  .atouts__grille { grid-template-columns: 1fr; }
  .heros h1 { font-size: 34px; }
  .artisan h2 { font-size: 30px; }
  .barre-haute__in p { font-size: 11px; }
  .logo img { height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* Paragraphes vides laissés par l'autop autour des formulaires */
p:empty { display: none; }
.retour-actus { margin-top: 40px; }
