/*
Theme Name:   Matrivago Car Child
Theme URI:    https://matrivago-car.fr
Description:  Thème enfant Hello Elementor pour Matrivago Car
Author:       Matrivago Car
Author URI:   https://matrivago-car.fr
Template:     hello-elementor
Version:      1.0.0
Text Domain:  matrivago-child
*/

/* ─── VARIABLES GLOBALES ─────────────────────────────────── */
:root {
  --primary:    #E8A020;
  --primary-h:  #d4901a;
  --dark:       #0B1F3A;
  --dark2:      #132d56;
  --text:       #2d2d2d;
  --text-light: #6b7280;
  --bg:         #ffffff;
  --bg-soft:    #f8f9fa;
  --border:     #e5e7eb;
  --h: 'Poppins', sans-serif;
  --b: 'Inter', sans-serif;
  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  30px;
  --sh-sm: 0 2px 8px rgba(0,0,0,.08);
  --sh-md: 0 8px 30px rgba(0,0,0,.12);
  --sh-lg: 0 20px 60px rgba(0,0,0,.18);
  --t:     .3s cubic-bezier(.4,0,.2,1);
}

/* ─── BASE ───────────────────────────────────────────────── */
html { scroll-behavior: smooth; }
body { font-family: var(--b); color: var(--text); background: var(--bg); overflow-x: hidden; }
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }

h1, h2, h3, h4, .elementor-heading-title {
  font-family: var(--h) !important;
  line-height: 1.2;
}
h1 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 700; }

/* ─── BOUTONS ────────────────────────────────────────────── */
.btn,
.elementor-button {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .75rem 1.75rem;
  border-radius: var(--r-xl) !important;
  font-family: var(--h) !important;
  font-weight: 600;
  font-size: .9rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--t);
  white-space: nowrap;
}

.elementor-button.btn-primary,
.btn-primary {
  background: var(--primary) !important;
  color: #fff !important;
  border-color: var(--primary) !important;
}
.elementor-button.btn-primary:hover,
.btn-primary:hover {
  background: var(--primary-h) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,160,32,.35);
}

.elementor-button.btn-outline,
.btn-outline {
  background: transparent !important;
  color: var(--dark) !important;
  border-color: var(--dark) !important;
}
.elementor-button.btn-outline:hover,
.btn-outline:hover {
  background: var(--dark) !important;
  color: #fff !important;
  transform: translateY(-2px);
}

.elementor-button.btn-outline-white,
.btn-outline-white {
  background: transparent !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.7) !important;
}
.elementor-button.btn-outline-white:hover,
.btn-outline-white:hover {
  background: #fff !important;
  color: var(--dark) !important;
}

/* ─── LABEL BADGE ────────────────────────────────────────── */
.lbl {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .6rem;
}

/* ─── HERO SECTION ───────────────────────────────────────── */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(130deg, #0f0f23 0%, var(--dark) 45%, #0f3460 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,160,32,.15) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}
.hero-glow2 {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,.12) 0%, transparent 70%);
  bottom: -100px;
  left: 10%;
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(232,160,32,.15);
  border: 1px solid rgba(232,160,32,.35);
  color: var(--primary);
  padding: .3rem .9rem;
  border-radius: var(--r-xl);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero-title { color: #fff; margin-bottom: 1.1rem; }
.hero-title em { color: var(--primary); font-style: normal; }
.hero-sub  { color: rgba(255,255,255,.72); font-size: 1.05rem; line-height: 1.75; max-width: 490px; margin-bottom: 1.8rem; }
.hero-stats { display: flex; gap: 2rem; border-top: 1px solid rgba(255,255,255,.1); padding-top: 2rem; margin-top: 1rem; }
.hs-val  { font-family: var(--h); font-size: 1.75rem; font-weight: 800; color: var(--primary); line-height: 1; }
.hs-lbl  { font-size: .75rem; color: rgba(255,255,255,.55); margin-top: .2rem; }

.hero-car-img { animation: float 4s ease-in-out infinite; filter: drop-shadow(0 20px 40px rgba(0,0,0,.5)); }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }

/* ─── SEARCH CARD ─────────────────────────────────────────── */
.search-card {
  background: rgba(255,255,255,.97);
  border-radius: var(--r-lg);
  padding: 1.6rem 2rem;
  box-shadow: var(--sh-lg);
}
.search-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: .9rem;
  align-items: end;
}
.sf-g { display: flex; flex-direction: column; gap: .35rem; }
.sf-g label { font-size: .73rem; font-weight: 600; color: var(--text-light); }
.sf-g input,
.sf-g select {
  height: 46px;
  padding: 0 .875rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: .875rem;
  font-family: var(--b);
  color: var(--text);
  background: #fff;
  transition: border-color var(--t);
}
.sf-g input:focus,
.sf-g select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(232,160,32,.1);
}

/* ─── STATS BAR ───────────────────────────────────────────── */
.stats-bar { background: var(--dark); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item {
  text-align: center;
  padding: 2rem;
  border-right: 1px solid rgba(255,255,255,.08);
}
.stat-item:last-child { border-right: none; }
.stat-number { font-family: var(--h); font-size: 2.4rem; font-weight: 800; color: var(--primary); }
.stat-label  { color: rgba(255,255,255,.55); font-size: .875rem; margin-top: .4rem; }

/* ─── FEATURE CARDS ───────────────────────────────────────── */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.75rem; }
.feat-card {
  background: #fff;
  border-radius: var(--r-md);
  padding: 2.25rem 1.75rem;
  border: 1.5px solid var(--border);
  transition: all var(--t);
  position: relative;
  overflow: hidden;
}
.feat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--primary);
  transform: scaleY(0);
  transition: transform var(--t);
}
.feat-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: transparent; }
.feat-card:hover::before { transform: scaleY(1); }
.feat-icon {
  width: 52px; height: 52px;
  background: rgba(232,160,32,.1);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
  transition: background var(--t);
}
.feat-card:hover .feat-icon { background: var(--primary); }

/* ─── CAR CARDS ───────────────────────────────────────────── */
.cars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.75rem; }
.car-card {
  background: #fff;
  border-radius: var(--r-md);
  border: 1.5px solid var(--border);
  overflow: hidden;
  transition: all var(--t);
  display: flex;
  flex-direction: column;
}
.car-card:hover { box-shadow: var(--sh-md); border-color: var(--primary); transform: translateY(-4px); }
.car-img { position: relative; height: 190px; overflow: hidden; background: var(--bg-soft); }
.car-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.car-card:hover .car-img img { transform: scale(1.06); }
.car-badge {
  position: absolute; top: .9rem; left: .9rem;
  background: var(--primary); color: #fff;
  font-size: .68rem; font-weight: 700;
  padding: .22rem .7rem;
  border-radius: var(--r-xl);
  text-transform: uppercase;
}
.car-body { padding: 1.1rem; flex: 1; display: flex; flex-direction: column; }
.car-brand  { font-size: .72rem; color: var(--text-light); font-weight: 500; }
.car-name   { font-family: var(--h); font-size: 1rem; font-weight: 700; margin: .15rem 0 .7rem; }
.car-specs  { display: flex; gap: .9rem; font-size: .78rem; color: var(--text-light); margin-bottom: .9rem; }
.car-price-row { display: flex; align-items: flex-end; justify-content: space-between; margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--border); }
.price-label  { font-size: .72rem; color: var(--text-light); }
.price-value  { font-family: var(--h); font-size: 1.35rem; font-weight: 800; color: var(--primary); line-height: 1; }
.price-unit   { font-size: .7rem; font-weight: 400; color: var(--text-light); }

/* ─── HOW IT WORKS ─────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-top: 2.75rem;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), rgba(232,160,32,.15));
}
.step { text-align: center; position: relative; }
.step-number {
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(232,160,32,.35);
  background: rgba(232,160,32,.12);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  font-family: var(--h); font-size: 1.5rem; font-weight: 800; color: var(--primary);
  position: relative; z-index: 1;
  transition: all var(--t);
}
.step:hover .step-number { background: var(--primary); color: #fff; border-color: var(--primary); transform: scale(1.1); }
.step-title { color: #fff; font-size: .95rem; margin-bottom: .5rem; font-weight: 700; font-family: var(--h); }
.step-text  { color: rgba(255,255,255,.55); font-size: .82rem; line-height: 1.65; }

/* ─── TESTIMONIALS ─────────────────────────────────────────── */
.testi-card {
  background: #fff;
  border-radius: var(--r-md);
  padding: 1.75rem;
  border: 1.5px solid var(--border);
  height: 100%;
}
.stars { color: #f59e0b; display: flex; gap: 4px; margin-bottom: .9rem; font-size: 1.1rem; }
.testi-text { font-size: .9rem; line-height: 1.8; color: var(--text); margin-bottom: 1.25rem; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: .65rem; }
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem; color: #fff;
  flex-shrink: 0;
}
.testi-name  { font-weight: 700; font-size: .875rem; }
.testi-city  { font-size: .75rem; color: var(--text-light); }

/* ─── CTA BANNER ───────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(130deg, var(--primary) 0%, #d4901a 100%);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -40%; right: -5%;
  width: 450px; height: 450px;
  background: rgba(255,255,255,.06);
  border-radius: 50%;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%; left: 8%;
  width: 280px; height: 280px;
  background: rgba(255,255,255,.05);
  border-radius: 50%;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

/* ─── CONTACT CARDS ────────────────────────────────────────── */
.contact-card {
  background: #fff;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  box-shadow: var(--sh-sm);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: .75rem;
}
.contact-card-label {
  font-size: .7rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .2rem;
}
.contact-card-value { font-weight: 600; color: var(--dark); }

/* ─── PRICE SUMMARY ────────────────────────────────────────── */
.price-summary {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
  border-radius: var(--r-md);
  padding: 1.4rem;
  color: #fff;
  margin-top: 1.25rem;
}
.price-row { display: flex; justify-content: space-between; align-items: center; padding: .45rem 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.price-row:last-child { border-bottom: none; }
.price-row-label { font-size: .82rem; color: rgba(255,255,255,.65); }
.price-row-total  { border-top: 2px solid rgba(255,255,255,.14) !important; margin-top: .4rem !important; padding-top: .9rem; }
.total-label { font-size: .95rem; font-weight: 700; }
.total-value { font-size: 1.65rem; font-weight: 800; color: var(--primary); }

/* ─── FOOTER ───────────────────────────────────────────────── */
.site-footer { background: var(--dark); color: rgba(255,255,255,.65); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; padding: 64px 0 44px; }
.footer-brand p { font-size: .82rem; line-height: 1.8; color: rgba(255,255,255,.45); margin: 1rem 0; }
.footer-social { display: flex; gap: .65rem; margin-top: .9rem; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t);
  color: rgba(255,255,255,.5);
}
.footer-social a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.footer-col-title { font-family: var(--h); font-size: .82rem; font-weight: 700; color: #fff; margin-bottom: 1.1rem; letter-spacing: .04em; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: .55rem; padding: 0; }
.footer-links a { color: rgba(255,255,255,.5); font-size: .82rem; transition: color var(--t); }
.footer-links a:hover { color: var(--primary); }
.footer-newsletter-form { display: flex; gap: .4rem; margin-top: .9rem; }
.footer-newsletter-form input {
  flex: 1;
  padding: .6rem .9rem;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-xl);
  background: rgba(255,255,255,.05);
  color: #fff;
  font-size: .82rem;
}
.footer-newsletter-form input::placeholder { color: rgba(255,255,255,.3); }
.footer-newsletter-form button {
  background: var(--primary);
  border: none;
  color: #fff;
  padding: .6rem 1.1rem;
  border-radius: var(--r-xl);
  cursor: pointer;
  font-size: .82rem;
  font-weight: 600;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.4rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .76rem;
  color: rgba(255,255,255,.35);
}
.footer-bottom-links { display: flex; gap: 1.25rem; }
.footer-bottom a { color: rgba(255,255,255,.35); }
.footer-bottom a:hover { color: var(--primary); }

/* ─── UTILITAIRES ──────────────────────────────────────────── */
.container { width: min(1200px, 94%); margin-inline: auto; }
.sp    { padding: 80px 0; }
.sp-sm { padding: 50px 0; }
.tc    { text-align: center; }
.section-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .6rem;
}
.section-sub {
  color: var(--text-light);
  margin-top: .5rem;
  max-width: 550px;
  margin-inline: auto;
}
.dark-section { background: var(--dark); }
.soft-bg      { background: var(--bg-soft); }
.text-primary { color: var(--primary); }
.text-white   { color: #fff; }

/* ─── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .feat-grid, .cars-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .cta-inner { flex-direction: column; text-align: center; }
  .search-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --r-lg: 14px; --r-xl: 24px; }
  .feat-grid, .cars-grid, .steps-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; justify-content: center; gap: 1.25rem; }
  .search-grid { grid-template-columns: 1fr; gap: .75rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
