/*
Theme Name: L'Atelier de l'Orne — Landing Page
Theme URI: https://latelierdelorne.com
Author: L'Atelier de l'Orne
Description: Landing page temporaire pour l'activité de vente de véhicules d'occasion de L'Atelier de l'Orne.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: atelier-orne
*/


:root {
  --navy: #062755;
  --navy-deep: #031a3b;
  --blue: #0f4f92;
  --sky: #dceafb;
  --paper: #f5f7fa;
  --white: #ffffff;
  --ink: #0b1c34;
  --muted: #647186;
  --line: #d8e0ea;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }
.page-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.hero {
  min-height: 760px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 40%, rgba(59, 116, 181, .42), transparent 24%),
    linear-gradient(135deg, #031a3b 0%, #062755 58%, #0b3b73 100%);
  color: var(--white);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
  pointer-events: none;
}
.road-line {
  position: absolute;
  width: 700px;
  height: 700px;
  border: 2px solid rgba(255,255,255,.11);
  border-radius: 48%;
  transform: rotate(-28deg);
}
.road-line-one { right: -250px; top: 110px; }
.road-line-two { right: -140px; top: 215px; border-color: rgba(255,255,255,.06); }

.site-header {
  height: 142px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.brand {
  width: 166px;
  height: 116px;
  padding: 7px;
  border-radius: 14px;
  background: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 14px 34px rgba(0,0,0,.13);
}
.brand img { width: 108px; height: 108px; object-fit: contain; }
.header-actions { display: flex; align-items: center; gap: 26px; }
.opening-pill {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.opening-pill span { width: 8px; height: 8px; border-radius: 50%; background: #76b6ff; box-shadow: 0 0 0 6px rgba(118,182,255,.11); }
.small-link { font-size: 14px; font-weight: 700; padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.6); }

.hero-content {
  min-height: 535px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 1;
}
.hero-copy { padding: 56px 0 48px; }
.eyebrow {
  margin: 0 0 22px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #a8cefa;
}
.eyebrow.navy { color: var(--blue); }
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-size: clamp(48px, 6vw, 82px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 760;
}
.hero-lead { max-width: 660px; color: #d5e1f0; font-size: 19px; line-height: 1.7; }
.hero-cta { margin-top: 38px; display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  color: var(--navy);
  padding: 17px 21px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 15px 40px rgba(0,0,0,.15);
  transition: transform .2s ease, box-shadow .2s ease;
}
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 20px 44px rgba(0,0,0,.22); }
.text-button { font-size: 14px; font-weight: 700; color: #d9e9fb; }
.text-button span { margin-left: 8px; }

.hero-vehicle { justify-self: end; width: min(520px, 100%); text-align: right; }
.vehicle-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.48;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.05);
  box-shadow: 0 34px 70px rgba(0,0,0,.3);
}
.vehicle-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 55px rgba(3,26,59,.28);
  pointer-events: none;
}
.vehicle-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 65% center; display: block; }
.hero-vehicle p { margin: 20px 3px 0; color: #c6dbf2; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero-bottom {
  height: 72px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border-top: 1px solid rgba(255,255,255,.13);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 700;
  font-size: 11px;
  color: #adc7e5;
}
.hero-bottom i { width: 4px; height: 4px; background: #76b6ff; border-radius: 50%; }

.approach { padding-block: 118px; }
.section-heading { display: inline-block; width: 55%; vertical-align: top; }
.section-heading h2, .services h2, .contact h2 { margin-bottom: 0; font-size: clamp(38px, 4.5vw, 64px); line-height: 1.05; letter-spacing: -.045em; color: var(--navy); }
.section-intro { display: inline-block; width: 42%; margin: 42px 0 0 2%; color: var(--muted); line-height: 1.8; font-size: 17px; vertical-align: top; }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 74px; }
.promise-card { min-height: 300px; padding: 32px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; transition: transform .2s ease, border-color .2s ease; }
.promise-card:hover { transform: translateY(-5px); border-color: #99b8db; }
.promise-number { display: block; margin-bottom: 75px; color: var(--blue); font-size: 13px; font-weight: 800; }
.promise-card h3 { margin-bottom: 16px; font-size: 22px; color: var(--navy); }
.promise-card p { margin-bottom: 0; color: var(--muted); line-height: 1.65; font-size: 15px; }

.services { background: var(--navy); color: var(--white); }
.services-inner { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 560px; }
.service-main { padding: 92px 70px 92px 0; border-right: 1px solid rgba(255,255,255,.14); }
.service-main h2 { color: var(--white); max-width: 540px; }
.service-main > p:not(.eyebrow) { max-width: 560px; margin: 32px 0; color: #c9d8e9; font-size: 17px; line-height: 1.75; }
.service-status { display: inline-block; padding: 10px 14px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; font-size: 11px; letter-spacing: .11em; text-transform: uppercase; font-weight: 800; }
.service-status.active { color: #a8cefa; }
.service-soon { padding: 92px 0 92px 70px; background: linear-gradient(135deg, rgba(255,255,255,.04), transparent); }
.service-soon .eyebrow { color: #a8cefa; }
.service-soon h3 { font-size: 32px; max-width: 420px; line-height: 1.15; }
.service-soon ul { margin: 42px 0 0; padding: 0; list-style: none; }
.service-soon li { display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.13); }
.service-soon li:last-child { border-bottom: 1px solid rgba(255,255,255,.13); }
.service-soon li span { color: #e6eef8; }
.service-soon li em { color: #8ea9c7; font-style: normal; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }

.contact { padding-block: 108px; }
.contact-panel { display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; padding: 64px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 24px 70px rgba(14,35,65,.07); }
.contact-panel > div:first-child > p:last-child { max-width: 650px; margin: 26px 0 0; color: var(--muted); line-height: 1.7; }
.contact-details { padding-left: 50px; border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.contact-details > span { margin-bottom: 12px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.contact-details strong { font-size: 20px; line-height: 1.5; color: var(--navy); }
.contact-details a { margin-top: 26px; color: var(--blue); font-weight: 800; font-size: 14px; }
.facebook-link { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; }
.facebook-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #1877f2; color: #fff; font: 800 20px/1 Arial, sans-serif; }

footer { background: #e9eef4; border-top: 1px solid var(--line); }
.footer-inner { min-height: 120px; display: flex; align-items: center; justify-content: space-between; gap: 30px; color: #68768a; font-size: 12px; }
.footer-inner p { margin: 0; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: var(--navy); font-weight: 800; }
.footer-brand img { width: 44px; height: 44px; object-fit: contain; border-radius: 5px; }

@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 0; padding-bottom: 40px; }
  .hero-vehicle { width: 100%; justify-self: stretch; text-align: left; }
  .vehicle-frame { aspect-ratio: 16 / 9; }
  .section-heading, .section-intro { display: block; width: 100%; margin-left: 0; }
  .section-intro { margin-top: 32px; max-width: 680px; }
  .promise-grid { grid-template-columns: 1fr; }
  .promise-card { min-height: auto; }
  .promise-number { margin-bottom: 36px; }
  .services-inner { grid-template-columns: 1fr; }
  .service-main { padding-right: 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .service-soon { padding-left: 0; }
  .contact-panel { grid-template-columns: 1fr; gap: 48px; }
  .contact-details { padding: 42px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .footer-inner { flex-direction: column; justify-content: center; padding-block: 30px; text-align: center; }
}

@media (max-width: 640px) {
  .page-shell { width: min(100% - 30px, 1180px); }
  .site-header { height: 118px; }
  .brand { width: 124px; height: 94px; }
  .brand img { width: 86px; height: 86px; }
  .opening-pill { display: none; }
  .small-link { font-size: 13px; }
  .hero { min-height: 690px; }
  .hero-content { min-height: 500px; }
  .hero-copy { padding-top: 58px; }
  h1 { font-size: 49px; }
  .hero-lead { font-size: 17px; }
  .hero-cta { align-items: flex-start; flex-direction: column; gap: 22px; }
  .hero-bottom { gap: 10px; letter-spacing: .08em; }
  .approach { padding-block: 82px; }
  .promise-grid { margin-top: 48px; }
  .service-main, .service-soon { padding-block: 72px; }
  .service-soon li { flex-direction: column; gap: 8px; }
  .contact { padding-block: 74px; }
  .contact-panel { padding: 34px 25px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
