/* corsin-mobility.fr - Location voiture Saône-et-Loire */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #1d4ed8;
  --primary-dark: #1e40af;
  --secondary: #3b82f6;
  --accent: #93c5fd;
  --dark: #0f172a;
  --text: #1e293b;
  --text-light: #64748b;
  --bg: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --red: #ef4444;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }

header { background: var(--white); box-shadow: 0 1px 15px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 1000; }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-size: 1.4rem; font-weight: 800; color: var(--dark); text-decoration: none; }
.logo span { color: var(--primary); }
nav { display: flex; gap: 25px; align-items: center; }
nav a { text-decoration: none; color: var(--text); font-weight: 500; font-size: 0.9rem; transition: color 0.3s; }
nav a:hover { color: var(--primary); }
.nav-cta { background: var(--primary); color: white !important; padding: 10px 22px; border-radius: 6px; font-weight: 600 !important; }
.nav-cta:hover { background: var(--primary-dark) !important; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 5px; }
.menu-toggle span { display: block; width: 25px; height: 2px; background: var(--text); }

.hero { background: linear-gradient(135deg, rgba(29,78,216,0.85) 0%, rgba(30,64,175,0.8) 100%), url('../img/hero-electric.jpg') center/cover no-repeat; color: white; padding: 90px 20px; }
.hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge { display: inline-block; background: rgba(255,255,255,0.15); color: var(--accent); border: 1px solid rgba(255,255,255,0.25); padding: 6px 16px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }
.hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; margin-bottom: 18px; line-height: 1.2; }
.hero p { font-size: 1.05rem; opacity: 0.85; margin-bottom: 35px; line-height: 1.8; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary { background: white; color: var(--primary); padding: 14px 32px; border-radius: 6px; font-weight: 700; font-size: 0.95rem; text-decoration: none; transition: all 0.3s; display: inline-block; }
.btn-primary:hover { background: var(--accent); transform: translateY(-2px); }
.btn-secondary { background: transparent; color: white; padding: 13px 31px; border-radius: 6px; font-weight: 600; font-size: 0.95rem; text-decoration: none; border: 2px solid rgba(255,255,255,0.4); transition: all 0.3s; display: inline-block; }
.btn-secondary:hover { background: rgba(255,255,255,0.1); }
.hero-card { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 16px; padding: 30px; backdrop-filter: blur(10px); }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hero-stat { text-align: center; padding: 15px; background: rgba(255,255,255,0.05); border-radius: 8px; }
.hero-stat strong { display: block; font-size: 1.8rem; font-weight: 800; color: white; }
.hero-stat span { font-size: 0.8rem; opacity: 0.75; }

section { padding: 75px 20px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-badge { display: inline-block; background: #dbeafe; color: var(--primary); padding: 5px 14px; border-radius: 20px; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.section-title { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 800; color: var(--dark); margin-bottom: 15px; line-height: 1.2; }
.section-subtitle { font-size: 1rem; color: var(--text-light); max-width: 550px; margin: 0 auto 45px; }
.text-center { text-align: center; }

.vehicles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 25px; margin-top: 45px; }
.vehicle-card { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 15px rgba(0,0,0,0.07); border: 1px solid var(--border); transition: all 0.3s; }
.vehicle-card:hover { transform: translateY(-4px); box-shadow: 0 10px 35px rgba(29,78,216,0.12); border-color: var(--primary); }
.vehicle-header { background: linear-gradient(135deg, rgba(29,78,216,0.78), rgba(30,64,175,0.72)), url('../img/car-city.jpg') center/cover no-repeat; padding: 25px; text-align: center; color: white; }
.vehicle-icon { font-size: 2.5rem; margin-bottom: 8px; }
.vehicle-name { font-weight: 700; font-size: 1.1rem; }
.vehicle-body { padding: 22px; }
.vehicle-price { font-size: 1.6rem; font-weight: 800; color: var(--primary); }
.vehicle-price span { font-size: 0.85rem; font-weight: 400; color: var(--text-light); }
.vehicle-features { list-style: none; margin-top: 12px; display: flex; flex-direction: column; gap: 7px; }
.vehicle-features li { display: flex; gap: 8px; color: var(--text-light); font-size: 0.88rem; }
.vehicle-features li::before { content: '✓'; color: var(--primary); font-weight: 700; }
.vehicle-cta { display: block; background: var(--primary); color: white; text-align: center; padding: 11px; border-radius: 6px; text-decoration: none; font-weight: 700; margin-top: 18px; transition: background 0.3s; font-size: 0.9rem; }
.vehicle-cta:hover { background: var(--primary-dark); }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-top: 45px; }
.service-card { background: white; border-radius: 10px; padding: 28px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); border: 1px solid var(--border); transition: all 0.3s; }
.service-card:hover { border-color: var(--primary); transform: translateY(-3px); }
.service-icon { width: 52px; height: 52px; background: #dbeafe; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 15px; }
.service-card h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.service-card p { color: var(--text-light); font-size: 0.88rem; line-height: 1.7; }

.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; margin-top: 45px; }
.testimonial-card { background: white; border-radius: 10px; padding: 25px; box-shadow: 0 2px 10px rgba(0,0,0,0.06); border: 1px solid var(--border); }
.stars { color: #fbbf24; font-size: 1rem; margin-bottom: 10px; }
.testimonial-card p { color: var(--text); font-style: italic; font-size: 0.9rem; margin-bottom: 15px; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.author-avatar { width: 38px; height: 38px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 0.88rem; }
.author-name { font-weight: 700; color: var(--dark); font-size: 0.88rem; }
.author-location { font-size: 0.78rem; color: var(--text-light); }

.faq-list { max-width: 800px; margin: 45px auto 0; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: white; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.faq-question { padding: 17px 20px; font-weight: 700; color: var(--dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 0.93rem; }
.faq-question::after { content: '+'; font-size: 1.3rem; color: var(--primary); }
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer { padding: 0 20px; max-height: 0; overflow: hidden; transition: all 0.3s; color: var(--text-light); font-size: 0.9rem; line-height: 1.7; }
.faq-item.open .faq-answer { max-height: 200px; padding: 0 20px 16px; }

.cta-section { background: linear-gradient(135deg, rgba(29,78,216,0.88), rgba(30,64,175,0.82)), url('../img/highway.jpg') center/cover no-repeat; color: white; text-align: center; padding: 80px 20px; }
.cta-section h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 800; margin-bottom: 12px; }
.cta-section p { opacity: 0.85; font-size: 1rem; margin-bottom: 30px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-white { background: white; color: var(--primary); padding: 14px 32px; border-radius: 6px; font-weight: 700; text-decoration: none; transition: all 0.3s; display: inline-block; }
.btn-white:hover { transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: white; padding: 13px 31px; border-radius: 6px; font-weight: 600; text-decoration: none; border: 2px solid rgba(255,255,255,0.4); transition: all 0.3s; display: inline-block; }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }

footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 55px 20px 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 35px; margin-bottom: 35px; }
.footer-logo { font-size: 1.2rem; font-weight: 800; color: white; margin-bottom: 10px; }
.footer-logo span { color: var(--accent); }
.footer-desc { font-size: 0.87rem; line-height: 1.7; }
.footer-col h4 { color: white; font-weight: 700; margin-bottom: 14px; font-size: 0.88rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.85rem; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; display: flex; justify-content: space-between; font-size: 0.8rem; flex-wrap: wrap; gap: 8px; }

.fade-in { opacity: 0; transform: translateY(25px); transition: all 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) { nav { display: none; } nav.open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: white; padding: 20px; box-shadow: 0 8px 25px rgba(0,0,0,0.1); gap: 15px; } .menu-toggle { display: flex; } .hero-inner { grid-template-columns: 1fr; } .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
