/* ==========================================================
   ALTO — Bistronomie perchée
   Charte : Brandon Grotesque Black (titres) / Nunito (texte)
   Brandon Grotesque est une police payante : si la licence web
   est achetée, déposer les fichiers dans assets/fonts/ et
   décommenter le @font-face ci-dessous. Sinon, repli sur Outfit.
   ========================================================== */
/*
@font-face {
  font-family: "Brandon Grotesque";
  src: url("fonts/BrandonGrotesque-Black.woff2") format("woff2");
  font-weight: 900; font-display: swap;
}
*/

:root {
  --rouge: #C73717;      /* couleur principale */
  --brique: #A0331F;
  --bordeaux: #681E14;
  --cacao: #371410;
  --gris: #7E7F80;
  --creme: #F3E9DF;      /* papier des cartes */
  --rose: #EBCBBC;       /* motif de la carte midi */
  --encre: #2A0F0B;

  --f-titre: "Brandon Grotesque", "Outfit", "Futura", sans-serif;
  --f-texte: "Nunito", system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 999px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-texte);
  font-size: 17px;
  line-height: 1.6;
  color: var(--encre);
  background: var(--creme);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--rouge); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--rouge); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typo ---------- */
h1, h2, h3, .titre {
  font-family: var(--f-titre);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: .95;
  margin: 0 0 .5em;
  color: var(--rouge);
}
h1 { font-size: clamp(2.6rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
.surtitre {
  display: inline-block;
  font-family: var(--f-titre);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .8rem;
  margin-bottom: 1rem;
  color: var(--brique);
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 60ch; }
.on-dark { color: var(--creme); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.on-dark .surtitre { color: var(--rose); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--f-titre); font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em; font-size: .9rem;
  text-decoration: none;
  padding: 1em 1.8em;
  border-radius: var(--radius);
  border: 2px solid var(--rouge);
  background: var(--rouge); color: #fff;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px) rotate(-1.5deg); background: var(--brique); border-color: var(--brique); }
.btn--ghost { background: transparent; color: var(--rouge); }
.btn--ghost:hover { background: var(--rouge); color: #fff; }
.btn--blanc { background: #fff; border-color: #fff; color: var(--rouge); }
.btn--blanc:hover { background: var(--creme); border-color: var(--creme); color: var(--bordeaux); }
.btn--outline-blanc { background: transparent; border-color: #fff; color: #fff; }
.btn--outline-blanc:hover { background: #fff; color: var(--rouge); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8rem; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--creme);
  border-bottom: 1px solid rgba(104, 30, 20, .12);
}
.header__in {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 52px; width: auto; }
.brand__tag {
  font-family: var(--f-texte); font-size: .5rem; letter-spacing: .06em; line-height: 1.2; white-space: nowrap;
  text-transform: uppercase; color: var(--rouge);
  writing-mode: vertical-rl; transform: rotate(180deg);
}
.nav ul { list-style: none; display: flex; gap: clamp(14px, 2.2vw, 34px); margin: 0; padding: 0; align-items: center; }
.nav a {
  font-family: var(--f-titre); font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  font-size: .85rem; text-decoration: none; color: var(--bordeaux);
  position: relative; padding: 6px 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 3px;
  background: var(--rouge); transition: right .25s ease;
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav a[aria-current="page"] { color: var(--rouge); }
.nav .btn { color: #fff; padding: .8em 1.4em; }
.burger { display: none; }

@media (max-width: 900px) {
  :root { --header-h: 70px; }
  .brand img { height: 42px; }
  .brand__tag { font-size: .42rem; }
  .burger {
    display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
    border: 0; background: var(--rouge); cursor: pointer; padding: 0;
  }
  .burger span, .burger span::before, .burger span::after {
    display: block; width: 20px; height: 2px; background: #fff; position: relative; transition: .25s;
  }
  .burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
  .burger span::before { top: -6px; } .burger span::after { top: 6px; }
  .nav-open .burger span { background: transparent; }
  .nav-open .burger span::before { top: 0; transform: rotate(45deg); }
  .nav-open .burger span::after { top: 0; transform: rotate(-45deg); }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    background: var(--rouge) url("motif-rouge.svg") center/cover;
    display: grid; place-items: center;
    opacity: 0; visibility: hidden; transition: opacity .25s ease;
  }
  .nav::before { content: ""; position: absolute; inset: 0; background: rgba(55, 20, 16, .78); }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; gap: 22px; position: relative; text-align: center; }
  .nav a { color: #fff; font-size: 1.6rem; }
  .nav a[aria-current="page"] { color: var(--rose); }
  .nav .btn { background: #fff; color: var(--rouge); border-color: #fff; font-size: 1.1rem; }
  .nav-open { overflow: hidden; }
}

/* ---------- Hero accueil : ciel + lettres éclatées ---------- */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  background: #9fc3e3 url("img/ciel.jpg") center/cover;
  overflow: hidden;
  display: grid; place-items: center;
  color: #fff;
  isolation: isolate;
}
.hero::after { /* légère vignette pour la lisibilité */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0) 40%, rgba(55,20,16,.18) 100%);
}
.hero__letters { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.hero__letters img {
  position: absolute; height: auto;
  filter: drop-shadow(0 18px 30px rgba(55,20,16,.18));
  will-change: transform;
}
/* tailles en % de la hauteur du hero : jamais de chevauchement */
.hero__letters img { width: auto; max-width: 22vw; }
.hero__letters .l-a { height: 40%; left: 5%;  top: 6%;  rotate: -3deg; }
.hero__letters .l-l { height: 34%; right: 7%; top: 5%;  rotate: 4deg; }
.hero__letters .l-t { height: 36%; left: 10%; bottom: 5%; rotate: 2deg; }
.hero__letters .l-o { height: 30%; right: 9%; bottom: 7%; rotate: -4deg; }
.hero__card {
  text-align: center; padding: 40px var(--gutter);
  max-width: 640px; width: 100%;
}
.hero__card img { width: min(340px, 64vw); margin: 0 auto 18px; filter: drop-shadow(0 10px 30px rgba(55,20,16,.25)); }
.hero__tag {
  font-family: var(--f-titre); font-weight: 800; letter-spacing: .3em; text-transform: uppercase;
  font-size: clamp(.85rem, 1.6vw, 1.1rem); color: #fff;
  text-shadow: 0 2px 16px rgba(55,20,16,.35);
}
.hero .btns { justify-content: center; }
.hero__scroll {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: #fff; text-decoration: none;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.hero__scroll::after { content: ""; width: 2px; height: 34px; background: #fff; animation: drop 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes drop { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 600px) {
  .hero { min-height: calc(100svh - var(--header-h)); align-items: center; }
  .hero__card { padding: 150px 20px 140px; width: 100%; }
  .hero__card p br { display: none; }
  .hero .hero__letters img { height: auto; max-width: none; }
  .hero__letters .l-a { width: 22vw; left: 5vw;  top: 16px; }
  .hero__letters .l-l { width: 16vw; right: 7vw; top: 12px; }
  .hero__letters .l-t { width: 19vw; left: 6vw;  bottom: 16px; }
  .hero__letters .l-o { width: 15vw; right: 8vw; bottom: 20px; }
  .hero__scroll { display: none; }
  .hero .btns { flex-direction: column; align-items: center; }
  .hero .btn { width: min(280px, 100%); justify-content: center; }
}
@media (max-width: 600px) and (max-height: 700px) {
  .hero__letters .l-a { width: 17vw; } .hero__letters .l-t { width: 15vw; }
  .hero__letters .l-l { width: 12vw; } .hero__letters .l-o { width: 12vw; }
  .hero__card { padding: 110px 20px 100px; }
}

/* Carrousel photo du hero : plein écran, fondu enchaîné et zoom très lent */
.hero__carousel { position: absolute; z-index: -1; inset: 0; overflow: hidden; background: var(--cacao); }
.hero__carousel::after { /* voile pour la lisibilité du texte */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(55,20,16,.35) 0%, rgba(55,20,16,.55) 100%);
}
.hero__track { list-style: none; margin: 0; padding: 0; height: 100%; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero__slide.is-on { opacity: 1; }
/* le zoom repart de zéro une fois la photo complètement fondue */
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1); transition: transform 0s 1.3s; }
.hero__slide.is-zoom img { transform: scale(1.1); transition: transform 9s linear; }

/* Navigation manuelle : flèches et points (ajoutés par main.js) */
.hero__arrow {
  position: absolute; z-index: 1; top: 50%; translate: 0 -50%;
  width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(55,20,16,.28); color: #fff;
  transition: background .2s ease;
}
.hero__arrow:hover { background: rgba(55,20,16,.6); }
.hero__arrow--prev { left: 18px; }
.hero__arrow--next { right: 18px; }
.hero__arrow svg { width: 22px; height: 22px; }
.hero__dots {
  position: absolute; z-index: 1; bottom: 88px; left: 50%; translate: -50% 0;
  display: flex; max-width: 90%; flex-wrap: wrap; justify-content: center;
}
.hero__dot { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.hero__dot::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,.5); box-shadow: 0 1px 6px rgba(55,20,16,.4);
  transition: background .2s ease, scale .2s ease;
}
.hero__dot:hover::before { background: #fff; }
.hero__dot[aria-current=true]::before { background: #fff; scale: 1.35; }
.hero__arrow:focus-visible, .hero__dot:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-height: 780px) {
  .hero__scroll { display: none; }
  .hero__dots { bottom: 18px; }
}
@media (max-width: 600px) {
  .hero { touch-action: pan-y; }
  .hero__arrow { display: none; } /* sur mobile : balayage du doigt + points */
  .hero__dots { bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__slide { transition: none; }
  .hero__slide img, .hero__slide.is-zoom img { transform: none; transition: none; }
}

/* ---------- Hero pages intérieures ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--rouge) url("motif-gris.svg") center/cover;
  padding: clamp(80px, 12vw, 150px) 0 clamp(60px, 9vw, 110px);
  color: #fff;
  isolation: isolate;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(199, 55, 23, .82); z-index: -1; }
.page-hero--bordeaux { background-image: url("motif-bordeaux.svg"); }
.page-hero--bordeaux::before { background: rgba(55, 20, 16, .55); }
.page-hero h1 { color: #fff; margin: 0; }
.page-hero p { max-width: 56ch; margin: 1.2rem 0 0; font-size: 1.15rem; }
.page-hero .surtitre { color: var(--creme); }

/* ---------- Sections ---------- */
.section { padding: clamp(70px, 10vw, 130px) 0; position: relative; }
.section--blanc { background: #fff; }
.section--motif { background: var(--cacao) url("motif-bordeaux.svg") center/cover; }

.split {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center;
}
.split--rev > :first-child { order: 2; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
}

/* photos à angle, clin d'œil au logo penché */
.photo {
  position: relative; border-radius: 4px; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(55,20,16,.45);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--tilt-l { transform: rotate(-2.5deg); }
.photo--tilt-r { transform: rotate(2deg); }
.collage { position: relative; min-height: 520px; }
.collage .photo:nth-child(1) { width: 68%; aspect-ratio: 4/5; }
.collage .photo:nth-child(2) { position: absolute; width: 50%; aspect-ratio: 3/4; right: 0; bottom: 0; border: 8px solid var(--creme); }
.collage .sticker { position: absolute; right: 8%; top: 2%; }
@media (max-width: 600px) { .collage { min-height: 0; padding-bottom: 30%; } }

/* pastille sticker */
.sticker {
  width: clamp(96px, 12vw, 140px); aspect-ratio: 1;
  border-radius: 50%; background: var(--rouge);
  display: grid; place-items: center;
  transform: rotate(-12deg);
  box-shadow: 0 10px 25px rgba(55,20,16,.3);
  z-index: 2;
  animation: wobble 6s ease-in-out infinite;
}
.sticker img { width: 62%; }
.sticker--bordeaux { background: var(--bordeaux); }
@keyframes wobble { 0%,100% { transform: rotate(-12deg); } 50% { transform: rotate(-4deg); } }

/* ---------- Cartes « Le Restaurant / Privatisation » façon reference ---------- */
.duo { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 3vw, 32px); }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }
.tile {
  position: relative; display: block; overflow: hidden; border-radius: 4px;
  aspect-ratio: 4/3; text-decoration: none; color: #fff; isolation: isolate;
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(55,20,16,.85), rgba(55,20,16,0) 60%); }
.tile:hover img { transform: scale(1.06) rotate(-1deg); }
.tile__txt { position: absolute; left: 28px; right: 28px; bottom: 26px; }
.tile h3 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 0 0 .35em; }
.tile__more {
  font-family: var(--f-titre); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem;
  display: inline-flex; gap: .5em; align-items: center;
  border-bottom: 2px solid var(--rouge); padding-bottom: 3px;
}

/* ---------- Carte / menu ---------- */
.menu {
  background: var(--creme);
  color: var(--bordeaux);
  padding: clamp(28px, 5vw, 60px);
  border-radius: 4px;
  box-shadow: 0 30px 60px -25px rgba(55,20,16,.5);
  position: relative;
}
.menu h2 { margin-bottom: .2em; }
.menu__note { color: var(--brique); font-size: .95rem; margin: 0 0 2rem; }
.menu__group { padding: 1.6rem 0; border-top: 2px solid var(--rouge); }
.menu__group:first-of-type { border-top: 0; padding-top: .4rem; }
.menu__group h3 { color: var(--rouge); margin-bottom: 1rem; }
.dish { display: grid; grid-template-columns: 1fr auto; gap: 4px 18px; margin-bottom: 1.1rem; }
.dish__name { font-family: var(--f-titre); font-weight: 800; font-size: 1.08rem; line-height: 1.25; color: var(--bordeaux); }
.dish__price { font-family: var(--f-titre); font-weight: 900; color: var(--rouge); }
.dish__desc { grid-column: 1 / -1; font-size: .93rem; color: var(--brique); margin-top: -4px; }
.menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(30px, 5vw, 70px); }
@media (max-width: 760px) { .menu-grid { grid-template-columns: 1fr; } }

.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 2rem; }
.tabs button {
  font-family: var(--f-titre); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem;
  padding: .8em 1.4em; border-radius: var(--radius);
  border: 2px solid var(--rouge); background: transparent; color: var(--rouge); cursor: pointer;
}
.tabs button[aria-selected="true"] { background: var(--rouge); color: #fff; }
.tabpanel[hidden] { display: none; }

/* ---------- Formulaires ---------- */
.form > *, .split > *, .menu-grid > * { min-width: 0; }
.field input, .field select { min-width: 0; max-width: 100%; -webkit-appearance: none; appearance: none; min-height: 50px; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23C73717' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 40px; }
.resa__box {
  background: #fff; border-radius: 6px; padding: clamp(24px, 4vw, 48px);
  box-shadow: 0 30px 60px -25px rgba(55,20,16,.35);
  border-top: 8px solid var(--rouge);
}
.form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }
.field label {
  display: block; font-family: var(--f-titre); font-weight: 800; text-transform: uppercase;
  letter-spacing: .1em; font-size: .75rem; color: var(--bordeaux); margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--encre);
  background: var(--creme); border: 2px solid transparent; border-radius: 10px;
  padding: 13px 14px; transition: border-color .2s;
}
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--rouge); background: #fff; }

/* ---------- Galerie insta ---------- */
.insta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.insta a { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 4px; display: block; }
.insta img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.insta a:hover img { transform: scale(1.07); }
.insta a::after {
  content: ""; position: absolute; inset: 0; background: rgba(199,55,23,.0); transition: background .3s;
}
.insta a:hover::after { background: rgba(199,55,23,.25); }
@media (max-width: 700px) { .insta { grid-template-columns: repeat(2, 1fr); } }

/* ---------- CTA final ---------- */
.cta {
  text-align: center;
  background: var(--rouge) url("motif-gris.svg") center/cover;
  position: relative; isolation: isolate; color: #fff;
}
.cta::before { content: ""; position: absolute; inset: 0; background: rgba(199, 55, 23, .88); z-index: -1; }
.cta h2 { color: #fff; }
.cta .btns { justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: var(--cacao); color: var(--creme); padding: 80px 0 30px; font-size: .97rem; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 {
  font-family: var(--f-titre); font-weight: 900; text-transform: uppercase; letter-spacing: .1em;
  color: var(--rouge); margin: 0 0 14px; font-size: .95rem;
}
.footer p { margin: 0 0 6px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__logo img { width: 150px; margin-bottom: 14px; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 2px 16px; margin: 0; }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; }
.footer__insta svg { width: 1.05em; height: 1.05em; vertical-align: -.17em; margin-right: .45em; }
.footer__bottom {
  margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(243,233,223,.15);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .82rem; color: rgba(243,233,223,.6);
}
.to-top { color: var(--creme); }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.photo--tilt-l.reveal.is-in { transform: rotate(-2.5deg); }
.photo--tilt-r.reveal.is-in { transform: rotate(2deg); }

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

/* ---------- Demande de devis (privatisation) ---------- */
.devis { border: 0; padding: 0; background: transparent; width: min(600px, calc(100% - 24px)); max-height: calc(100dvh - 24px); overflow: visible; }
.devis::backdrop { background: rgba(55, 20, 16, .6); }
.devis .resa__box { position: relative; max-height: calc(100dvh - 24px); overflow-y: auto; padding: clamp(20px, 3.5vw, 36px); border-top-width: 6px; }
.devis .surtitre { margin-bottom: 4px; }
.devis h2 { margin: 0; padding-right: 44px; font-size: clamp(1.6rem, 3.5vw, 2.2rem); line-height: 1; }
.devis .form { gap: 12px 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.devis .field { display: flex; flex-direction: column; justify-content: flex-end; }
.devis .field label { margin-bottom: 4px; font-size: .7rem; }
.devis .field input { min-height: 44px; padding: 10px 14px; }
.devis .field textarea { min-height: 72px; height: 72px; padding: 10px 14px; }
.devis .btn { width: 100%; justify-content: center; }
.devis__close {
  position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: var(--creme); color: var(--bordeaux); font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.devis__close:hover { background: var(--rose); }
.devis__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.devis__err { margin: 0; color: var(--brique); font-size: .88rem; font-weight: 600; }
.devis__ok { text-align: center; padding: 24px 0 8px; }
.devis__ok .btn { width: auto; }
@media (max-height: 720px), (max-width: 560px) { .devis .field textarea { min-height: 52px; height: 52px; } }

/* ---------- Infos pratiques (questions fréquentes) ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(28px, 6vw, 90px); align-items: start; }
.faq__item { border-bottom: 2px solid rgba(55, 20, 16, .14); }
.faq__item:first-child { border-top: 2px solid rgba(55, 20, 16, .14); }
.faq__item summary {
  cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative;
  font-weight: 700; font-size: 1.08rem; color: var(--cacao);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; translate: 0 -50%;
  font-family: var(--f-titre); font-weight: 800; font-size: 1.6rem; color: var(--rouge); transition: rotate .25s;
}
.faq__item[open] summary::after { rotate: 45deg; }
.faq__item p { margin: 0 0 20px; max-width: 62ch; }
.faq__item a { color: var(--rouge); font-weight: 700; white-space: nowrap; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }
