/* servicepref.fr - Service Carte Grise & Permis */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #1e3a5f;
  --primary-dark: #152b47;
  --secondary: #2563eb;
  --accent: #3b82f6;
  --red: #dc2626;
  --dark: #0f172a;
  --text: #1e293b;
  --text-light: #64748b;
  --bg: #f1f5f9;
  --white: #ffffff;
  --border: #e2e8f0;
  --gold: #f59e0b;
}

* { 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(--primary); 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: 70px; }
.logo { font-size: 1.4rem; font-weight: 800; color: white; text-decoration: none; }
.logo span { color: var(--gold); }
nav { display: flex; gap: 25px; align-items: center; }
nav a { text-decoration: none; color: rgba(255,255,255,0.85); font-weight: 500; font-size: 0.9rem; transition: color 0.3s; }
nav a:hover { color: white; }
.nav-cta { background: var(--red); color: white !important; padding: 10px 22px; border-radius: 6px; font-weight: 700 !important; }
.nav-cta:hover { background: #b91c1c !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: white; }

.urgency-bar { background: var(--red); color: white; text-align: center; padding: 10px 20px; font-size: 0.9rem; font-weight: 600; }

.hero { background: url('../img/hero-admin.jpg') center/cover no-repeat; color: white; padding: 80px 20px; text-align: center; position: relative; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(30,58,95,0.88) 0%, rgba(15,23,42,0.92) 100%); }
.hero > div { position: relative; z-index: 1; }
.hero-badge { display: inline-block; background: var(--red); color: white; padding: 6px 18px; border-radius: 4px; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; margin-bottom: 20px; line-height: 1.2; }
.hero h1 span { color: var(--gold); }
.hero p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-btns { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.btn-red { background: var(--red); color: white; padding: 16px 38px; border-radius: 6px; font-weight: 700; font-size: 1.05rem; text-decoration: none; transition: all 0.3s; display: inline-block; }
.btn-red:hover { background: #b91c1c; transform: translateY(-2px); }
.btn-outline { background: transparent; color: white; padding: 15px 35px; border-radius: 6px; font-weight: 600; font-size: 1.05rem; text-decoration: none; border: 2px solid rgba(255,255,255,0.4); transition: all 0.3s; display: inline-block; }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.hero-stats { display: flex; justify-content: center; gap: 50px; margin-top: 60px; flex-wrap: wrap; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.1); }
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 2rem; font-weight: 800; color: var(--gold); }
.hero-stat span { font-size: 0.85rem; opacity: 0.8; }

section { padding: 70px 20px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-badge { display: inline-block; background: #dbeafe; color: var(--secondary); padding: 5px 14px; border-radius: 4px; font-size: 0.8rem; 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: 600px; margin: 0 auto 45px; }
.text-center { text-align: center; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 25px; margin-top: 45px; }
.service-card { background: white; border-radius: 12px; padding: 30px; box-shadow: 0 2px 15px rgba(0,0,0,0.06); border: 1px solid var(--border); border-top: 4px solid var(--secondary); transition: all 0.3s; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(37,99,235,0.12); }
.service-icon { width: 55px; height: 55px; background: #dbeafe; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 16px; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.service-card p { color: var(--text-light); font-size: 0.9rem; line-height: 1.6; }

.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 25px; margin-top: 45px; }
.step { text-align: center; padding: 25px 15px; }
.step-num { width: 55px; height: 55px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 800; color: white; margin: 0 auto 15px; }
.step h3 { font-weight: 700; color: var(--dark); margin-bottom: 8px; font-size: 1rem; }
.step p { color: var(--text-light); font-size: 0.88rem; }

.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 45px; }
.testimonial-card { background: white; border-radius: 12px; padding: 25px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); border: 1px solid var(--border); }
.stars { color: #fbbf24; margin-bottom: 12px; }
.testimonial-card p { color: var(--text); font-size: 0.92rem; font-style: italic; margin-bottom: 15px; line-height: 1.6; }
.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.9rem; }
.author-name { font-weight: 700; color: var(--dark); font-size: 0.9rem; }
.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: 12px; }
.faq-item { background: white; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.faq-question { padding: 18px 22px; font-weight: 700; color: var(--dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 0.95rem; }
.faq-question::after { content: '+'; font-size: 1.3rem; color: var(--secondary); }
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer { padding: 0 22px; max-height: 0; overflow: hidden; transition: all 0.3s; color: var(--text-light); font-size: 0.92rem; line-height: 1.6; }
.faq-item.open .faq-answer { max-height: 200px; padding: 0 22px 16px; }

.cta-section { background: url('../img/car-keys.jpg') center/cover no-repeat; color: white; text-align: center; padding: 70px 20px; position: relative; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: rgba(220,38,38,0.9); }
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2, .cta-section p { position: relative; z-index: 1; }
.cta-section .cta-btns { position: relative; z-index: 1; }
.cta-section h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; margin-bottom: 12px; }
.cta-section p { opacity: 0.9; font-size: 1rem; margin-bottom: 30px; }
.cta-btns { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.btn-white { background: white; color: var(--red); 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: 14px 32px; border-radius: 6px; font-weight: 600; text-decoration: none; border: 2px solid rgba(255,255,255,0.5); transition: all 0.3s; display: inline-block; }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); }

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.3rem; font-weight: 800; color: white; margin-bottom: 10px; }
.footer-logo span { color: var(--gold); }
.footer-desc { font-size: 0.88rem; line-height: 1.7; }
.footer-col h4 { color: white; font-weight: 700; margin-bottom: 14px; font-size: 0.9rem; }
.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(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; display: flex; justify-content: space-between; font-size: 0.82rem; 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: 70px; left: 0; right: 0; background: var(--primary); padding: 20px; gap: 15px; } .menu-toggle { display: flex; } .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
