/*
Theme Name: Agence Web 31
Theme URI: https://agence-web31.fr
Author: Agence Web 31
Description: Thème sur mesure d'Agence Web 31 (Toulouse). Bleu nuit, jaune et blanc, police Plus Jakarta Sans hébergée sur le site. Sites, Google Ads, référencement et automatisations, offre « Votre site à 49 €/mois » mise en avant, formulaire de devis, SEO local. Aucun traceur.
Version: 4.4.2
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: agenceweb31
License: Propriétaire — © Agence Web 31
*/

/* ==========================================================================
   Police (assets/fonts, licence SIL OFL) : Plus Jakarta Sans variable, graisses 400 à 800.
   ========================================================================== */
@font-face { font-family: "Plus Jakarta Sans"; src: url("assets/fonts/plus-jakarta-sans-latin-wght.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Jakarta repli"; src: local("Arial"); size-adjust: 104%; ascent-override: 95%; descent-override: 24%; }

/* ==========================================================================
   Charte : trois couleurs seulement. Bleu nuit, jaune (le prix et les boutons), blanc.
   ========================================================================== */
:root {
  --aw-ink: #15214F;
  --aw-night: #101A3F;
  --aw-acc: #FFC83D;
  --aw-acc-h: #FFD66B;
  --aw-white: #FFFFFF;
  --aw-light: #F4F5F9;
  --aw-grey: #5B6478;
  --aw-on-dark: #C3CAE0;
  --aw-line: #E2E5EE;
  --aw-line-dark: rgb(255 255 255 / .14);
  --aw-sans: "Plus Jakarta Sans", "Jakarta repli", system-ui, sans-serif;
  --aw-ease: cubic-bezier(.2, .8, .2, 1);
  --aw-gutter: clamp(18px, 3vw, 40px);
  --aw-wide: 1240px;
  --aw-radius: 20px;
  --aw-shadow: 0 1px 2px rgb(21 33 79 / .06), 0 12px 32px -12px rgb(21 33 79 / .18);
  --aw-arrow: 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.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  /* Anciens noms, encore lus par articles.css, offre-site.css et les contenus existants. */
  --aw-ink-2: var(--aw-grey);
  --aw-muted: var(--aw-grey);
  --aw-paper: var(--aw-white);
  --aw-bg: var(--aw-white);
  --aw-accent: var(--aw-acc);
  --aw-accent-d: #E5AE1F;
  --aw-display: var(--aw-sans);
  --aw-mono-f: var(--aw-sans);
  --aw-serif: var(--aw-sans);
  --aw-r: 16px;
  --aw-brique: var(--aw-acc);
  --aw-sable: var(--aw-light);
  --aw-rose: var(--aw-light);
  --aw-violette: var(--aw-ink);
  --aw-violette-soft: #FFF4D6;
  --aw-line-strong: rgb(21 33 79 / .3);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--aw-white); color: var(--aw-ink); overflow-x: clip;
  font-family: var(--aw-sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--aw-ink); text-decoration-color: currentColor; text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { color: var(--aw-ink); text-decoration-color: var(--aw-ink); }
:focus-visible { outline: 3px solid var(--aw-ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--aw-acc); }
::selection { background: var(--aw-acc); color: var(--aw-ink); }
h1, h2, h3, h4 { font-family: var(--aw-sans); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; margin: 0 0 .5em; color: inherit; text-wrap: balance; }
h1 { font-size: clamp(38px, 5vw, 64px); }
h2 { font-size: clamp(30px, 3.6vw, 46px); }
h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; }
h4 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
strong, b { font-weight: 700; }
/* WordPress remet à zéro les marges des blocs (:root :where(.is-layout-flow) > *) : on rend leur respiration aux titres. */
.aw-main :is(h1, h2).wp-block-heading { margin-block-end: 18px; }
.aw-main h3.wp-block-heading { margin-block-end: 10px; }
.aw-main .aw-split p, .aw-main .aw-prose p { margin-block-end: 1em; }

.aw-muted { color: var(--aw-grey); }
.aw-lead { font-size: clamp(17px, 1.4vw, 19px); max-width: 620px; color: var(--aw-grey); }
.aw-note { font-size: 14px; color: var(--aw-grey); margin-top: 20px !important; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; margin: -1px; padding: 0; border: 0; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 999; background: #fff; color: var(--aw-ink); padding: 10px 14px; border-radius: 8px; }

/* Neutralise les espacements par défaut de WordPress dans nos sections. */
.wp-site-blocks > * + * { margin-block-start: 0; }
.aw-main > * { margin-block: 0 !important; }
.is-layout-flow > * + * { margin-block-start: 0; }
.aw-wrap { max-width: var(--aw-wide); margin-inline: auto !important; padding-inline: var(--aw-gutter); width: 100%; }
.aw-section { padding-block: clamp(64px, 8vw, 110px); }
.aw-section--tight { padding-top: 0; }
.aw-section--top { padding-bottom: clamp(24px, 4vw, 40px); }
.aw-section--grey { background: var(--aw-light); }
.aw-head { max-width: 760px; margin: 0 0 clamp(32px, 4vw, 52px) !important; }
.aw-head h2 { margin-bottom: 14px; }
.aw-head p { color: var(--aw-grey); font-size: 18px; max-width: 620px; margin: 0; }
.aw-centre { justify-content: center; margin-top: clamp(32px, 4vw, 48px) !important; }

/* Apparition douce au défilement, seulement là où le navigateur sait le faire sans JavaScript. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .aw-head, .aw-cmp__c, .aw-et li, .aw-of, .aw-eng li, .aw-examples figure {
      animation: aw-monte linear both; animation-timeline: view(); animation-range: entry 0% entry 40%;
    }
  }
}
@keyframes aw-monte { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Boutons : jaune plein (action principale), contour (action secondaire).
   ========================================================================== */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.wp-block-button { margin: 0; }
.wp-block-button__link, .aw-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 14px 26px;
  border-radius: 999px; font-family: var(--aw-sans); font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none;
  background: var(--aw-acc); color: var(--aw-ink); border: 0; cursor: pointer;
  transition: background-color .25s var(--aw-ease), transform .25s var(--aw-ease), box-shadow .25s var(--aw-ease);
  box-shadow: 0 8px 20px -10px rgb(229 174 31 / .8);
}
.wp-block-button__link:hover, .aw-btn:hover { background: var(--aw-acc-h); color: var(--aw-ink); transform: translateY(-1px); }

.wp-block-button:not(.is-style-outline) .wp-block-button__link::after {
  content: ""; width: 18px; height: 18px; flex: none; background: currentColor;
  -webkit-mask: var(--aw-arrow) center / contain no-repeat; mask: var(--aw-arrow) center / contain no-repeat;
  transition: transform .25s var(--aw-ease);
}
.wp-block-button__link:hover::after { transform: translateX(3px); }
.is-style-outline .wp-block-button__link { background: transparent; color: var(--aw-ink); box-shadow: inset 0 0 0 2px var(--aw-ink); }
.is-style-outline .wp-block-button__link:hover { background: var(--aw-ink); color: #fff; }

/* ==========================================================================
   En-tête : barre blanche fixe, logo, menu, bouton jaune.
   ========================================================================== */
.aw-hd { position: sticky; top: 0; z-index: 60; background: rgb(255 255 255 / .96); border-bottom: 1px solid var(--aw-line); }
@supports (backdrop-filter: blur(1px)) { .aw-hd { background: rgb(255 255 255 / .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); } }
.admin-bar .aw-hd { top: 32px; }
@media (max-width: 782px) { .admin-bar .aw-hd { top: 46px; } }
@media (max-width: 600px) { .admin-bar .aw-hd { top: 0; } }
.aw-hd__in { max-width: var(--aw-wide); margin: 0 auto; padding: 0 var(--aw-gutter); height: 76px; display: flex; align-items: center; gap: 24px; }
.aw-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--aw-ink); text-decoration: none; flex: none; }
.aw-logo:hover { color: inherit; }
.aw-logo__mark { width: 34px; height: auto; stroke: currentColor; overflow: visible; }
.aw-logo__pointe { fill: var(--aw-acc); stroke: none; }
.aw-logo__txt { font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.aw-nav { display: flex; gap: 4px; margin-left: auto; }
.aw-nav a { white-space: nowrap; padding: 10px 14px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--aw-ink); text-decoration: none; transition: background-color .2s; }
.aw-nav a:hover { background: var(--aw-light); }
.aw-hd__right { display: flex; align-items: center; gap: 10px; }
.aw-hd__cta { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 20px; border-radius: 999px; background: var(--aw-acc); color: var(--aw-ink); font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; transition: background-color .2s; }
.aw-hd__cta:hover { background: var(--aw-acc-h); color: var(--aw-ink); }
.aw-burger { display: none; }
@media (max-width: 1180px) {
  .aw-nav { display: none; }
  .aw-hd__right { margin-left: auto; }
  .aw-burger { display: block; }
}
@media (max-width: 420px) { .aw-hd__cta { padding: 10px 14px; font-size: 14px; } .aw-logo__txt { font-size: 17px; } .aw-hd__in { gap: 12px; height: 68px; } .aw-burger__panel { top: 68px; } }
.aw-burger > summary { list-style: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-content: center; gap: 6px; cursor: pointer; background: var(--aw-light); position: relative; z-index: 2; }
.aw-burger > summary::-webkit-details-marker { display: none; }
.aw-burger > summary span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--aw-ink); transition: transform .3s var(--aw-ease); }
.aw-burger[open] > summary span:first-child { transform: translateY(4px) rotate(45deg); }
.aw-burger[open] > summary span:last-child { transform: translateY(-4px) rotate(-45deg); }
.aw-burger__panel { position: fixed; left: 0; right: 0; top: 76px; bottom: 0; background: var(--aw-white); padding: 16px var(--aw-gutter) 32px; overflow-y: auto; border-top: 1px solid var(--aw-line); }
.aw-burger__panel ul { list-style: none; margin: 0 0 24px; padding: 0; }
.aw-burger__panel li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--aw-line); color: var(--aw-ink); text-decoration: none; font-weight: 700; font-size: 20px; }
.aw-burger__cta { display: flex; justify-content: center; min-height: 54px; align-items: center; border-radius: 999px; background: var(--aw-acc); color: var(--aw-ink); font-weight: 700; text-decoration: none; }

/* ==========================================================================
   Accueil : haut de page bleu nuit, le prix en très grand.
   ========================================================================== */
.aw-hx { padding: 12px var(--aw-gutter) 0; }
.aw-hx__in {
  max-width: calc(var(--aw-wide) + 160px); margin: 0 auto; border-radius: 28px; overflow: hidden;
  background: var(--aw-night); color: #fff; display: grid; grid-template-columns: 1.08fr .92fr; align-items: stretch;
}
.aw-hx__txt { padding: clamp(36px, 6vw, 80px) clamp(24px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; }
.aw-badge { display: inline-flex; align-self: flex-start; padding: 7px 14px; border-radius: 999px; background: rgb(255 255 255 / .08); box-shadow: inset 0 0 0 1px var(--aw-line-dark); color: var(--aw-on-dark); font-size: 14px; font-weight: 600; margin: 0 0 22px; }
.aw-hx h1 { color: #fff; font-size: clamp(34px, 4.2vw, 56px); margin: 0 0 18px; max-width: 13em; }
.aw-px { display: flex; align-items: center; gap: 18px; margin: 0 0 26px; }
.aw-px__n { font-size: clamp(92px, 11vw, 156px); font-weight: 800; letter-spacing: -0.05em; line-height: .9; color: var(--aw-acc); white-space: nowrap; }
.aw-px__u { display: flex; flex-direction: column; font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; color: #fff; }
.aw-px__u small { margin-top: 10px; font-size: 15px; font-weight: 500; letter-spacing: 0; line-height: 1.45; color: var(--aw-on-dark); }
.aw-hx__lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--aw-on-dark); max-width: 34em; margin-bottom: 18px; }
/* Tous les services en liens dans le haut de page. */
.aw-svc { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.aw-svc a { display: inline-flex; min-height: 38px; align-items: center; padding: 7px 14px; border-radius: 999px; background: rgb(255 255 255 / .08); box-shadow: inset 0 0 0 1px var(--aw-line-dark); color: #fff; font-size: 14.5px; font-weight: 600; text-decoration: none; transition: background-color .2s, color .2s; }
.aw-svc a:hover { background: var(--aw-acc); color: var(--aw-ink); box-shadow: none; }
.aw-hx .is-style-outline .wp-block-button__link, .aw-fin .is-style-outline .wp-block-button__link { color: #fff; box-shadow: inset 0 0 0 2px rgb(255 255 255 / .5); }
.aw-hx .is-style-outline .wp-block-button__link:hover, .aw-fin .is-style-outline .wp-block-button__link:hover { background: #fff; color: var(--aw-ink); }
.aw-hx__photo { margin: 0; position: relative; min-height: 420px; }
.aw-hx__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
@media (max-width: 900px) {
  .aw-hx { padding: 8px 8px 0; }
  .aw-hx__in { grid-template-columns: 1fr; border-radius: 22px; }
  .aw-hx__photo { min-height: 0; aspect-ratio: 4 / 3; order: -1; }
  .aw-hx__txt { padding: 28px 22px 34px; }
}
@media (max-width: 420px) { .aw-px { gap: 12px; } .aw-px__u small { font-size: 13.5px; } }

/* Listes à coches. */
.aw-coches { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.aw-coches li { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; font-size: 16px; }
.aw-coches svg { width: 22px; height: 22px; flex: none; padding: 3px; border-radius: 50%; background: var(--aw-acc); color: var(--aw-ink); margin-top: 1px; }
.aw-coches--clair { margin-top: 28px; }
.aw-coches--clair li { color: #fff; font-size: 15px; }
.aw-coches--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; margin-top: 28px; }
@media (max-width: 560px) { .aw-coches--2 { grid-template-columns: 1fr; } }

/* Tout est compris + comparaison des prix. */
.aw-inc__grid { display: grid !important; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.aw-cmp { display: grid; gap: 12px; }
.aw-cmp__c { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 4px 20px; padding: 20px 24px; border-radius: var(--aw-radius); background: var(--aw-light); }
.aw-cmp__c p { margin: 0; }
.aw-cmp__qui { font-weight: 700; }
.aw-cmp__prix { font-weight: 800; font-size: 20px; letter-spacing: -0.02em; text-align: right; white-space: nowrap; }
.aw-cmp__txt { grid-column: 1 / -1; color: var(--aw-grey); font-size: 15px; }
.aw-cmp__c--nous { background: var(--aw-night); color: #fff; padding: 26px 24px; box-shadow: var(--aw-shadow); }
.aw-cmp__c--nous .aw-cmp__prix { color: var(--aw-acc); font-size: clamp(28px, 3vw, 36px); }
.aw-cmp__c--nous .aw-cmp__txt { color: var(--aw-on-dark); }
@media (max-width: 900px) { .aw-inc__grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .aw-cmp__c { grid-template-columns: 1fr; } .aw-cmp__prix { text-align: left; } }

/* Trois étapes. */
.aw-et { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.aw-et li { background: var(--aw-white); border-radius: var(--aw-radius); padding: 30px 28px; box-shadow: var(--aw-shadow); }
.aw-et__n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--aw-acc); color: var(--aw-ink); font-weight: 800; font-size: 20px; margin-bottom: 22px; }
.aw-et h3 { margin-bottom: 8px; }
.aw-et p { color: var(--aw-grey); margin: 0; }
@media (max-width: 860px) { .aw-et { grid-template-columns: 1fr; } }

/* Exemples de sites (photos du commerce). */
.aw-examples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.aw-examples figure { margin: 0; border-radius: var(--aw-radius); overflow: hidden; background: var(--aw-light); }
.aw-examples img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--aw-ease); }
.aw-examples figure:hover img { transform: scale(1.03); }
.aw-examples figcaption { padding: 18px 22px 20px; color: var(--aw-grey); font-size: 15px; }
.aw-examples figcaption b { display: block; color: var(--aw-ink); font-size: 18px; margin-bottom: 2px; }
@media (max-width: 860px) { .aw-examples { grid-template-columns: 1fr; } }

/* Autres offres. */
.aw-ofs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.aw-of { display: flex; flex-direction: column; background: var(--aw-white); border-radius: var(--aw-radius); overflow: hidden; text-decoration: none; color: var(--aw-ink); box-shadow: var(--aw-shadow); transition: transform .3s var(--aw-ease), box-shadow .3s var(--aw-ease); }
.aw-of:hover { color: var(--aw-ink); transform: translateY(-4px); box-shadow: 0 1px 2px rgb(21 33 79 / .06), 0 22px 40px -16px rgb(21 33 79 / .28); }
.aw-of__ph { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; }
.aw-of__ph img { width: 100%; height: 100%; object-fit: cover; }
.aw-of__b { display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 24px; flex: 1; }
.aw-of__t { font-weight: 800; font-size: 19px; letter-spacing: -0.015em; }
.aw-of__d { color: var(--aw-grey); font-size: 15px; flex: 1; }
.aw-of__l { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--aw-line); font-weight: 700; font-size: 15px; }
.aw-of__l svg { width: 20px; height: 20px; color: var(--aw-ink); transition: transform .25s var(--aw-ease); }
.aw-of:hover .aw-of__l svg { transform: translateX(4px); }
.aw-ofs--3 { grid-template-columns: repeat(3, 1fr); }
.aw-section:not(.aw-section--grey) .aw-of { box-shadow: inset 0 0 0 1px var(--aw-line), var(--aw-shadow); }
.aw-of--prix, .aw-section:not(.aw-section--grey) .aw-of--prix { background: var(--aw-night); color: #fff; box-shadow: var(--aw-shadow); }
.aw-of--prix:hover { color: #fff; }
.aw-of--prix .aw-of__d { color: var(--aw-on-dark); }
.aw-of--prix .aw-of__l { border-top-color: var(--aw-line-dark); color: var(--aw-acc); font-size: 22px; font-weight: 800; }
.aw-of--prix .aw-of__l svg { color: var(--aw-acc); }
@media (max-width: 1080px) { .aw-ofs, .aw-ofs--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .aw-ofs { grid-template-columns: 1fr; } }

/* Engagements. */
.aw-eng { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.aw-eng li { border-top: 3px solid var(--aw-acc); padding-top: 22px; }
.aw-eng h3 { margin-bottom: 8px; }
.aw-eng p { color: var(--aw-grey); margin: 0; font-size: 16px; }
@media (max-width: 960px) { .aw-eng { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .aw-eng { grid-template-columns: 1fr; } }

/* Questions. */
.aw-q { display: grid !important; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 860px) { .aw-q { grid-template-columns: 1fr; } }
.aw-faq { display: grid; gap: 10px; }
.aw-faq details, .wp-block-details { background: var(--aw-white); border-radius: 16px; box-shadow: inset 0 0 0 1px var(--aw-line); }
.aw-section--grey .aw-faq details { box-shadow: none; }
.aw-faq summary, .wp-block-details summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; font-weight: 700; font-size: 17px; position: relative; }
.aw-faq summary::-webkit-details-marker, .wp-block-details summary::-webkit-details-marker { display: none; }
.aw-faq summary::after, .wp-block-details summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  background: var(--aw-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315214F' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .3s var(--aw-ease), background-color .3s;
}
.aw-faq details[open] summary::after, .wp-block-details[open] summary::after { transform: rotate(45deg); background-color: var(--aw-acc); }
.aw-faq details p, .wp-block-details p { padding: 0 24px 22px; margin: 0; color: var(--aw-grey); }

/* Bandeau final bleu nuit. */
.aw-fin { padding: clamp(48px, 7vw, 96px) var(--aw-gutter) clamp(32px, 4vw, 48px); }
.aw-fin__in { max-width: calc(var(--aw-wide) + 160px); margin: 0 auto; border-radius: 28px; background: var(--aw-night); color: #fff; text-align: center; padding: clamp(48px, 7vw, 88px) clamp(22px, 5vw, 60px); }
.aw-fin h2 { color: #fff; font-size: clamp(34px, 4.6vw, 60px); margin-bottom: 14px; }
.aw-fin__lead { color: var(--aw-on-dark); font-size: 18px; margin: 0 auto 30px; max-width: 34em; }
.aw-fin .wp-block-buttons { justify-content: center; }
.aw-fin__mail { margin: 26px 0 0; color: var(--aw-on-dark); font-size: 15px; }
.aw-fin__mail a { color: #fff; }

/* ==========================================================================
   Pages intérieures : en-tête avec photo, colonnes, listes, étapes, fin de page.
   ========================================================================== */
.aw-hero { padding: clamp(36px, 5vw, 64px) 0 clamp(48px, 6vw, 80px); }
.aw-hero__grid { display: grid !important; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.aw-hero h1 { font-size: clamp(36px, 4.6vw, 58px); }
.aw-hero__text .aw-lead { margin-bottom: 28px; }
.aw-hero__media { margin: 0; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; }
.aw-hero__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .aw-hero__grid { grid-template-columns: 1fr; } .aw-hero__media { order: -1; } }
.aw-page-hero { padding: clamp(64px, 9vw, 120px) 0; }

.aw-split { display: grid !important; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.aw-split p { color: var(--aw-grey); }
.aw-split--centre { align-items: center; }
.aw-split .wp-block-buttons { margin-top: 28px; }
.aw-coches--cartes { display: grid; gap: 12px; }
.aw-coches--cartes li { align-items: center; padding: 18px 20px; border-radius: 16px; background: var(--aw-white); box-shadow: var(--aw-shadow); font-size: 16px; }
@media (max-width: 860px) { .aw-split { grid-template-columns: 1fr; } }
.aw-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.aw-checklist li { position: relative; padding: 16px 20px 16px 56px; border-radius: 14px; background: var(--aw-light); color: var(--aw-grey); }
.aw-checklist li::before {
  content: ""; position: absolute; left: 18px; top: 17px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--aw-acc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315214F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.aw-checklist strong { color: var(--aw-ink); }
.aw-section--grey .aw-checklist li { background: var(--aw-white); }

.aw-steps { list-style: none; counter-reset: e; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.aw-steps li { counter-increment: e; background: var(--aw-white); border-radius: var(--aw-radius); padding: 28px 24px; color: var(--aw-grey); box-shadow: var(--aw-shadow); }
.aw-steps li::before { content: counter(e); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--aw-acc); color: var(--aw-ink); font-weight: 800; margin-bottom: 18px; }
.aw-steps b { color: var(--aw-ink); }
@media (max-width: 960px) { .aw-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .aw-steps { grid-template-columns: 1fr; } }

.aw-compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.aw-compare > div { background: var(--aw-white); border-radius: var(--aw-radius); padding: 26px 24px; }
.aw-compare h3 { margin-bottom: 8px; }
.aw-compare p { color: var(--aw-grey); margin: 0; }
.aw-compare > div:last-child { background: var(--aw-night); color: #fff; }
.aw-compare > div:last-child p { color: var(--aw-on-dark); }
@media (max-width: 860px) { .aw-compare { grid-template-columns: 1fr; } }

.aw-band { margin: 0 auto; max-width: calc(var(--aw-wide) + 160px); padding: 0 var(--aw-gutter); }
.aw-band img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; border-radius: 28px; }
@media (max-width: 700px) { .aw-band img { aspect-ratio: 4 / 3; border-radius: 20px; } }
.aw-after { padding-bottom: clamp(40px, 5vw, 64px); }

.aw-close { padding: clamp(48px, 7vw, 96px) var(--aw-gutter) clamp(32px, 4vw, 48px); }
.aw-close__grid { max-width: calc(var(--aw-wide) + 160px) !important; padding: 0 !important; border-radius: 28px; overflow: hidden; background: var(--aw-night); color: #fff; display: grid !important; grid-template-columns: 1.1fr .9fr; }
.aw-close__text { padding: clamp(36px, 6vw, 72px) clamp(24px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.aw-close h2 { color: #fff; }
.aw-close .aw-lead { color: var(--aw-on-dark); margin-bottom: 28px; }
.aw-close .is-style-outline .wp-block-button__link { color: #fff; box-shadow: inset 0 0 0 2px rgb(255 255 255 / .5); }
.aw-close .is-style-outline .wp-block-button__link:hover { background: #fff; color: var(--aw-ink); }
.aw-close__media { margin: 0; position: relative; min-height: 320px; }
.aw-close__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .aw-close__grid { grid-template-columns: 1fr; } .aw-close__media { min-height: 0; aspect-ratio: 16 / 9; } }

/* Contact et formulaire de devis. */
.aw-contact { display: grid !important; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .aw-contact { grid-template-columns: 1fr; } .aw-contact .aw-form { order: -1; } }
.aw-contact__info p { margin-bottom: 22px; color: var(--aw-grey); }
.aw-contact__info b { color: var(--aw-ink); }
.aw-contact__photo { margin: 0 0 28px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--aw-radius); }
.aw-contact__photo img { width: 100%; height: 100%; object-fit: cover; }
.aw-form { background: var(--aw-white); border-radius: 24px; padding: clamp(22px, 4vw, 40px); display: grid; gap: 18px; box-shadow: inset 0 0 0 1px var(--aw-line), var(--aw-shadow); }
.aw-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .aw-form__row { grid-template-columns: 1fr; } }
.aw-form label { display: grid; gap: 8px; font-size: 15px; font-weight: 700; color: var(--aw-ink); }
.aw-form input:not([type=checkbox]):not([type=radio]), .aw-form textarea, .aw-form select {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--aw-line); background: var(--aw-light);
  font: 500 16px/1.4 var(--aw-sans); color: var(--aw-ink); transition: border-color .2s, background-color .2s;
}
.aw-form textarea { min-height: 150px; resize: vertical; }
.aw-form input:focus, .aw-form textarea:focus, .aw-form select:focus { outline: none; border-color: var(--aw-acc); background: #fff; }
.aw-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.aw-form legend { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.aw-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.aw-chips label { display: inline-flex; font-weight: 600; font-size: 14px; cursor: pointer; }
.aw-chips input { position: absolute; opacity: 0; pointer-events: none; }
.aw-chips span { min-height: 40px; display: inline-flex; align-items: center; padding: 9px 15px; border-radius: 999px; background: var(--aw-light); box-shadow: inset 0 0 0 1.5px var(--aw-line); transition: background-color .2s, color .2s; }
.aw-chips label:hover span { box-shadow: inset 0 0 0 1.5px var(--aw-ink); }
.aw-chips input:checked + span { background: var(--aw-ink); color: #fff; box-shadow: none; }
.aw-chips input:focus-visible + span { outline: 3px solid var(--aw-acc); outline-offset: 2px; }
.aw-form .aw-consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 14px; color: var(--aw-grey); }
.aw-form .aw-consent input { margin-top: 3px; accent-color: var(--aw-ink); }
.aw-form .aw-hp { position: absolute; left: -9999px; }
.aw-notice { padding: 14px 18px; border-radius: 12px; background: #E8F6EE; color: #14532D; font-weight: 600; margin: 0; }
.aw-notice--err { background: #FDECEC; color: #8A1C1C; }

/* Textes longs, articles, liste des articles. */
.aw-prose { max-width: 760px; margin-inline: auto !important; padding-inline: var(--aw-gutter); }
.aw-prose h1 { font-size: clamp(34px, 4.4vw, 52px); margin-bottom: .5em; }
.aw-prose h2 { font-size: clamp(24px, 2.6vw, 30px); margin-top: 1.6em; }
.aw-prose h3 { margin-top: 1.4em; }
.aw-prose ul, .aw-prose ol { padding-left: 1.2em; }
.aw-prose table { width: 100%; border-collapse: collapse; }
.aw-prose td { padding: 12px 0; border-bottom: 1px solid var(--aw-line); vertical-align: top; }
.aw-prose td:first-child { color: var(--aw-grey); width: 40%; }
.aw-prose .wp-block-post-featured-image img { border-radius: var(--aw-radius); }
.aw-prose .wp-block-post-date { color: var(--aw-grey); font-size: 15px; margin-bottom: 24px; }
.aw-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-top: 32px; padding: 0; list-style: none; }
.aw-posts .aw-service { background: var(--aw-light); border-radius: var(--aw-radius); padding: 26px 24px; height: 100%; }
.aw-posts .aw-service h3 { font-size: 20px; margin: 6px 0 10px; }
.aw-posts .aw-service h3 a { color: var(--aw-ink); text-decoration: none; }
.aw-posts .aw-service h3 a:hover { text-decoration: underline; }
.aw-posts .wp-block-post-date { font-size: 14px; color: var(--aw-grey); }
.aw-posts .wp-block-post-excerpt { color: var(--aw-grey); font-size: 16px; }
.wp-block-query-pagination { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 40px; font-weight: 600; }
.wp-block-query-pagination-numbers { display: flex; gap: 12px; }

/* ==========================================================================
   Pied de page bleu nuit.
   ========================================================================== */
.aw-footer { background: var(--aw-night); color: var(--aw-on-dark); margin-top: 0; }
.aw-footer__in { max-width: var(--aw-wide); margin: 0 auto; padding: clamp(48px, 6vw, 72px) var(--aw-gutter) 28px; }
.aw-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid var(--aw-line-dark); }
.aw-footer__marque p { margin: 18px 0 0; font-size: 15px; max-width: 26em; }
.aw-logo--clair, .aw-logo--clair:hover { color: #fff; }
.aw-footer__prix b { color: var(--aw-acc); font-size: 22px; font-weight: 800; }
.aw-footer__col { display: flex; flex-direction: column; gap: 10px; }
.aw-footer__t { color: #fff; font-weight: 700; margin: 0 0 6px; }
.aw-footer a:not(.aw-logo) { color: var(--aw-on-dark); text-decoration: none; font-size: 15px; }
.aw-footer a:not(.aw-logo):hover { color: #fff; text-decoration: underline; text-decoration-color: var(--aw-acc); }
.aw-footer__legal { padding-top: 22px; font-size: 13.5px; }
@media (max-width: 900px) { .aw-footer__grid { grid-template-columns: 1fr 1fr; } .aw-footer__marque { grid-column: 1 / -1; } }
@media (max-width: 520px) { .aw-footer__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Petites touches de mouvement (4.4.0) : seulement si le visiteur accepte les animations.
   Rien ne bouge tout seul ; chaque mouvement répond à une action ou relie deux états.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  /* Passage d'une page à l'autre : l'en-tête reste en place, le contenu glisse en fondu (Chrome, Edge, Safari récents). */
  @view-transition { navigation: auto; }
  .aw-hd { view-transition-name: aw-entete; }
  ::view-transition-old(root) { animation: aw-vt-sort .2s var(--aw-ease) both; }
  ::view-transition-new(root) { animation: aw-vt-entre .35s var(--aw-ease) both; }

  /* Questions : la réponse s'ouvre et se referme en douceur au lieu d'apparaître d'un coup. */
  :root { interpolate-size: allow-keywords; }
  :is(.aw-faq details, .wp-block-details, .aw31o-faq details)::details-content {
    height: 0; overflow: clip; transition: height .3s var(--aw-ease), content-visibility .3s allow-discrete;
  }
  :is(.aw-faq details, .wp-block-details, .aw31o-faq details)[open]::details-content { height: auto; }

  /* Message de confirmation du formulaire de devis. */
  .aw-notice { animation: aw-monte .4s var(--aw-ease) both; }
}
@keyframes aw-vt-sort { to { opacity: 0; transform: translateY(-8px); } }
@keyframes aw-vt-entre { from { opacity: 0; transform: translateY(12px); } }

/* Boutons : ils s'enfoncent légèrement sous le doigt ou le clic. */
.wp-block-button__link:active, .aw-btn:active, .aw-hd__cta:active { transform: scale(.97); transition-duration: .1s; }
.aw-hd__cta { transition: background-color .2s, transform .16s var(--aw-ease); }

/* ==========================================================================
   Petits écrans (4.4.1) : contrôlé de 360 à 1920 px de large.
   ========================================================================== */
/* En-tête : logo, bouton et menu tiennent sur 360 px ; sous 340 px, le bouton laisse sa place (il est en haut de page). */
@media (max-width: 400px) {
  .aw-hd__in { gap: 8px; padding: 0 14px; }
  .aw-logo { gap: 7px; }
  .aw-logo__mark { width: 28px; }
  .aw-logo__txt { font-size: 15.5px; }
  .aw-hd__right { gap: 6px; }
  .aw-hd__cta { padding: 9px 12px; font-size: 13.5px; min-height: 42px; }
  .aw-burger > summary { width: 42px; height: 42px; }
}
@media (max-width: 340px) { .aw-hd__right .aw-hd__cta { display: none; } }
/* Prix du haut de page : sur téléphone, la phrase passe sous « 49 € par mois » au lieu d'une colonne étroite. */
@media (max-width: 480px) {
  .aw-px { flex-wrap: wrap; align-items: flex-end; row-gap: 10px; }
  .aw-px__u { display: contents; }
  .aw-px__u small { flex-basis: 100%; margin-top: 0; font-size: 14.5px; }
}
/* Numéros de page du blog : cibles assez grandes pour le doigt. */
.wp-block-query-pagination a, .wp-block-query-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
/* Tablettes : photo du haut moins haute, le titre et le prix restent visibles sans descendre. */
@media (min-width: 601px) and (max-width: 900px) { .aw-hx__photo { aspect-ratio: 16 / 9; } }
