/* ============================================================
   Auto Ecole De Clichy-sous-Bois — style.css
   Colors: Dark #1a1a2e | Orange #f97316 | Light #f8f9fa
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --dark: #1a1a2e;
  --dark-mid: #16213e;
  --orange: #f97316;
  --orange-dark: #ea6c0a;
  --orange-light: #fb923c;
  --light: #f8f9fa;
  --white: #ffffff;
  --gray: #6b7280;
  --gray-light: #e5e7eb;
  --text: #1f2937;
  --radius: 8px;
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
  --transition: all 0.3s ease;
}

html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', Arial, sans-serif; color: var(--text); background: var(--white); line-height: 1.7; }
a { color: var(--orange); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--orange-dark); }
img { max-width: 100%; height: auto; display: block; }

/* ---- HEADER ---- */
header { background: var(--dark); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 12px rgba(0,0,0,0.4); }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo img { height: 52px; width: auto; }
nav { display: flex; align-items: center; gap: 6px; }
nav a { color: rgba(255,255,255,0.82); padding: 8px 14px; border-radius: var(--radius); font-size: 0.9rem; font-weight: 500; transition: var(--transition); }
nav a:hover, nav a.active { background: var(--orange); color: var(--white); }
.nav-cta { background: var(--orange) !important; color: var(--white) !important; }
.nav-cta:hover { background: var(--orange-dark) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); }

/* ---- HERO CSS BG ---- */
.hero-section { position: relative; width: 100%; min-height: 100vh; background-image: url('/images/hero-autoecole.jpg'); background-size: cover; background-position: center; display: flex; align-items: center; }
.hero-section::before { content: ''; position: absolute; inset: 0; background: rgba(26,26,46,0.87); }
.hero-content { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 0 32px; color: var(--white); }
.hero-content h1 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.hero-content h1 span { color: var(--orange); }
.hero-content p { font-size: 1.15rem; color: rgba(255,255,255,0.85); max-width: 560px; margin-bottom: 36px; }
.hero-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.badge { background: rgba(249,115,22,0.2); border: 1px solid rgba(249,115,22,0.4); color: #fdba74; padding: 6px 14px; border-radius: 50px; font-size: 0.84rem; }

/* ---- BUTTONS ---- */
.btn { display: inline-block; padding: 14px 32px; border-radius: var(--radius); font-weight: 600; font-size: 0.95rem; transition: var(--transition); cursor: pointer; border: none; text-align: center; }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(249,115,22,0.35); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--dark); }
.btn-outline-dark { background: transparent; color: var(--dark); border: 2px solid var(--dark); }
.btn-outline-dark:hover { background: var(--dark); color: var(--white); }
.btn-group { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---- SECTIONS ---- */
section { padding: 80px 24px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-label { display: inline-block; background: rgba(249,115,22,0.1); color: var(--orange); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 12px; border-radius: 50px; margin-bottom: 12px; }
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; color: var(--dark); margin-bottom: 16px; line-height: 1.2; }
.section-sub { font-size: 1.05rem; color: var(--gray); max-width: 600px; margin-bottom: 48px; }
.section-header { margin-bottom: 48px; }
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ---- STATS ---- */
.stats-bar { background: var(--orange); padding: 48px 24px; }
.stats-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item h3 { font-size: 2.5rem; font-weight: 800; color: var(--white); }
.stat-item p { color: rgba(255,255,255,0.85); font-size: 0.9rem; margin-top: 4px; }

/* ---- 2-COL ---- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.two-col img { border-radius: 12px; box-shadow: var(--shadow); width: 100%; height: 380px; object-fit: cover; }
.col-content h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--dark); margin-bottom: 16px; }
.col-content p { color: var(--gray); margin-bottom: 20px; }
.check-list { list-style: none; margin-bottom: 24px; }
.check-list li { padding: 6px 0; color: var(--text); display: flex; align-items: flex-start; gap: 10px; }
.check-list li::before { content: '✓'; color: var(--orange); font-weight: 700; flex-shrink: 0; margin-top: 2px; }

/* ---- CARDS ---- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card { background: var(--white); border-radius: 12px; box-shadow: var(--shadow); padding: 28px; transition: var(--transition); border: 1px solid var(--gray-light); border-top: 4px solid transparent; }
.card:hover { transform: translateY(-4px); border-top-color: var(--orange); box-shadow: 0 12px 36px rgba(0,0,0,0.12); }
.card-icon { width: 52px; height: 52px; background: rgba(249,115,22,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 18px; }
.card h3 { font-size: 1.15rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.card p { color: var(--gray); font-size: 0.93rem; line-height: 1.65; }

/* ---- CSS BANNER ---- */
.banner-section { position: relative; padding: 100px 24px; background-image: url('/images/vue-clichy.jpg'); background-size: cover; background-position: center; background-attachment: fixed; }
.banner-section::before { content: ''; position: absolute; inset: 0; background: rgba(26,26,46,0.87); }
.banner-section .container { position: relative; z-index: 1; text-align: center; color: var(--white); }
.banner-section h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; margin-bottom: 16px; }
.banner-section p { font-size: 1.1rem; opacity: 0.85; max-width: 600px; margin: 0 auto 32px; }

/* ---- TESTIMONIALS ---- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testimonial { background: var(--light); border-radius: 12px; padding: 28px; border-left: 4px solid var(--orange); }
.testimonial p { color: var(--text); font-style: italic; margin-bottom: 16px; }
.testimonial-author { font-weight: 700; color: var(--dark); font-size: 0.9rem; }
.stars { color: var(--orange); font-size: 1rem; margin-bottom: 10px; }

/* ---- FORM ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; color: var(--dark); margin-bottom: 6px; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; border: 2px solid var(--gray-light); border-radius: var(--radius); font-size: 1rem; transition: var(--transition); background: var(--white); color: var(--text); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--orange); }
.form-group textarea { resize: vertical; min-height: 140px; }
.info-box { background: var(--dark); border-radius: 12px; padding: 32px; color: rgba(255,255,255,0.8); }
.info-box h3 { color: var(--orange); font-size: 1.3rem; margin-bottom: 20px; }
.info-item { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.info-icon { width: 40px; height: 40px; background: var(--orange); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.info-item p { font-size: 0.93rem; }
.info-item strong { color: var(--orange); display: block; margin-bottom: 2px; }

/* ---- BLOG ---- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }
.blog-card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); border: 1px solid var(--gray-light); }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.12); }
.blog-card img { width: 100%; height: 220px; object-fit: cover; }
.blog-card-body { padding: 24px; }
.blog-tag { display: inline-block; background: rgba(249,115,22,0.1); color: var(--orange); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 3px 10px; border-radius: 50px; margin-bottom: 10px; }
.blog-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; line-height: 1.4; }
.blog-card p { color: var(--gray); font-size: 0.92rem; margin-bottom: 16px; }
.blog-card .read-more { color: var(--orange); font-weight: 600; font-size: 0.9rem; }
.blog-meta { font-size: 0.82rem; color: var(--gray); margin-bottom: 8px; }

/* ---- ARTICLE ---- */
.article-hero { background: var(--dark); padding: 80px 24px 60px; text-align: center; color: var(--white); }
.article-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; max-width: 800px; margin: 0 auto 16px; line-height: 1.3; }
.article-meta { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.article-body { max-width: 780px; margin: 0 auto; padding: 60px 24px; }
.article-body h2 { font-size: 1.6rem; font-weight: 700; color: var(--dark); margin: 40px 0 16px; }
.article-body h3 { font-size: 1.25rem; font-weight: 700; color: var(--dark); margin: 30px 0 12px; }
.article-body p { color: var(--text); margin-bottom: 18px; line-height: 1.8; }
.article-body ul, .article-body ol { margin: 0 0 18px 24px; color: var(--text); }
.article-body li { margin-bottom: 8px; line-height: 1.7; }
.article-body a { color: var(--orange); text-decoration: underline; }
.article-img { border-radius: 12px; margin: 32px 0; width: 100%; height: 400px; object-fit: cover; }
.article-img-mid { border-radius: 10px; margin: 28px 0; width: 100%; height: 300px; object-fit: cover; }
.article-nav { display: flex; gap: 16px; margin-top: 48px; padding-top: 32px; border-top: 2px solid var(--gray-light); }

/* ---- CTA ---- */
.cta-section { background: var(--light); }
.cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.cta-inner img { border-radius: 12px; width: 100%; height: 380px; object-fit: cover; box-shadow: var(--shadow); }
.cta-content h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--dark); margin-bottom: 16px; }
.cta-content p { color: var(--gray); margin-bottom: 24px; }

/* ---- PRICE ---- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.price-card { border: 2px solid var(--gray-light); border-radius: 12px; padding: 32px; text-align: center; transition: var(--transition); }
.price-card.featured { border-color: var(--orange); }
.price-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.price { font-size: 2.5rem; font-weight: 900; color: var(--orange); }
.price span { font-size: 1rem; color: var(--gray); font-weight: 400; }
.price-card ul { list-style: none; margin: 20px 0; text-align: left; }
.price-card ul li { padding: 6px 0; color: var(--gray); font-size: 0.9rem; padding-left: 20px; position: relative; }
.price-card ul li::before { content: '✓'; color: var(--orange); position: absolute; left: 0; font-weight: 700; }

/* ---- STEPS ---- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; counter-reset: steps; }
.step { background: var(--white); border-radius: 12px; padding: 28px; text-align: center; box-shadow: var(--shadow); border: 1px solid var(--gray-light); counter-increment: steps; }
.step::before { content: counter(steps); display: flex; width: 48px; height: 48px; background: var(--orange); color: var(--white); border-radius: 50%; font-size: 1.3rem; font-weight: 800; align-items: center; justify-content: center; margin: 0 auto 16px; }
.step h3 { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.step p { color: var(--gray); font-size: 0.9rem; }

/* ---- PAGE HERO ---- */
.page-hero { background: var(--dark); padding: 80px 24px 60px; text-align: center; color: var(--white); }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 16px; }
.page-hero p { font-size: 1.05rem; opacity: 0.8; max-width: 600px; margin: 0 auto; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: var(--white); }

/* ---- FAQ ---- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--gray-light); border-radius: var(--radius); margin-bottom: 12px; }
.faq-q { padding: 20px 24px; font-weight: 600; color: var(--dark); cursor: pointer; display: flex; justify-content: space-between; }
.faq-q::after { content: '+'; font-size: 1.4rem; color: var(--orange); }
.faq-a { padding: 0 24px 20px; color: var(--gray); line-height: 1.7; }

/* ---- SITEMAP ---- */
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.sitemap-col h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--orange); }
.sitemap-col ul { list-style: none; }
.sitemap-col ul li { margin-bottom: 8px; }
.sitemap-col ul li a { color: var(--gray); font-size: 0.95rem; }
.sitemap-col ul li a:hover { color: var(--orange); }

/* ---- 404 ---- */
.error-page { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 60px 24px; }
.error-page h1 { font-size: 8rem; font-weight: 900; color: var(--orange); opacity: 0.3; line-height: 1; }
.error-page h2 { font-size: 2rem; font-weight: 700; color: var(--dark); margin-bottom: 16px; }
.error-page p { color: var(--gray); margin-bottom: 32px; }

/* ---- FOOTER ---- */
footer { background: var(--dark); color: rgba(255,255,255,0.65); padding: 60px 24px 24px; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand img { height: 48px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.footer-col h4 { color: var(--orange); font-weight: 700; margin-bottom: 16px; font-size: 0.9rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.55); font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--orange); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; font-size: 0.85rem; flex-wrap: wrap; gap: 12px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .two-col, .contact-grid, .cta-inner { grid-template-columns: 1fr; gap: 36px; }
  .two-col.reverse { direction: ltr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  nav { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--dark); padding: 16px; gap: 4px; }
  nav.open { display: flex; }
  .hamburger { display: flex; }
  section { padding: 56px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .btn-group { flex-direction: column; }
}
