/* ==========================================================================
   PORA — Propre ou Rien Auto — Styles
   Charte : #005EDF (Blue) / #001030 (Navy Deep) / #082868 (Navy Accent)
   ========================================================================== */

:root {
  --blue: #005EDF;
  --blue-dark: #0049b3;
  --navy-deep: #001030;
  --navy-accent: #082868;
  --white: #ffffff;
  --black: #0B0B0B;
  --gray-50: #f7f9fc;
  --gray-100: #F0F0F0;
  --gray-200: #e3e8ef;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #0f172a;
  --metal: #8A94A3;
  --success: #10b981;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(0, 16, 48, .06);
  --shadow: 0 4px 16px rgba(0, 16, 48, .08);
  --shadow-lg: 0 12px 32px rgba(0, 16, 48, .12);
  --container: 1200px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-heading: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --transition: .25s cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, picture, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-dark); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

/* Layout */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
@media (max-width: 768px) { .section { padding: 48px 0; } }

/* Headings */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; color: var(--gray-900); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 8px; }
h4 { font-size: 1.05rem; }
p { margin-bottom: 12px; }
.lead { font-size: 1.15rem; color: var(--gray-700); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 12px;
}
.section-header { text-align: center; max-width: 720px; margin: 0 auto 48px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 28px; border-radius: var(--radius);
  font-weight: 600; font-size: 1rem; line-height: 1;
  transition: all var(--transition); white-space: nowrap;
  text-align: center; cursor: pointer;
}
.btn-primary { background: var(--blue); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--blue-dark); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-secondary { background: var(--white); color: var(--blue); border: 2px solid var(--blue); }
.btn-secondary:hover { background: var(--blue); color: var(--white); }
.btn-dark { background: var(--navy-deep); color: var(--white); }
.btn-dark:hover { background: var(--navy-accent); color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.35); }
.btn-ghost:hover { background: var(--white); color: var(--navy-deep); border-color: var(--white); }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--gray-200);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo img { height: 44px; width: auto; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--gray-700); font-weight: 500; font-size: .95rem; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.nav-tel { font-weight: 600; color: var(--navy-deep); }
.nav-toggle {
  display: none; width: 44px; height: 44px;
  align-items: center; justify-content: center; color: var(--navy-deep);
}
.nav-toggle span { width: 22px; height: 2px; background: currentColor; position: relative; transition: all var(--transition); }
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor; transition: all var(--transition);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
@media (max-width: 960px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--white); padding: 16px 20px 24px;
    gap: 4px; box-shadow: var(--shadow);
  }
  .nav.open .nav-links a {
    padding: 14px 12px; border-radius: 8px; width: 100%;
  }
  .nav.open .nav-links a:hover { background: var(--gray-50); }
  .nav.open .nav-cta .btn { display: inline-flex; }
  .nav-tel { font-size: .9rem; }
}

/* Hero */
.hero {
  position: relative; background: var(--navy-deep); color: var(--white);
  padding: 96px 0 112px; overflow: hidden;
}
.hero-mark {
  position: absolute; top: 24px; right: 24px; z-index: 3;
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.hero-mark:hover { background: var(--blue); border-color: var(--blue); transform: scale(1.05); }
.hero-mark img { width: 40px; height: 40px; object-fit: contain; }
@media (max-width: 768px) { .hero-mark { width: 52px; height: 52px; top: 16px; right: 16px; } .hero-mark img { width: 32px; height: 32px; } }
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: url('../img/site-hero-interieur.webp');
  background-size: cover; background-position: center;
  opacity: .38; z-index: 0; filter: saturate(1.1) contrast(1.05);
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(0,16,48,.96) 0%, rgba(8,40,104,.88) 55%, rgba(0,94,223,.72) 100%);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 780px; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero-lead { font-size: 1.2rem; color: rgba(255,255,255,.88); margin-bottom: 32px; max-width: 640px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-trust {
  display: flex; gap: 24px; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15);
  font-size: .9rem; color: rgba(255,255,255,.85);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust strong { color: var(--white); }

@media (max-width: 768px) {
  .hero { padding: 64px 0 80px; }
  .hero-lead { font-size: 1.05rem; }
  .hero::before { background-image: url('../img/site-hero-interieur-mobile.webp'); }
  .hero-actions .btn { width: 100%; }
}

/* Services cards */
.cards-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 32px 28px;
  transition: all var(--transition);
  display: flex; flex-direction: column; height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.card-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(0, 94, 223, .1); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px;
}
.card h3 { color: var(--navy-deep); }
.card p { color: var(--gray-700); margin-bottom: 16px; flex-grow: 1; }
.card-price {
  display: block; color: var(--blue); font-weight: 700;
  font-size: 1.25rem; margin-bottom: 8px;
}
.card-link {
  color: var(--blue); font-weight: 600; font-size: .95rem;
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap var(--transition);
}
.card-link:hover { gap: 10px; }

/* Features */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.feature { padding: 24px; }
.feature-icon {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--navy-deep); color: var(--white);
  margin-bottom: 16px; font-size: 1.25rem;
}
.feature h3 { color: var(--navy-deep); font-size: 1.1rem; }
.feature p { color: var(--gray-700); font-size: .95rem; }

/* Pro section */
.pro-section {
  background: var(--navy-deep); color: var(--white);
  position: relative; overflow: hidden;
}
.pro-section::before {
  content: ''; position: absolute; inset: 0;
  background-image: url('../img/site-pro-kangoo.webp');
  background-size: cover; background-position: center;
  opacity: .28;
}
.pro-section .container { position: relative; }
.pro-section h2 { color: var(--white); }
.pro-section p { color: rgba(255,255,255,.88); }
.pro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
@media (max-width: 768px) { .pro-grid { grid-template-columns: 1fr; } }
.pro-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px; }
.pro-stat {
  background: rgba(255,255,255,.08); padding: 20px;
  border-radius: var(--radius); border: 1px solid rgba(255,255,255,.1);
}
.pro-stat strong { display: block; font-size: 1.6rem; color: var(--white); }
.pro-stat span { font-size: .9rem; color: rgba(255,255,255,.75); }

/* CTA Offer */
.offer-banner {
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy-accent) 100%);
  color: var(--white); border-radius: var(--radius-lg);
  padding: 48px; text-align: center; position: relative; overflow: hidden;
}
.offer-banner h2 { color: var(--white); }
.offer-banner .price-old { text-decoration: line-through; opacity: .6; margin-right: 8px; }
.offer-banner .price-new { font-size: 2rem; font-weight: 800; }
.offer-banner p { color: rgba(255,255,255,.9); max-width: 560px; margin: 16px auto 24px; }

/* Pricing table */
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.price-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 32px 28px;
  display: flex; flex-direction: column;
}
.price-card.popular {
  border: 2px solid var(--blue); position: relative;
  box-shadow: var(--shadow);
}
.price-card.popular::before {
  content: 'Le plus demandé';
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: var(--white);
  padding: 6px 16px; font-size: .78rem; font-weight: 700;
  border-radius: 100px; letter-spacing: .05em; text-transform: uppercase;
}
.price-card h3 { color: var(--navy-deep); margin-bottom: 4px; }
.price-card .price-duration { font-size: .85rem; color: var(--gray-500); margin-bottom: 16px; }
.price-card .price { font-size: 2.5rem; color: var(--blue); font-weight: 800; margin-bottom: 4px; }
.price-card .price small { font-size: .9rem; color: var(--gray-500); font-weight: 500; }
.price-card ul { margin: 20px 0; flex-grow: 1; }
.price-card li {
  padding: 8px 0; color: var(--gray-700); font-size: .95rem;
  padding-left: 26px; position: relative;
}
.price-card li::before {
  content: '✓'; position: absolute; left: 0; top: 8px;
  color: var(--blue); font-weight: 700;
}

/* Gallery (avant/apres) */
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.gallery-item {
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/3; background: var(--gray-100);
  box-shadow: var(--shadow-sm); position: relative;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-placeholder {
  display: flex; align-items: center; justify-content: center;
  height: 100%; color: var(--gray-500); font-size: .9rem; text-align: center;
  padding: 20px; background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
}

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--gray-200);
  padding: 20px 0;
}
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; text-align: left; font-size: 1.1rem; font-weight: 600;
  color: var(--navy-deep); padding: 4px 0;
}
.faq-question::after {
  content: '+'; font-size: 1.6rem; color: var(--blue);
  transition: transform var(--transition); line-height: 1; font-weight: 400;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height var(--transition);
}
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer-inner { padding-top: 16px; color: var(--gray-700); }
.faq-answer-inner ul { padding-left: 20px; margin: 8px 0; }
.faq-answer-inner ul li { list-style: disc; padding: 3px 0; }

/* Contact form */
.contact-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form label { display: block; font-size: .9rem; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius); font-family: inherit; font-size: 1rem;
  background: var(--white); transition: border-color var(--transition);
  color: var(--gray-900);
}
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 94, 223, .12);
}
.form-success {
  background: #e6f7ef; border: 1px solid var(--success);
  padding: 16px; border-radius: var(--radius); color: #05603a;
  display: none;
}
.form-success.show { display: block; }

.contact-info { padding: 0; }
.contact-info h3 { color: var(--navy-deep); margin-bottom: 4px; }
.contact-block {
  display: flex; gap: 16px; padding: 16px 0;
  border-bottom: 1px solid var(--gray-200);
}
.contact-block:last-child { border-bottom: 0; }
.contact-block-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(0, 94, 223, .1); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.contact-block-content strong { display: block; color: var(--navy-deep); margin-bottom: 2px; }
.contact-block-content span, .contact-block-content a { color: var(--gray-700); font-size: .95rem; }

/* Zones */
.zones-list {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center; max-width: 860px; margin: 24px auto 0;
}
.zone-tag {
  background: var(--white); color: var(--gray-700);
  padding: 8px 14px; border-radius: 100px; font-size: .9rem;
  border: 1px solid var(--gray-200); font-weight: 500;
}

/* Footer */
.site-footer {
  background: var(--navy-deep); color: rgba(255,255,255,.75);
  padding: 64px 0 24px; font-size: .95rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 48px;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 44px; margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,.7); max-width: 320px; }
.footer-col h4 { color: var(--white); font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer-col ul li { padding: 6px 0; }
.footer-col a { color: rgba(255,255,255,.75); font-size: .92rem; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px; text-align: center;
  font-size: .85rem; color: rgba(255,255,255,.55);
}
.footer-bottom a { color: rgba(255,255,255,.75); }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-24 { margin-top: 24px; }
.mt-48 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }
.bg-gray { background: var(--gray-50); }
.bg-navy { background: var(--navy-deep); color: var(--white); }
.bg-navy h2 { color: var(--white); }
.bg-navy .lead { color: rgba(255,255,255,.85); }

.two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* WhatsApp float */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, .4);
  transition: all var(--transition); font-size: 1.6rem;
}
.wa-float:hover { transform: scale(1.06); color: var(--white); }

/* Page header (non-home pages) */
.page-header {
  background: var(--navy-deep); color: var(--white);
  padding: 72px 0 56px; position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(0, 94, 223, .3) 0%, transparent 60%);
}
.page-header .container { position: relative; }
.page-header h1 { color: var(--white); margin-bottom: 12px; }
.page-header p { color: rgba(255,255,255,.85); max-width: 640px; font-size: 1.1rem; }
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,.85); }

/* Tables */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--gray-200); }
.table { width: 100%; border-collapse: collapse; background: var(--white); }
.table th, .table td {
  padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--gray-200);
}
.table th {
  background: var(--navy-deep); color: var(--white);
  font-weight: 600; font-size: .9rem; text-transform: uppercase; letter-spacing: .05em;
}
.table tr:last-child td { border-bottom: 0; }
.table tr:hover { background: var(--gray-50); }
