/* Allo Sophie 44 : feuille sur mesure (16/10/2026). DA de Sophie : bleu et jaune du logo,
   crème de ses publications, Gabarito (titres, proche de la lettre du logo) + Figtree, Caveat
   pour les mots écrits à la main (Avant, Après, signature), comme sur ses visuels. */

:root {
  --bleu: #1A55A7;
  --bleu-f: #134186;
  --marine: #0C2650;
  --jaune: #F9D24F;
  --jaune-f: #EDBE24;
  --creme: #FBF6EA;
  --creme-2: #F3EAD3;
  --blanc: #FFFFFF;
  --texte: #18213A;
  --texte-2: #4B556B;
  --ligne: #E7DEC8;
  --r: 18px;
  --r-s: 12px;
  --ombre: 0 18px 40px -18px rgba(12, 38, 80, .28), 0 2px 6px rgba(12, 38, 80, .06);
  --titre: "Gabarito", "Figtree", system-ui, sans-serif;
  --corps: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --main: "Caveat", cursive;
  --wrap: 1200px;
  --haut-entete: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--haut-entete) + 12px); -webkit-text-size-adjust: 100%; }
body.as { margin: 0; background: var(--creme); color: var(--texte); font-family: var(--corps); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.as img { max-width: 100%; height: auto; display: block; }
.as a { color: inherit; }
.as h1, .as h2, .as h3, .as h4 { font-family: var(--titre); color: var(--marine); line-height: 1.12; margin: 0; letter-spacing: -.01em; }
.as h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; }
.as h3 { font-size: clamp(23px, 2.2vw, 30px); font-weight: 750; }
.as h4 { font-size: 20px; font-weight: 700; }
.as p { margin: 0; }
.as figure { margin: 0; }
.as-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.as-ico { width: 1.15em; height: 1.15em; flex: none; }
.as-saut { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--marine); color: #fff; padding: 10px 16px; border-radius: 8px; }
.as-saut:focus { left: 12px; }
.as :focus-visible { outline: 3px solid var(--jaune-f); outline-offset: 3px; }

/* boutons */
.as-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; font: 700 16px/1 var(--corps); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s, background-color .2s, box-shadow .2s, color .2s; white-space: nowrap; }
.as-btn:hover { transform: translateY(-2px); }
.as-btn-bleu { background: var(--bleu); color: #fff !important; box-shadow: 0 10px 22px -10px rgba(26, 85, 167, .7); }
.as-btn-bleu:hover { background: var(--bleu-f); }
.as-btn-jaune { background: var(--jaune); color: var(--marine) !important; box-shadow: 0 10px 22px -12px rgba(200, 150, 0, .8); }
.as-btn-jaune:hover { background: var(--jaune-f); }
.as-btn-contour { background: transparent; color: var(--bleu) !important; border-color: var(--bleu); }
.as-btn-contour:hover { background: var(--bleu); color: #fff !important; }
.as-btn-l { width: 100%; min-height: 56px; font-size: 17px; }
.as-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* barre du haut + en-tête */
.as-topbar { background: var(--marine); color: #DCE6F7; font-size: 14px; }
.as-topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.as-topbar span, .as-topbar a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.as-topbar-d { gap: 22px !important; }
.as-topbar a:hover { color: var(--jaune); }
.as-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.as-header.is-colle { box-shadow: 0 10px 30px -18px rgba(12, 38, 80, .35); border-color: var(--ligne); }
.as-header-in { display: flex; align-items: center; gap: 28px; height: var(--haut-entete); }
.as-marque { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.as-marque img { width: 54px; height: 54px; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.as-marque:hover img { transform: rotate(-8deg) scale(1.06); }
.as-marque span { display: flex; flex-direction: column; line-height: 1.15; }
.as-marque strong { font: 800 20px/1.1 var(--titre); color: var(--bleu); }
.as-marque em { font-style: normal; font-size: 13.5px; color: var(--texte-2); }
.as-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.as-nav a { display: block; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 15.5px; text-decoration: none; color: var(--texte); transition: color .2s, background-color .2s; }
.as-nav a:hover, .as-nav a.is-ici { color: var(--bleu); background: #EEF3FB; }
.as-nav-actions { display: none; }
.as-header-tel { min-height: 46px; padding: 0 18px; font-size: 15px; }
.as-burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--ligne); background: #fff; color: var(--marine); align-items: center; justify-content: center; cursor: pointer; }
.as-burger .as-ico { width: 24px; height: 24px; }
.as-burger .as-fermer, .as-burger[aria-expanded="true"] .as-ouvrir { display: none; }
.as-burger[aria-expanded="true"] .as-fermer { display: block; }

/* héro */
.as-hero { position: relative; padding: 64px 0 120px; background:
  radial-gradient(1200px 520px at 100% 0%, #FFF3C4 0%, rgba(255, 243, 196, 0) 60%),
  linear-gradient(180deg, #FFFDF7 0%, var(--creme) 100%); overflow: hidden; }
.as-hero-grille { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }
.as-sur { font: 700 16px/1.3 var(--corps); color: var(--bleu); margin-bottom: 18px !important; }
.as-hero h1 { font-size: clamp(38px, 5vw, 64px); font-weight: 850; letter-spacing: -.02em; }
.as-surligne { position: relative; white-space: nowrap; z-index: 0; }
.as-surligne::after { content: ""; position: absolute; left: -4px; right: -6px; bottom: .06em; height: .38em; background: var(--jaune); border-radius: 6px 14px 8px 12px; z-index: -1; transform: rotate(-1.2deg); }
.as-hero-p { font-size: 19px; color: var(--texte-2); margin: 22px 0 30px !important; max-width: 34em; }
.as-hero-zone { display: flex; align-items: center; gap: 8px; margin-top: 26px !important; font-size: 15px; color: var(--texte-2); font-weight: 600; }
.as-hero-zone .as-ico { color: var(--bleu); }
.as-hero-visuel { position: relative; }
.as-hero-visuel::before { content: ""; position: absolute; inset: 8% -6% -7% 9%; background: var(--bleu); border-radius: 36px; transform: rotate(3deg); }
.as-hero-photo { position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--ombre); aspect-ratio: 4 / 3.3; }
.as-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; }
.as-hero-photo figcaption { position: absolute; right: 14px; bottom: 14px; background: rgba(12, 38, 80, .72); color: #fff; font-size: 13px; padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(4px); }
.as-hero-avis { position: absolute; left: -38px; bottom: -42px; width: min(330px, 80%); background: #fff; border-radius: var(--r); padding: 18px 20px; box-shadow: var(--ombre); }
.as-hero-avis p { font: 700 17px/1.35 var(--titre); color: var(--marine); margin: 8px 0 6px !important; }
.as-hero-avis span:last-child { font-size: 14px; color: var(--texte-2); }
.as-hero-badge { position: absolute; right: -18px; top: -26px; width: 132px; height: 132px; border-radius: 50%; background: var(--jaune); color: var(--marine); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 14px; box-shadow: 0 14px 30px -14px rgba(160, 120, 0, .8); transform: rotate(8deg); border: 4px solid #fff; }
.as-hero-badge strong { font: 900 36px/1 var(--titre); color: var(--bleu); }
.as-hero-badge span { font-size: 12px; line-height: 1.2; font-weight: 700; margin-top: 4px; }
.as-etoiles { display: inline-flex; gap: 2px; color: #F5B700; }
.as-etoiles .as-ico { width: 18px; height: 18px; }

/* atouts */
.as-atouts { position: relative; z-index: 2; margin-top: -58px; }
.as-atouts-liste { list-style: none; margin: 0; padding: 26px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; background: #fff; border-radius: 22px; box-shadow: var(--ombre); }
.as-atouts-liste li { display: flex; gap: 14px; align-items: flex-start; }
.as-atouts-liste li + li { border-left: 1px solid var(--ligne); padding-left: 22px; }
.as-atouts-liste strong { display: block; font: 750 17px/1.25 var(--titre); color: var(--marine); }
.as-atouts-liste span span, .as-atouts-liste div span { display: block; font-size: 14.5px; color: var(--texte-2); line-height: 1.4; margin-top: 4px; }
.as-atout-ico { flex: none; width: 46px; height: 46px; border-radius: 14px; background: #EAF0FA; color: var(--bleu); display: inline-flex; align-items: center; justify-content: center; }
.as-atout-ico .as-ico { width: 23px; height: 23px; }

/* têtes de section */
.as-tete { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.as-tete p { color: var(--texte-2); font-size: 18px; margin-top: 14px !important; }
.as-tete h2::after { content: ""; display: block; width: 64px; height: 6px; border-radius: 6px; background: var(--jaune); margin: 18px auto 0; }
.as-tete-clair h2 { color: #fff; }
.as-tete-clair p { color: #C9D6EE; }

/* prestations */
.as-prest { padding: 110px 0 100px; }
.as-recurrent { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; background: #fff; border-radius: 28px; padding: 44px; box-shadow: 0 30px 60px -40px rgba(12, 38, 80, .35); }
.as-recurrent-media { position: relative; padding: 0 12% 12% 0; }
.as-rm-1 { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3.6; }
.as-rm-1 img, .as-rm-2 img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.as-rm-2 { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden; border: 6px solid #fff; box-shadow: var(--ombre); }
.as-recurrent-texte p { color: var(--texte-2); margin: 16px 0 22px !important; }
.as-coches { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 12px; }
.as-coches li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.as-coches .as-ico { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--jaune); color: var(--marine); stroke-width: 2.6; margin-top: 1px; }
.as-remises { margin-top: 90px; }
.as-remises-tete { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 30px; }
.as-remises-tete p { color: var(--texte-2); max-width: 30em; }
.as-cartes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.as-carte { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: 0 20px 40px -32px rgba(12, 38, 80, .5); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.as-carte:hover { transform: translateY(-6px); box-shadow: var(--ombre); }
.as-carte figure { aspect-ratio: 4 / 3; overflow: hidden; }
.as-carte figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; cursor: zoom-in; }
.as-carte:hover figure img { transform: scale(1.05); }
.as-carte > div { padding: 20px 22px 24px; border-top: 5px solid var(--jaune); }
.as-carte p { color: var(--texte-2); font-size: 15.5px; margin-top: 8px !important; }
.as-remises-plus { margin-top: 26px !important; text-align: center; color: var(--texte-2); font-weight: 600; }

/* avant / après */
.as-aa { padding: 100px 0; background: var(--marine); color: #fff; position: relative; overflow: hidden; }
.as-aa::before { content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(26, 85, 167, .9), rgba(26, 85, 167, 0) 70%); top: -260px; right: -200px; }
.as-aa .as-wrap { position: relative; }
.as-aa h3 { color: #fff; }
.as-aa-haut { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: start; }
.as-comp { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; user-select: none; touch-action: pan-y; background: #222; }
.as-comp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.as-comp-apres { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.as-comp-poignee { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: #fff; border: 0; padding: 0; cursor: ew-resize; }
.as-comp-poignee .as-ico { position: absolute; top: 50%; left: 50%; width: 50px; height: 50px; padding: 13px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--jaune); color: var(--marine); box-shadow: 0 6px 18px rgba(0, 0, 0, .35); stroke-width: 2.4; }
.as-lbl { position: absolute; top: 14px; font: 700 26px/1 var(--main); padding: 6px 14px 8px; border-radius: 10px; pointer-events: none; }
.as-lbl-a { left: 14px; background: rgba(255, 255, 255, .92); color: var(--marine); }
.as-lbl-b { right: 14px; background: var(--jaune); color: var(--marine); }
.as-comp-fig figcaption, .as-paire figcaption { margin-top: 12px; font-weight: 700; font-size: 16px; }
.as-comp-fig figcaption span { display: block; font-weight: 400; color: #C9D6EE; font-size: 14px; }
.as-chantier header { margin-bottom: 22px; }
.as-chantier header p { color: #C9D6EE; margin-top: 8px !important; }
.as-paires { display: grid; gap: 20px; }
.as-paire { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r); padding: 12px 12px 14px; }
.as-paire-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.as-paire-cote { position: relative; border-radius: var(--r-s); overflow: hidden; aspect-ratio: 3 / 4; background: #1b2b4a; }
.as-paire-cote img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform .5s; }
.as-paire-cote:hover img { transform: scale(1.04); }
.as-paire-cote .as-lbl { top: 10px; font-size: 22px; padding: 4px 11px 6px; }
.as-paire-cote .as-lbl-a { left: 10px; } .as-paire-cote .as-lbl-b { left: 10px; right: auto; }
.as-paire figcaption { margin: 10px 4px 0; }
.as-paires-3 { grid-template-columns: 1fr; gap: 14px; }
.as-paires-3 .as-paire { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 14px; }
.as-paires-3 .as-paire figcaption { margin: 0 6px 0 4px; min-width: 70px; }
.as-paires-3 .as-paire-cote { aspect-ratio: 16 / 10; }
.as-chantier-2 { margin-top: 64px; padding-top: 56px; border-top: 1px solid rgba(255, 255, 255, .14); }
.as-chantier-2 header { max-width: 640px; }
.as-chantier-2-grille { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: stretch; }
.as-pendant { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.as-pendant .as-tuile { border-radius: var(--r-s); }
.as-pendant .as-tuile img { height: 100%; object-fit: cover; }

/* réalisations */
.as-reals { padding: 100px 0; background: #fff; }
.as-filtres { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -14px 0 36px; }
.as-filtres button { font: 700 15px/1 var(--corps); padding: 12px 18px; border-radius: 999px; border: 1.5px solid var(--ligne); background: var(--creme); color: var(--marine); cursor: pointer; transition: all .2s; }
.as-filtres button span { color: var(--texte-2); font-weight: 600; margin-left: 4px; }
.as-filtres button:hover { border-color: var(--bleu); }
.as-filtres button.is-on { background: var(--bleu); border-color: var(--bleu); color: #fff; }
.as-filtres button.is-on span { color: #C9D6EE; }
.as-galerie { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.as-tuile { position: relative; overflow: hidden; border-radius: 14px; background: var(--creme-2); cursor: zoom-in; }
.as-galerie .as-tuile { aspect-ratio: 1 / 1; }
.as-galerie .as-tuile img { height: 100%; object-fit: cover; }
.as-tuile img { width: 100%; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.as-tuile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 14px 12px; color: #fff; font-size: 14.5px; font-weight: 600; line-height: 1.3; background: linear-gradient(transparent, rgba(8, 22, 48, .82)); opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.as-tuile:hover img { transform: scale(1.05); }
.as-tuile:hover figcaption, .as-tuile:focus-within figcaption { opacity: 1; transform: none; }
.as-tuile.is-cache { display: none; }
.as-plus { text-align: center; margin-top: 26px; }
.as-plus[hidden] { display: none; }

/* pourquoi */
.as-pourquoi { padding: 100px 0; }
.as-pourquoi-grille { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; }
.as-pourquoi-photo { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 4.6; box-shadow: var(--ombre); }
.as-pourquoi-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 75%; cursor: zoom-in; }
.as-pourquoi-texte > p { color: var(--texte-2); font-size: 18px; margin: 14px 0 28px !important; }
.as-coches-2 { grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.as-impot { display: flex; gap: 20px; align-items: center; background: var(--bleu); color: #fff; border-radius: var(--r); padding: 22px 26px; }
.as-impot strong { font: 900 46px/1 var(--titre); color: var(--jaune); flex: none; }
.as-impot p { font-size: 15.5px; line-height: 1.5; }

/* avis */
.as-avis { padding: 100px 0; background: var(--creme-2); }
.as-avis-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.as-avis-carte { display: flex; flex-direction: column; position: relative; background: #fff; border-radius: var(--r); padding: 28px 26px 24px; box-shadow: 0 20px 40px -32px rgba(12, 38, 80, .5); }
.as-avis-carte::before { content: "\201C"; position: absolute; right: 22px; top: 6px; font: 900 84px/1 var(--titre); color: var(--jaune); }
.as-avis-carte blockquote { margin: 12px 0 18px; }
.as-avis-carte blockquote p { font-size: 16.5px; line-height: 1.6; }
.as-avis-carte figcaption { margin-top: auto; display: flex; flex-direction: column; border-top: 1px solid var(--ligne); padding-top: 14px; }
.as-avis-carte figcaption strong { font-family: var(--titre); color: var(--marine); font-size: 17px; }
.as-avis-carte figcaption span { font-size: 14px; color: var(--texte-2); }
.as-avis-carte:not(:has(.as-etoiles)) blockquote { margin-top: 30px; }

/* à propos */
.as-apropos { padding: 100px 0; background: #fff; }
.as-apropos-grille { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; }
.as-apropos-texte p { color: var(--texte-2); font-size: 18px; margin-top: 18px !important; }
.as-signature { font: 700 54px/1 var(--main) !important; color: var(--bleu) !important; margin-top: 28px !important; }
.as-signature span { display: block; font: 600 15px/1.4 var(--corps); color: var(--texte-2); margin-top: 6px; }
.as-apropos-photo { position: relative; }
.as-apropos-photo > img:first-child { border-radius: 26px; box-shadow: var(--ombre); width: 100%; cursor: zoom-in; }
.as-apropos-logo { position: absolute; width: 120px !important; height: 120px; left: -40px; bottom: -34px; border-radius: 50%; box-shadow: 0 14px 30px -12px rgba(12, 38, 80, .45); transform: rotate(-10deg); }

/* contact */
.as-contact { padding: 100px 0; background: linear-gradient(135deg, var(--bleu) 0%, var(--marine) 100%); color: #fff; }
.as-contact-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.as-contact h2 { color: #fff; }
.as-contact-texte > p { color: #D3DEF2; font-size: 18px; margin: 16px 0 30px !important; }
.as-contact-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.as-contact-liste a, .as-contact-zone { display: flex; gap: 16px; align-items: center; text-decoration: none; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); transition: background-color .2s; font-weight: 700; font-size: 17px; overflow-wrap: anywhere; }
.as-contact-liste a:hover { background: rgba(255, 255, 255, .16); }
.as-contact-liste small { display: block; font-weight: 500; font-size: 13.5px; color: #C2D1EC; }
.as-contact-liste .as-atout-ico { background: var(--jaune); color: var(--marine); }
.as-form-carte { background: #fff; color: var(--texte); border-radius: 24px; padding: 34px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.as-form-carte h3 { margin-bottom: 20px; }
.as .contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.as .contact-form label { display: flex; flex-direction: column; gap: 7px; font-weight: 700; font-size: 14.5px; color: var(--marine); }
.as .contact-form label:nth-of-type(3), .as .contact-form .as-champ-l, .as .contact-form button, .as .contact-form .form-etat, .as .contact-form .form-rgpd { grid-column: 1 / -1; }
.as .contact-form input:not([type=checkbox]), .as .contact-form textarea { font: 400 16px/1.4 var(--corps); padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--ligne); background: #FDFBF6; color: var(--texte); transition: border-color .2s, box-shadow .2s; width: 100%; }
.as .contact-form textarea { resize: vertical; min-height: 120px; }
.as .contact-form input:focus, .as .contact-form textarea:focus { outline: none; border-color: var(--bleu); box-shadow: 0 0 0 4px rgba(26, 85, 167, .14); }
.as .contact-form .hp { position: absolute; left: -9999px; }
.as .form-etat { font-weight: 700; color: var(--bleu); }
.as .form-rgpd { font-size: 13px; color: var(--texte-2); }

/* pied */
.as-footer { background: #081B3B; color: #B9C7E2; padding: 64px 0 0; font-size: 15px; }
.as-footer-haut { display: grid; grid-template-columns: 1.4fr 1.1fr 1fr; gap: 40px; padding-bottom: 44px; }
.as-footer-marque { display: flex; gap: 16px; align-items: flex-start; }
.as-footer-marque img { width: 64px; height: 64px; }
.as-footer-marque strong { color: #fff; font: 800 19px/1.3 var(--titre); }
.as-footer-titre { color: #fff; font: 700 16px/1 var(--titre); margin-bottom: 16px !important; }
.as-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.as-footer a { text-decoration: none; }
.as-footer a:hover { color: var(--jaune); }
.as-footer address { font-style: normal; display: grid; gap: 9px; }
.as-footer-bas { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 20px; padding-bottom: 24px; font-size: 14px; }
.as-footer-bas .footer-liens { display: flex; gap: 20px; }

/* barre mobile */
.as-barre { display: none; }

/* loupe */
.as-loupe { position: fixed; inset: 0; z-index: 200; background: rgba(6, 16, 36, .92); display: flex; align-items: center; justify-content: center; padding: 60px 70px; }
.as-loupe[hidden] { display: none; }
.as-loupe figure { max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.as-loupe img { max-height: calc(100vh - 140px); max-width: 100%; width: auto; border-radius: 12px; }
.as-loupe figcaption { color: #fff; margin-top: 14px; font-weight: 600; text-align: center; }
.as-loupe button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.as-loupe button:hover { background: var(--jaune); color: var(--marine); }
.as-loupe button .as-ico { width: 26px; height: 26px; }
.as-loupe-fermer { top: 16px; right: 16px; }
.as-loupe-prec { left: 14px; top: 50%; transform: translateY(-50%); }
.as-loupe-suiv { right: 14px; top: 50%; transform: translateY(-50%); }
[data-loupe] { cursor: zoom-in; }

/* apparitions (seulement si le JS tourne) */
.as-js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.as-js [data-reveal].is-vu { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .as-js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .as *, .as *::before { transition: none !important; }
}

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1180px) {
  .as-nav a { padding: 10px 8px; font-size: 15px; }
  .as-header-in { gap: 16px; }
  .as-cartes { grid-template-columns: repeat(2, 1fr); }
  .as-galerie { grid-template-columns: repeat(3, 1fr); }
  .as-atouts-liste { grid-template-columns: repeat(2, 1fr); }
  .as-atouts-liste li:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 1040px) {
  .as-burger { display: inline-flex; }
  .as-header-tel { display: none; }
  .as-nav { position: fixed; left: 0; right: 0; top: var(--haut-entete); bottom: 0; background: #fff; padding: 20px 24px 40px; transform: translateX(100%); transition: transform .35s cubic-bezier(.2, .7, .2, 1); overflow-y: auto; visibility: hidden; }
  .as-nav.is-ouvert { transform: none; visibility: visible; }
  .as-nav ul { flex-direction: column; gap: 2px; }
  .as-nav a { font-size: 20px; padding: 14px 10px; border-bottom: 1px solid var(--ligne); border-radius: 0; }
  .as-nav-actions { display: grid; gap: 12px; margin-top: 24px; }
  .as-hero-grille, .as-recurrent, .as-aa-haut, .as-pourquoi-grille, .as-apropos-grille, .as-contact-grille, .as-chantier-2-grille { grid-template-columns: 1fr; }
  .as-hero { padding: 44px 0 110px; }
  .as-hero-grille { gap: 64px; }
  .as-hero-visuel { max-width: 640px; margin: 0 auto; width: 100%; }
  .as-hero-avis { left: -8px; }
  .as-aa-comp { max-width: 460px; }
  .as-pourquoi-photo { max-width: 520px; aspect-ratio: 4 / 3.4; }
  .as-apropos-photo { max-width: 560px; }
  .as-footer-haut { grid-template-columns: 1fr 1fr; }
  .as-footer-marque { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  body.as { font-size: 16px; padding-bottom: 72px; }
  :root { --haut-entete: 66px; }
  .as-wrap { padding: 0 18px; }
  .as-topbar { display: none; }
  .as-marque img { width: 46px; height: 46px; }
  .as-marque strong { font-size: 18px; }
  .as-marque em { font-size: 12.5px; }
  .as-hero { padding: 30px 0 96px; }
  .as-hero h1 { font-size: 36px; }
  .as-sur { font-size: 15px; margin-bottom: 12px !important; }
  .as-hero-p { font-size: 17px; margin: 16px 0 22px !important; }
  .as-actions .as-btn { flex: 1 1 100%; }
  .as-hero-zone { font-size: 14px; align-items: flex-start; }
  .as-hero-grille { gap: 46px; }
  .as-hero-visuel::before { inset: 6% -3% -5% 7%; border-radius: 26px; }
  .as-hero-photo { border-radius: 22px; }
  .as-hero-photo figcaption { font-size: 12px; left: 12px; right: auto; top: 12px; bottom: auto; }
  .as-hero-avis { position: relative; left: auto; bottom: auto; width: auto; margin: -26px 14px 0; padding: 14px 16px; }
  .as-hero-avis p { font-size: 15.5px; }
  .as-hero-badge { width: 96px; height: 96px; right: -6px; top: -26px; padding: 8px; border-width: 3px; }
  .as-hero-badge strong { font-size: 26px; }
  .as-hero-badge span { font-size: 9.5px; }
  .as-atouts { margin-top: -50px; }
  .as-atouts-liste { grid-template-columns: 1fr; padding: 20px; gap: 16px; }
  .as-atouts-liste li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--ligne); padding-top: 16px; }
  .as-tete { margin-bottom: 32px; }
  .as-tete p { font-size: 16.5px; }
  .as-prest, .as-aa, .as-reals, .as-pourquoi, .as-avis, .as-apropos, .as-contact { padding: 70px 0; }
  .as-recurrent { padding: 20px; gap: 28px; border-radius: 22px; }
  .as-remises { margin-top: 60px; }
  .as-remises-tete { display: block; }
  .as-remises-tete p { margin-top: 10px !important; }
  .as-cartes { grid-template-columns: 1fr; }
  .as-paires-3 .as-paire { display: block; }
  .as-paires-3 .as-paire figcaption { margin: 10px 4px 0; }
  .as-paires-3 .as-paire-cote { aspect-ratio: 4 / 5; }
  .as-pendant { grid-template-columns: repeat(3, 1fr); }
  .as-pendant .as-tuile figcaption { display: none; }
  .as-galerie { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .as-tuile { border-radius: 10px; }
  .as-tuile figcaption { opacity: 1; transform: none; font-size: 12.5px; padding: 26px 9px 8px; }
  .as-filtres { gap: 8px; }
  .as-filtres button { padding: 10px 14px; font-size: 14px; }
  .as-coches-2 { grid-template-columns: 1fr; }
  .as-impot { flex-direction: column; align-items: flex-start; gap: 8px; }
  .as-avis-grille { grid-template-columns: 1fr; }
  .as-signature { font-size: 46px !important; }
  .as-apropos-logo { width: 88px !important; height: 88px; left: auto; right: 12px; bottom: -26px; }
  .as-form-carte { padding: 22px 18px; border-radius: 20px; }
  .as .contact-form { grid-template-columns: 1fr; }
  .as-contact-liste a, .as-contact-zone { font-size: 15.5px; padding: 12px 14px; }
  .as-footer-haut { grid-template-columns: 1fr; }
  .as-footer-bas { flex-direction: column; gap: 10px; }
  .as-loupe { padding: 60px 10px; }
  .as-loupe-prec, .as-loupe-suiv { top: auto; bottom: 14px; transform: none; }
  .as-barre { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); box-shadow: 0 -10px 30px -16px rgba(12, 38, 80, .4); }
  .as-barre a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 999px; font-weight: 800; text-decoration: none; }
  .as-barre-devis { background: var(--bleu); color: #fff !important; }
  .as-barre-tel { background: var(--jaune); color: var(--marine) !important; }
}

/* 18/10/2026, retours de Sophie : médaillon dans le héro, phrases clés, section BTP, carte sans photo */
.as-hero .as-hero-p { margin: 18px 0 18px !important; }
.as-hero-cles { margin: 0 0 30px; gap: 10px; }
.as-hero-cles li { font-size: 16.5px; line-height: 1.4; color: var(--texte); }
.as-hero-visuel-med { display: flex; flex-direction: column; align-items: center; }
.as-hero-visuel-med::before { display: none; }
.as-medaillon { position: relative; isolation: isolate; width: min(440px, 86%); aspect-ratio: 1; margin: 0; border-radius: 50%; padding: 12px; background: linear-gradient(145deg, var(--jaune), #FBE38F); box-shadow: var(--ombre); }
.as-medaillon::before { content: ""; position: absolute; inset: 7% -7% -7% 7%; border-radius: 50%; background: var(--bleu); z-index: -1; }
.as-medaillon img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 6px solid #fff; }
.as-medaillon figcaption { position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%); background: var(--marine); color: #fff; border-radius: 999px; padding: 10px 24px; text-align: center; white-space: nowrap; box-shadow: 0 12px 26px -14px rgba(12, 38, 80, .7); }
.as-medaillon figcaption strong { display: block; font: 800 18px/1.15 var(--titre); }
.as-medaillon figcaption span { display: block; font-size: 13px; color: #C9D6EE; margin-top: 2px; }
.as-hero-visuel-med .as-hero-avis { position: relative; left: auto; bottom: auto; width: min(380px, 100%); margin: 44px 0 0; }
.as-hero-visuel-med .as-hero-badge { right: 0; top: 0; }

.as-carte-panneau { aspect-ratio: 4 / 3; background: linear-gradient(140deg, var(--bleu), var(--marine)); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 22px; text-align: center; font: 700 18px/1.3 var(--titre); }
.as-carte-panneau .as-ico { width: 46px; height: 46px; color: var(--jaune); }

.as-aa-type { display: inline-block; background: var(--jaune); color: var(--marine); font: 700 13px/1 var(--corps); padding: 7px 12px; border-radius: 999px; margin-bottom: 12px; }

.as-btp { padding: 100px 0; background: #fff; }
.as-btp-grille { display: grid; grid-template-columns: .95fr 1.05fr; gap: 60px; align-items: center; }
.as-btp-photo { position: relative; margin: 0; }
.as-btp-photo img { display: block; width: 100%; aspect-ratio: 4 / 4.3; object-fit: cover; border-radius: 26px; box-shadow: var(--ombre); cursor: zoom-in; }
.as-btp-main { position: absolute; left: -14px; bottom: 28px; max-width: calc(100% - 4px); background: var(--jaune); color: var(--marine); font: 700 27px/1.1 var(--main); padding: 10px 18px; border-radius: 14px; transform: rotate(-3deg); box-shadow: 0 14px 30px -14px rgba(160, 120, 0, .8); }
.as-btp-texte h2 { font-size: clamp(28px, 3.2vw, 40px); }
.as-btp-texte > p { color: var(--texte-2); font-size: 18px; margin: 16px 0 24px !important; }
.as-btp-texte .as-coches { margin-bottom: 28px; }

.as-pourquoi-photo { aspect-ratio: 2000 / 1627; }
.as-pourquoi-photo img { object-position: 50% 40%; }

@media (max-width: 1040px) {
  .as-btp-grille { grid-template-columns: 1fr; gap: 44px; }
  .as-btp-photo { max-width: 560px; }
  .as-pourquoi-photo { aspect-ratio: 2000 / 1627; }
}
@media (max-width: 700px) {
  .as-medaillon { width: min(300px, 80%); padding: 9px; }
  .as-medaillon img { border-width: 4px; }
  .as-medaillon figcaption { padding: 8px 18px; bottom: -14px; }
  .as-medaillon figcaption strong { font-size: 16px; }
  .as-medaillon figcaption span { font-size: 12px; }
  .as-hero-visuel-med .as-hero-avis { margin: 38px 0 0; }
  .as-hero-visuel-med .as-hero-badge { right: 0; top: -8px; }
  .as-hero-cles li { font-size: 15.5px; }
  .as-btp { padding: 70px 0; }
  .as-btp-main { font-size: 22px; left: 10px; bottom: 16px; max-width: calc(100% - 20px); }
  .as-recurrent .as-btn { white-space: normal; text-align: center; max-width: 100%; line-height: 1.25; padding: 12px 22px; }
}
@media (min-width: 1041px) {
  .as-hero-grille { grid-template-columns: 1.12fr .88fr; }
  .as-hero h1 { font-size: clamp(40px, 4.3vw, 58px); }
}

/* 18/10/2026 soir : bannière BTP Opportunités 44 en rangée, réseaux sociaux (LinkedIn demandé par Sophie) */
.as-reseau { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 48px; align-items: center; margin-top: 64px; background: var(--creme); border: 1px solid var(--ligne); border-radius: 26px; padding: 28px; }
.as-reseau-banniere { margin: 0; }
.as-reseau-banniere img { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: var(--ombre); cursor: zoom-in; }
.as-reseau-texte h3 { font-size: clamp(22px, 2.4vw, 30px); margin-top: 16px !important; }
.as-reseau-texte p { color: var(--texte-2); font-size: 17px; margin: 10px 0 22px !important; max-width: 36em; }
.as-reseau-texte .as-btn { white-space: normal; text-align: left; max-width: 100%; line-height: 1.25; padding: 12px 22px; }
.as-apropos-reseaux { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px !important; }
.as-apropos-reseaux .as-btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
.as-footer-reseaux { display: flex; gap: 10px; margin-top: 16px !important; }
.as-footer-reseaux a { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .1); color: inherit; }
.as-footer-reseaux a:hover { background: var(--jaune); color: var(--marine); }
.as-footer-reseaux .as-ico { width: 20px; height: 20px; }
@media (max-width: 1040px) {
  .as-reseau { grid-template-columns: 1fr; gap: 28px; }
  .as-reseau-banniere { max-width: 460px; }
}
@media (max-width: 700px) {
  .as-reseau { margin-top: 44px; padding: 16px; border-radius: 22px; }
  .as-reseau-texte p { font-size: 15.5px; }
}

/* 20/10/2026 : photo « avant » de la carte insalubre et chantier en cours (photos avant seulement) */
.as-carte figure { position: relative; }
.as-carte .as-lbl { top: 10px; left: 10px; font-size: 18px; padding: 4px 10px 6px; }
.as-avant-grille { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.as-avant-grille .as-tuile { aspect-ratio: 3 / 4; border-radius: var(--r-s); }
.as-avant-grille .as-tuile img { height: 100%; object-fit: cover; }
.as-avant-grille .as-lbl { top: 8px; left: 8px; font-size: 15px; padding: 3px 8px 5px; border-radius: 8px; }
@media (max-width: 900px) { .as-avant-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .as-avant-grille { gap: 8px; }
  .as-avant-grille .as-lbl { font-size: 12px; padding: 2px 6px 4px; top: 6px; left: 6px; }
}
