/*
 * Holding page of boteillier.fr. Layout only: colours, type and spacing come from the shared
 * tokens (vitrine/src/styles/tokens.css) and base styles, copied next to this file by
 * deploy/build-attente.sh.
 */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.entete { background: var(--color-lin); border-bottom: var(--rule); }
.entete__ligne { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.entete__tel {
  color: var(--color-encre); text-decoration: none; min-height: var(--target-min); display: inline-flex; align-items: center;
  font: 400 var(--fs-nav) var(--font-texte); letter-spacing: .18em;
}
.entete__tel:hover { color: var(--color-rouge); }

/* Hero: text at the bottom left of the looping video, darkened behind the text only. */
.hero { position: relative; min-height: clamp(560px, calc(100svh - 73px), 940px); display: flex; align-items: flex-end; overflow: hidden; color: var(--color-craie); background: #2c3a22; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to right, var(--color-photo-voile) 0%, transparent 65%), linear-gradient(to top, var(--color-photo-voile-fort) 0%, var(--color-photo-voile) 45%, transparent 85%);
}
.hero__texte { position: relative; z-index: 2; padding-top: 48px; padding-bottom: clamp(40px, 6vw, 88px); display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.hero__texte > * { max-width: 680px; margin: 0; }
.hero__texte .libelle { color: var(--color-craie); }
.hero__titre { font: 400 var(--fs-hero)/1.04 var(--font-titre); letter-spacing: -.01em; text-wrap: balance; }
.hero__sous-titre { font-size: var(--fs-body); line-height: 1.55; }
.hero__attente { font: 400 italic clamp(22px, 2vw, 26px)/1.3 var(--font-titre); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 8px; }
.hero .btn { border-color: var(--color-craie); color: var(--color-craie); }
.hero .btn:hover { background: var(--color-craie); color: var(--color-encre); }
.hero .lien-action { color: var(--color-craie); border-color: var(--color-craie); }
.hero .lien-action:hover { color: var(--color-craie); border-color: transparent; }
.hero :focus-visible { outline-color: var(--color-craie); }
.hero__mention { font-size: 13px; opacity: .85; }
@media (max-width: 900px) {
  .hero::after { background: linear-gradient(to top, var(--color-photo-voile-fort) 0%, var(--color-photo-voile-fort) 60%, transparent 98%); }
  .hero__texte { padding-bottom: 32px; gap: 14px; }
  .hero__texte > * { max-width: 100%; }
  .hero__titre { font-size: clamp(32px, 8.4vw, 44px); }
}

/* Contact: details on the left, form on the right. */
.contact { display: flex; flex-wrap: wrap; gap: 56px clamp(48px, 7vw, 112px); align-items: flex-start; padding-block: clamp(64px, 9vw, 128px); scroll-margin-top: 0; }
.contact__cote { flex: 1 1 300px; max-width: 420px; display: flex; flex-direction: column; gap: 24px; }
.contact__symbole { display: block; width: 120px; height: auto; margin-bottom: 8px; }
.contact__titre { margin: 0; font-size: var(--fs-h2); }
.texte { margin: 0; color: var(--color-pierre); max-width: 46ch; }
.contact__coordonnees { border-top: var(--rule); padding-top: 24px; display: flex; flex-direction: column; gap: 4px; }
.contact__nom { margin: 0; font: 400 24px/1.2 var(--font-titre); }
.contact__role { margin: 0 0 12px; font-size: 13px; color: var(--color-pierre); }
.contact__coordonnees a { color: var(--color-encre); text-decoration: none; min-height: 40px; display: inline-flex; align-items: center; align-self: flex-start; font-size: var(--fs-body); }
.contact__coordonnees a:hover { color: var(--color-rouge); }
.contact__formulaire { flex: 1.6 1 440px; max-width: 760px; }
.contact__rgpd { margin: 0; font-size: 13px; color: var(--color-pierre); max-width: 60ch; }

.formulaire { display: flex; flex-direction: column; gap: 32px; }
.formulaire__grille { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.formulaire__resume { border-left: 1px solid var(--color-rouge); padding: 4px 0 4px 16px; font-size: var(--fs-small); color: var(--color-rouge); }
.formulaire__resume:focus, .merci:focus { outline: none; }
.formulaire__facultatif { letter-spacing: .08em; text-transform: none; font-weight: 400; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.merci { padding: 48px 0; }
.merci__phrase { margin: 0; font: 400 var(--fs-phrase)/1.32 var(--font-titre); max-width: 22ch; }

.pied { border-top: var(--rule); font-size: 12px; color: var(--color-pierre); padding-block: 48px 32px; }
.pied__signature { padding-bottom: 32px; }
.mentions summary { cursor: pointer; min-height: var(--target-min); display: inline-flex; align-items: center; letter-spacing: .18em; text-transform: uppercase; color: var(--color-encre); }
.mentions summary:hover { color: var(--color-rouge); }
.mentions__corps { max-width: 90ch; padding: 8px 0 24px; font-size: 14px; line-height: 1.6; }
.mentions__corps strong { font-weight: 500; color: var(--color-encre); }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; border-top: var(--rule); padding-top: 20px; margin-top: 8px; }
.pied__bas p { margin: 0; }

/* Page returned by envoi.php when the form is posted without JavaScript. */
.retour { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 24px; padding-block: 64px; }
.retour p { margin: 0; font: 400 var(--fs-phrase)/1.32 var(--font-titre); max-width: 28ch; }
