/* LP Couverture Provence — Google Ads */

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/outfit-400.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/outfit-500.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/outfit-600.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/outfit-700.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-condensed-600.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/barlow-condensed-700.woff2") format("woff2");
}

:root {
  --ink: #0c0c0c;
  --surface: #161616;
  --paper: #f4f4f2;
  --line: #2a2a2a;
  --line-light: #d8d8d4;
  --text: #121212;
  --muted: #6b6b6b;
  --accent: #f05a00;
  --accent-deep: #c44800;
  --white: #ffffff;
  --container: 1100px;
  --gutter: clamp(1.1rem, 4vw, 2.25rem);
  --header-h: 4.5rem;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --float-clearance: 4.5rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--ink);
  color: var(--white);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: 0.75rem;
  z-index: 200;
  padding: 0.5rem 0.85rem;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius);
  transform: translateY(-160%);
}
.skip:focus { transform: none; }

.container {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
}

h1 { font-size: clamp(2.4rem, 8vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 5vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.55rem); letter-spacing: 0.04em; }

.lede {
  margin: 1rem 0 0;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.section--paper .lede,
.legal .lede { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--accent {
  background: var(--accent);
  color: var(--white);
}
.btn--accent:hover { background: var(--accent-deep); }
.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}
.btn--ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}
.btn--dark {
  background: var(--ink);
  color: var(--white);
}
.btn--outline {
  background: transparent;
  border-color: var(--text);
  color: var(--text);
}
.btn--outline:hover { background: var(--text); color: var(--white); }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.65rem var(--gutter);
  background: transparent;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(12, 12, 12, 0.94);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}
.brand img {
  width: auto;
  height: clamp(2.4rem, 7vw, 3.1rem);
}
.header-cta {
  flex-shrink: 0;
  padding: 0.55rem 0.95rem;
  background: var(--accent);
  color: var(--white);
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: var(--radius);
  letter-spacing: 0.02em;
}
.header-cta:hover { background: var(--accent-deep); }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 12, 12, 0.55) 0%, rgba(12, 12, 12, 0.35) 35%, rgba(12, 12, 12, 0.88) 100%),
    linear-gradient(90deg, rgba(12, 12, 12, 0.55) 0%, transparent 55%);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin: 0 auto;
  padding: calc(var(--header-h) + 2.5rem) 0 3.5rem;
}
.hero-brand {
  width: auto;
  height: clamp(4.5rem, 14vw, 7rem);
  margin-bottom: 1.35rem;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45));
}
.hero-eyebrow {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0.65rem;
}
.hero-eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.5rem;
  height: 2px;
  margin-right: 0.55rem;
  margin-bottom: 0.2rem;
  vertical-align: middle;
  background: var(--accent);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* Urgency */
.urgency-strip {
  background: var(--accent);
  color: var(--white);
}
.urgency-strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
}
.urgency-strip p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.15rem, 3vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
}
.urgency-strip .btn--dark:hover {
  background: var(--white);
  color: var(--ink);
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}
.section--paper {
  background: var(--paper);
  color: var(--text);
}
.section--surface {
  background: var(--surface);
}
.section-head {
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}
.section-head--center {
  text-align: center;
  margin-inline: auto;
}
.section-head--center .lede {
  margin-inline: auto;
}

.service-grid {
  display: grid;
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
}
.section--surface .service-grid {
  background: var(--line);
  border-color: var(--line);
}
.service-grid article {
  background: var(--paper);
  padding: clamp(1.25rem, 3vw, 1.75rem);
}
.section--surface .service-grid article {
  background: var(--ink);
}
.service-grid h3 { margin-bottom: 0.55rem; color: var(--accent); }
.service-grid p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.section--surface .service-grid p { color: rgba(255, 255, 255, 0.72); }

@media (min-width: 720px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
}

.split {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; }
}
.split-media {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
}
.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.check-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.5rem;
}
.check-list li {
  position: relative;
  padding-left: 1.5rem;
  color: rgba(255, 255, 255, 0.85);
}
.section--paper .check-list li { color: var(--text); }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.65rem;
  height: 0.65rem;
  background: var(--accent);
  border-radius: 1px;
}

/* Gallery */
.gallery {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 800px) {
  .gallery { grid-template-columns: repeat(4, 1fr); }
}
.gallery a {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 1;
  background: var(--ink);
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.gallery a:hover img { transform: scale(1.04); }

/* Reviews */
.reviews {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .reviews { grid-template-columns: repeat(3, 1fr); }
}
.review {
  padding: 1.35rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink);
}
.review-stars {
  color: var(--accent);
  letter-spacing: 0.12em;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}
.review blockquote {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}
.review cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}

/* Zones */
.zones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.zones span {
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
}

/* Contact */
.contact-wrap {
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .contact-wrap { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
}
.contact-meta {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
.contact-meta p { margin: 0; }
.contact-meta strong {
  display: block;
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.2rem;
}
.form-shell {
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1rem, 3vw, 1.5rem);
  min-height: 28rem;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

#devis {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

/* Footer */
.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--line);
  padding: 0 0 var(--float-clearance);
}
.footer-bar {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1.15rem;
  padding: 0.85rem 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}
.footer-bar a:hover { color: var(--accent); }
.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-credit img {
  height: 0.95rem;
  width: auto;
  opacity: 0.85;
}
.footer-inner {
  display: none;
}
.footer-brand {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

/* Float call */
.float-call {
  position: fixed;
  z-index: 60;
  right: var(--gutter);
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0.75rem 1.15rem;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(240, 90, 0, 0.4);
}
.float-call:hover { background: var(--accent-deep); }
@media (min-width: 900px) {
  .float-call { display: none; }
  .site-footer { padding-bottom: 0; }
}

/* Page hero (merci / legal) */
.page-hero {
  padding: calc(var(--header-h) + 2.5rem) var(--gutter) 2rem;
  background: var(--surface);
  color: var(--white);
}
.page-hero h1 {
  max-width: 18ch;
  color: var(--white);
}
.page-hero .eyebrow {
  color: var(--accent);
}

/* Legal */
.legal {
  max-width: 48rem;
  color: var(--text);
  background: var(--paper);
  margin: 0 auto;
  padding: 0 0 3rem;
}
body.is-legal { background: var(--paper); color: var(--text); }
.legal-intro {
  padding: 1.25rem 0 0.5rem;
  border-bottom: 1px solid var(--line-light);
  margin-bottom: 1.75rem;
}
.legal h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.35rem;
  color: var(--text);
}
.legal p, .legal li { color: var(--muted); }
.legal ul { list-style: disc; padding-left: 1.25rem; margin: 0.75rem 0; }
.legal a { color: var(--accent-deep); text-decoration: underline; }
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.92rem;
}
.legal-table th,
.legal-table td {
  border: 1px solid var(--line-light);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}
.legal-table th { background: #ebebe8; color: var(--text); }

/* Thank you */
body.is-thankyou {
  background: var(--ink);
  color: var(--white);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
body.is-thankyou .thankyou-main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2.5rem;
}
.thankyou-panel {
  width: min(34rem, 100%);
  text-align: center;
}
.thankyou-logo {
  width: auto;
  height: clamp(5.5rem, 16vw, 7.5rem);
  margin: 0 auto 1.5rem;
}
.thankyou-panel h1 {
  margin: 0.15rem 0 0;
}
.thankyou-panel .lede {
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.82);
}
.thankyou-note {
  margin: 1rem auto 0;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
}
.thankyou-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.75rem;
}
body.is-thankyou .site-footer {
  margin-top: auto;
}

/* Legacy card (unused on merci) */
.thankyou-card {
  max-width: 36rem;
  margin: 0 auto 3rem;
  padding: 2rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  text-align: center;
}
.thankyou-icon {
  margin: 0 0 0.75rem;
  font-size: 2rem;
  color: var(--accent);
}
.thankyou-card h2 {
  margin-bottom: 0.75rem;
  color: var(--text);
}
.thankyou-card .lede {
  margin-inline: auto;
  color: var(--muted);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: var(--gutter);
  background: rgba(0, 0, 0, 0.9);
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 82vh;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: var(--gutter);
  background: transparent;
  border: 0;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
}
.lightbox figcaption {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  font-size: 0.9rem;
}
