/* ========== TAXI CASTRES - STYLESHEET ========== */
:root {
  --primary: #1a1a1a;
  --accent: #f5c518;
  --accent-dark: #d4a910;
  --white: #ffffff;
  --light-bg: #f8f8f8;
  --gray: #666666;
  --dark-bg: #111111;
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
  --radius: 8px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--primary);
  line-height: 1.7;
  font-size: 16px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

/* ========== HEADER / NAV ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--primary);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 1px;
}

.logo span { color: var(--white); }

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  color: var(--white);
  font-weight: 500;
  transition: color 0.3s;
  font-size: 0.95rem;
}

.nav-links a:hover { color: var(--accent); }

.nav-phone {
  background: var(--accent);
  color: var(--primary) !important;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 700 !important;
  transition: background 0.3s;
}

.nav-phone:hover { background: var(--accent-dark); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.burger span {
  width: 28px;
  height: 3px;
  background: var(--white);
  transition: 0.3s;
  border-radius: 2px;
}

/* ========== HERO ========== */
.hero {
  background: linear-gradient(135deg, rgba(0,0,0,0.85), rgba(0,0,0,0.7)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%231a1a1a" width="1200" height="600"/><circle cx="200" cy="300" r="150" fill="%23f5c518" opacity="0.1"/><circle cx="900" cy="200" r="200" fill="%23f5c518" opacity="0.05"/></svg>');
  background-size: cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
  color: var(--white);
}

.hero-content { max-width: 800px; }

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero h1 .highlight { color: var(--accent); }

.hero p {
  font-size: 1.2rem;
  margin-bottom: 35px;
  opacity: 0.9;
  line-height: 1.8;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.badge {
  background: rgba(245,197,24,0.15);
  border: 1px solid var(--accent);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 600;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(245,197,24,0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--primary);
  color: var(--white);
}

.btn-dark:hover {
  background: #333;
  transform: translateY(-2px);
}

/* ========== SECTIONS ========== */
.section {
  padding: 80px 20px;
}

.section-light { background: var(--light-bg); }
.section-dark { background: var(--primary); color: var(--white); }

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.section-title p {
  color: var(--gray);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-dark .section-title p { color: #aaa; }

/* ========== SERVICES GRID ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s;
  text-align: center;
}

.service-card:hover { transform: translateY(-5px); }

.service-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.service-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ========== WHY US ========== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.why-card {
  text-align: center;
  padding: 30px;
}

.why-card .icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.why-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--accent);
}

.why-card p {
  color: #ccc;
  font-size: 0.95rem;
}

/* ========== REVIEWS CAROUSEL ========== */
.reviews-wrapper {
  overflow: hidden;
  position: relative;
  max-width: 100%;
}

.reviews-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 20px;
}

.review-card {
  min-width: 350px;
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.review-stars { color: var(--accent); font-size: 1.2rem; margin-bottom: 12px; }

.review-card p {
  color: var(--gray);
  font-style: italic;
  margin-bottom: 15px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.review-author {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.carousel-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: transparent;
  color: var(--accent);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: var(--accent);
  color: var(--primary);
}

/* ========== FAQ ========== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #e0e0e0;
  padding: 20px 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.1rem;
  gap: 15px;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.active .faq-question::after {
  content: '-';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  color: var(--gray);
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-top: 15px;
}

/* ========== CTA BANNER ========== */
.cta-banner {
  background: var(--accent);
  padding: 60px 20px;
  text-align: center;
}

.cta-banner h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.cta-banner p {
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 25px;
  opacity: 0.8;
}

.cta-banner .cta-phone {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
  margin-bottom: 20px;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--dark-bg);
  color: #aaa;
  padding: 60px 20px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 40px;
}

.footer h4 {
  color: var(--accent);
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.footer p, .footer a {
  font-size: 0.9rem;
  line-height: 2;
}

.footer a:hover { color: var(--accent); }

.footer-bottom {
  text-align: center;
  border-top: 1px solid #333;
  padding-top: 20px;
  font-size: 0.85rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* ========== FLOATING PHONE ========== */
.floating-phone {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--accent);
  color: var(--primary);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(245,197,24,0.5);
  z-index: 999;
  transition: transform 0.3s;
  animation: pulse 2s infinite;
}

.floating-phone:hover { transform: scale(1.1); }

@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(245,197,24,0.5); }
  50% { box-shadow: 0 4px 35px rgba(245,197,24,0.8); }
}

/* ========== PAGE HEADERS (inner pages) ========== */
.page-header {
  background: linear-gradient(135deg, var(--primary), #333);
  padding: 140px 20px 80px;
  text-align: center;
  color: var(--white);
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.page-header p {
  font-size: 1.1rem;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
}

/* ========== ABOUT PAGE ========== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--gray);
  margin-bottom: 15px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.value-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  border-top: 4px solid var(--accent);
}

.value-card .icon { font-size: 2rem; margin-bottom: 10px; }
.value-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.value-card p { color: var(--gray); font-size: 0.9rem; }

/* ========== SERVICES PAGE ========== */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid #eee;
}

.service-detail:nth-child(even) { direction: rtl; }
.service-detail:nth-child(even) > * { direction: ltr; }

.service-detail-icon {
  font-size: 5rem;
  text-align: center;
  background: var(--light-bg);
  padding: 40px;
  border-radius: var(--radius);
}

.service-detail h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.service-detail p {
  color: var(--gray);
  margin-bottom: 10px;
}

.service-detail ul {
  list-style: disc;
  padding-left: 20px;
  color: var(--gray);
}

.service-detail ul li { margin-bottom: 5px; }

/* ========== TARIFS ========== */
.tarifs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.tarif-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  border-top: 4px solid var(--accent);
}

.tarif-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.tarif-card .price { font-size: 2rem; font-weight: 800; color: var(--accent); margin: 15px 0; }
.tarif-card p { color: var(--gray); font-size: 0.9rem; }

/* ========== CONTACT PAGE ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info-card {
  background: var(--white);
  padding: 25px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.contact-info-card .icon { font-size: 1.5rem; flex-shrink: 0; }
.contact-info-card h4 { margin-bottom: 5px; }
.contact-info-card p { color: var(--gray); font-size: 0.9rem; }

.zone-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 15px;
}

.zone-list span {
  background: var(--light-bg);
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 0.9rem;
  text-align: center;
}

/* ========== TRUST BANNER ========== */
.trust-banner {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 30px 20px;
  background: var(--light-bg);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
}

.trust-item .icon { font-size: 1.5rem; }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--primary);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
  }

  .nav-links.active { display: flex; }

  .burger { display: flex; }

  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }

  .about-content,
  .contact-grid,
  .service-detail,
  .service-detail:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .review-card { min-width: 300px; }

  .section-title h2 { font-size: 1.8rem; }
  .page-header h1 { font-size: 2rem; }

  .hero-buttons { flex-direction: column; align-items: center; }

  .cta-banner h2 { font-size: 1.5rem; }
  .cta-banner .cta-phone { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .review-card { min-width: 260px; }
  .badge { font-size: 0.8rem; padding: 6px 14px; }
}
