:root {
  --black: #11120f;
  --black-mid: #171914;
  --black-card: #1c1e18;
  --white: #f4f1e9;
  --white-dim: #bbbdb0;
  --gold: #c9ad70;
  --gold-light: #e8d19a;
  --gold-dark: #877348;
  --surface-border: rgba(201, 173, 112, .2);
  --font-body: 'Manrope', sans-serif;
}

html { scroll-padding-top: 110px; }
body { -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
::selection { background: var(--gold); color: var(--black); }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 5px; }
[hidden] { display: none !important; }
a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { font-family: inherit; }
section[id] { scroll-margin-top: 110px; }
nav {
  top: 16px;
  left: max(24px, calc((100vw - 1380px) / 2));
  right: max(24px, calc((100vw - 1380px) / 2));
  padding: 15px 24px;
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  background: rgba(17, 18, 15, .89);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 50px #0002;
  transition: background .3s, box-shadow .3s;
}
nav.scrolled { background: rgba(17, 18, 15, .97); box-shadow: 0 12px 40px #0005; }
.nav-logo { font-size: 1.75rem; letter-spacing: .06em; }
.nav-links { gap: clamp(1rem, 2vw, 2rem); }
.nav-links a { font-size: .7rem; letter-spacing: .1em; padding: 12px 0; position: relative; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 4px;
  height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .3s;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta, .btn-primary, .btn-outline, .form-submit { border-radius: 6px; min-height: 48px; }
.nav-cta { display: inline-flex; align-items: center; gap: 12px; }
.nav-cta::after { content: '↗'; font-size: 1rem; }
.btn-primary, .form-submit { background: var(--gold); box-shadow: inset 0 1px 0 #fff3; }
.btn-outline { border-color: var(--surface-border); background: #ffffff03; }
.btn-primary:hover, .form-submit:hover { box-shadow: 0 10px 30px #0003; }
.hamburger { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; z-index: 2; }
.hamburger[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; }
.skip-link {
  position: fixed; top: 8px; left: 16px; z-index: 500;
  padding: 12px 20px; background: var(--gold); color: var(--black);
  transform: translateY(-160%); border-radius: 5px;
}
.skip-link:focus { transform: translateY(0); }
#hero { min-height: min(900px, 100svh); padding: 125px 0 85px; }
.hero-bg {
  background: radial-gradient(ellipse at 85% 55%, #c9ad7010, transparent 60%),
    linear-gradient(90deg, transparent 49.9%, #c9ad700a 50%, transparent 50.1%);
}
.hero-content {
  max-width: 1360px; padding: 0 48px;
  grid-template-columns: .95fr 1.05fr; gap: 34px;
}
.hero-eyebrow { letter-spacing: .22em; margin-bottom: 28px; font-size: .68rem; }
.hero-title { font-size: clamp(3.7rem, 6.7vw, 6.5rem); line-height: .98; letter-spacing: -.01em; }
.hero-subtitle { margin: 20px 0; font-size: 1.5rem; color: var(--white); }
.hero-desc { max-width: 400px; font-size: .88rem; line-height: 1.9; }
.hero-actions { gap: 12px; margin-top: 30px; }
.hero-actions a { padding: 17px 23px; font-size: .68rem; letter-spacing: .1em; }
.hero-text { animation: entrance .85s both; }
.hero-car-wrap { animation: entrance 1s .12s both; }
.vehicle-experience {
  display: block; min-width: 0; position: relative;
  padding: 24px 24px 20px; border: 1px solid var(--surface-border);
  border-radius: 18px; background: linear-gradient(150deg, #24261e88, #15171099);
}
.studio-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .56rem; letter-spacing: .18em; color: var(--white-dim); }
.studio-badge { padding: 6px 9px; border: 1px solid var(--surface-border); border-radius: 30px; color: var(--gold); white-space: nowrap; }
.car-viewport { height: clamp(240px, 28vw, 390px); position: relative; touch-action: pan-y; cursor: grab; outline-offset: 0; }
.car-viewport:active { cursor: grabbing; }
.car-viewport canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
.car-viewport .car-svg { position: absolute; top: 13%; width: 100%; animation: none; filter: drop-shadow(0 24px 25px #0008); }
.car-viewport.is-ready .car-svg, .car-viewport.is-ready .hero-car-glow { display: none; }
.hero-car-glow { width: 100%; height: 70%; top: 20%; background: radial-gradient(ellipse, #c9ad7020, transparent 70%); filter: none; }
.car-loading { position: absolute; bottom: 4px; left: 0; width: 100%; text-align: center; font-size: .65rem; color: var(--white-dim); }
.studio-footer { border-top: 1px solid var(--surface-border); padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.studio-model { display: block; font-family: var(--font-display); font-size: 1.3rem; letter-spacing: .05em; }
.studio-spec { display: block; color: var(--white-dim); font-size: .65rem; margin-top: 2px; }
.car-reset { border: 1px solid var(--surface-border); border-radius: 50%; width: 44px; height: 44px; color: var(--gold); background: transparent; font-size: 1.3rem; cursor: pointer; flex-shrink: 0; }
.car-reset span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.car-reset:disabled { opacity: .3; cursor: default; }
.car-help { margin-top: 16px; font-size: .62rem; color: var(--white-dim); text-align: center; }
.hero-assurances { display: flex; justify-content: space-between; gap: 10px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--surface-border); font-size: .58rem; color: var(--gold); text-transform: uppercase; letter-spacing: .06em; }
#stats { padding: 32px 0; background: #1c1e16; }
.stats-inner { max-width: 1280px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat + .stat { border-left: 1px solid var(--surface-border); }
.stat-number { font-size: 2.3rem; }
.stat-label { font-size: .62rem; letter-spacing: .12em; }
.section { padding: 100px 40px; }
.section-inner { max-width: 1240px; }
.section-title { font-size: clamp(2.7rem, 5vw, 4.5rem); line-height: 1.05; letter-spacing: -.01em; }
.section-eyebrow { font-size: .65rem; letter-spacing: .2em; margin-bottom: 20px; }
.section-desc { line-height: 1.9; max-width: 600px; }
.services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: service; }
.service-card { padding: 30px; border-radius: 12px; background: linear-gradient(145deg, #24261c, #1b1d17); counter-increment: service; }
.service-card::after { content: '0' counter(service); position: absolute; top: 28px; right: 28px; font-size: .67rem; color: var(--gold); opacity: .6; }
.service-icon { border-radius: 50%; width: 48px; height: 48px; margin-bottom: 26px; }
.service-name { font-size: 1.55rem; }
.service-desc { font-size: .82rem; }
.vehicle-grid { gap: 60px; }
.vehicle-visual { border: 1px solid var(--surface-border); border-radius: 18px; padding: 28px; background: radial-gradient(ellipse at center, #343729, #151710); overflow: hidden; }
.vehicle-glow-bg { max-width: 100%; }
.vehicle-title { line-height: 1; }
.vehicle-list li { font-size: .86rem; }
.tarifs-grid { gap: 16px; }
.tarif-card { border-radius: 12px; padding: 32px 26px; background: #1d1f19; }
.tarif-card.featured { background: linear-gradient(150deg, #3a3323, #24251c); border-color: var(--gold-dark); }
.tarif-card.featured::after { border-radius: 0 0 6px 6px; font-size: .6rem; }
.tarif-name { font-size: 1.55rem; }
.tarif-desc, .tarif-includes li { font-size: .79rem; }
.why-point { padding-bottom: 24px; border-bottom: 1px solid var(--surface-border); }
.why-point-num { opacity: .8; font-size: 2rem; }
.resa-grid { gap: 56px; }
.hero-content > *, .vehicle-grid > *, .resa-grid > *, .intro-grid > *, .form-row > * { min-width: 0; }
.resa-form { padding: 34px; background: #22241d; border: 1px solid var(--surface-border); border-radius: 16px; }
.form-title { font-size: 2rem; }
.form-group label { font-size: .7rem; letter-spacing: .05em; }
.form-group input, .form-group select, .form-group textarea {
  background: #151710; border: 1px solid #ffffff20; border-radius: 6px;
  color: var(--white); min-height: 50px; padding: 13px 15px; font-size: 16px;
  transition: border-color .2s, box-shadow .2s; color-scheme: dark;
  width: 100%; min-width: 0; max-width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px #c9ad7015; outline: none; }
.form-group textarea { min-height: 112px; resize: vertical; }
.form-group input::placeholder, .form-group textarea::placeholder { color: #8f9483; font-size: .83rem; }
.form-submit { width: 100%; min-height: 54px; border: 0; cursor: pointer; }
.form-submit:disabled { opacity: .6; cursor: wait; }
.form-privacy { font-size: .7rem; color: var(--white-dim); line-height: 1.7; margin: 6px 0 18px; }
.form-status { padding: 14px; border-radius: 6px; margin-bottom: 16px; font-size: .8rem; line-height: 1.7; border: 1px solid var(--surface-border); background: #c9ad700a; }
.form-status[data-state="error"] { border-color: #da9b7755; color: #f4c5aa; background: #da9b770a; }
.avis-grid { gap: 16px; }
.avis-card { border-radius: 12px; background: #1c1e18; border: 1px solid var(--surface-border); }
footer { padding: 60px 40px 30px; background: #0e100c; }
.footer-inner { max-width: 1240px; }
.footer-col a { display: inline-block; padding: 5px 0; }
.float-phone, .float-whatsapp {
  right: max(20px, env(safe-area-inset-right)); bottom: max(22px, env(safe-area-inset-bottom));
  background: #25d366; color: #fff; width: 58px; height: 58px;
  animation: none; border: 3px solid #ffffffc0; box-shadow: 0 8px 28px #0007;
}
.float-phone:hover, .float-whatsapp:hover { transform: translateY(-4px); box-shadow: 0 12px 30px #0008; }
.hero-apropos { min-height: 620px; padding: 145px 40px 80px; background: radial-gradient(ellipse at 80% 30%, #c9ad7015, transparent 60%); }
.hero-apropos-title { font-size: clamp(3.5rem, 7vw, 6rem); }
.hero-apropos-sub { color: var(--white-dim); max-width: 520px; margin-inline: auto; }
.intro-visual { border-radius: 14px; overflow: hidden; }
.intro-img { display: block; aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.dest-gallery { gap: 16px; }
.dest-card { border-radius: 12px; }
.dest-card-content { padding: 28px; }
.dest-card-desc { line-height: 1.7; }
.valeurs-grid { gap: 16px; }
.valeur-card { border-radius: 12px; border-color: var(--surface-border); }
.cta-bottom-inner { padding: 50px 24px; border: 1px solid var(--surface-border); border-radius: 16px; }
body:has(.merci-content) main { min-height: 85svh; padding: 160px 24px 85px; }
.merci-content { max-width: 690px; padding: 48px 32px; border: 1px solid var(--surface-border); background: #1c1e1899; border-radius: 18px; margin-inline: auto; animation: entrance .8s both; }
.merci-title { font-size: clamp(4rem, 8vw, 6rem); }
.merci-desc { color: var(--white-dim); margin-bottom: 24px; font-size: .92rem; }
.confirmation-note { color: var(--gold-light); border: 1px solid var(--surface-border); border-radius: 8px; padding: 16px; font-size: .8rem; line-height: 1.8; margin: 0 0 26px; }
.confirmation-note[data-state="warning"] { color: #efc5a9; border-color: #efc5a940; }
.reveal { opacity: 1; transform: none; }
.js-motion .reveal { opacity: 0; transform: translateY(24px); transition: transform .7s cubic-bezier(.2,.7,.2,1), opacity .7s; }
.js-motion .reveal.visible { opacity: 1; transform: none; }
@keyframes entrance { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

@media (min-width: 1000px) {
  .dest-gallery { grid-template-columns: 1.2fr 1fr; }
  .dest-card:first-child { grid-row: span 2; height: auto; min-height: 600px; }
  .dest-card:not(:first-child) { height: 290px; }
}
@media (max-width: 1100px) {
  .nav-links { gap: 14px; }
  .nav-links a { font-size: .63rem; }
  .hero-content { padding: 0 32px; gap: 24px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions a { min-width: 230px; justify-content: center; }
  .tarifs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-title { font-size: clamp(3.5rem, 6.5vw, 5.4rem); }
}
@media (max-width: 900px) {
  nav { top: 12px; left: 16px; right: 16px; padding: 10px 16px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-menu {
    display: flex; position: fixed; inset: 0; z-index: 99; padding: 105px 24px 40px;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 0;
    background: #11120ffb; overflow-y: auto; opacity: 0; visibility: hidden;
    pointer-events: none; transition: opacity .25s, visibility .25s;
  }
  .mobile-menu.open { opacity: 1; visibility: visible; pointer-events: auto; }
  .mobile-menu a { width: 100%; max-width: 500px; margin-inline: auto; padding: 15px 0; border-bottom: 1px solid var(--surface-border); font-family: var(--font-display); font-size: 1.6rem; letter-spacing: .06em; }
  .mobile-menu a::after { content: '↗'; float: right; color: var(--gold); }
  #hero { min-height: auto; padding: 125px 0 48px; }
  .hero-content { grid-template-columns: 1fr; gap: 40px; padding: 0 24px; max-width: 700px; }
  .hero-car-wrap { order: 0; }
  .hero-title { font-size: clamp(3.5rem, 9.5vw, 5.8rem); }
  .hero-desc { max-width: 510px; }
  .hero-actions { flex-direction: row; }
  .hero-actions a { min-width: 0; }
  .car-viewport { height: 330px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vehicle-grid, .why-grid, .resa-grid, .intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding: 72px 24px; }
  .hero-apropos { min-height: 530px; padding-top: 135px; }
  .intro-visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .dest-gallery { grid-template-columns: 1fr; }
  .dest-card { height: 340px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1/-1; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 92px; }
  .nav-logo { font-size: 1.55rem; }
  .hero-content { padding: 0 20px; gap: 30px; }
  .hero-eyebrow { font-size: .6rem; margin-bottom: 22px; }
  .hero-title { font-size: clamp(3.3rem, 12vw, 4.5rem); }
  .hero-subtitle { font-size: 1.3rem; }
  .hero-desc { font-size: .83rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr; width: 100%; gap: 10px; }
  .hero-actions a { min-height: 52px; }
  .vehicle-experience { padding: 18px 14px; border-radius: 12px; }
  .car-viewport { height: 240px; }
  .studio-heading { font-size: .5rem; letter-spacing: .12em; }
  .studio-model { font-size: 1.05rem; }
  .hero-assurances { font-size: .51rem; letter-spacing: 0; }
  .stats-inner { padding: 0 20px; grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .stat:nth-child(3) { border-left: none; }
  .stat-number { font-size: 2rem; }
  .stat-label { font-size: .56rem; }
  .section { padding: 56px 20px; }
  .section-title { font-size: 2.65rem; }
  .section-desc { font-size: .85rem; }
  .services-grid, .tarifs-grid, .avis-grid, .valeurs-grid { grid-template-columns: 1fr; }
  .service-card { padding: 26px; }
  .tarif-card { padding: 32px 26px; }
  .vehicle-visual { padding: 15px; }
  .resa-form { padding: 24px 18px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-item { gap: 14px; }
  .contact-item-text { min-width: 0; }
  .contact-item-text a { overflow-wrap: anywhere; }
  .hero-apropos { padding-inline: 20px; min-height: 480px; }
  .hero-apropos-title { font-size: 3.5rem; }
  .hero-apropos-sub { font-size: .92rem; }
  .dest-card { height: 310px; }
  .dest-card-content { padding: 22px; }
  .dest-card-name { font-size: 1.8rem; }
  .cta-buttons { flex-direction: column; }
  .cta-buttons a { justify-content: center; }
  footer { padding: 40px 20px 100px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .float-phone, .float-whatsapp { width: 54px; height: 54px; right: 16px; bottom: max(18px, env(safe-area-inset-bottom)); }
  body:has(.merci-content) main { padding: 120px 16px 55px; }
  .merci-content { padding: 32px 20px; }
  .merci-actions { flex-direction: column; }
  .merci-actions a { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js-motion .reveal { opacity: 1; transform: none; }
}
