/* ============================================
   GARAGE ELIO - STYLE PROFESSIONNEL
   Version 2.0 - Garage automobile
   ============================================ */

/* ---------- RESET & VARIABLES ---------- */
:root {
  --primary-dark: #2C3E50;
  --primary: #E67E22;
  --primary-light: #F39C12;
  --beige: #F9F5F0;
  --beige-dark: #F5EDE3;
  --white: #FFFFFF;
  --text-dark: #2C3E50;
  --text-light: #7F8C8D;
  --border: #E8D9C5;
  --shadow: rgba(230, 126, 34, 0.1);
  --transition: all 0.3s ease;
  --border-radius: 10px;
  --border-radius-lg: 30px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--beige);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ---------- TYPOGRAPHIE ---------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-dark);
  font-size: 2.5rem;
  position: relative;
}

h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: var(--primary);
  margin: 10px auto 0;
}

/* ---------- SKIP LINK ---------- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-dark);
  color: var(--white);
  padding: 8px 16px;
  z-index: 9999;
  text-decoration: none;
  border-radius: 0 0 8px 0;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
  outline: 2px solid var(--primary-light);
}

/* ---------- HEADER ---------- */
header {
  background: var(--primary-dark);
  color: var(--white);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(44, 62, 80, 0.2);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-title {
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 1px;
}

.site-title a {
  color: var(--white);
  text-decoration: none;
}

.site-title a:hover {
  color: var(--primary-light);
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

header nav ul li a {
  color: var(--white);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0.5rem 0;
  position: relative;
  transition: var(--transition);
}

header nav ul li a:hover,
header nav ul li a.active {
  color: var(--primary-light);
}

header nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-light);
  transition: width 0.3s;
}

header nav ul li a:hover::after,
header nav ul li a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  background: transparent;
  border: none;
  color: var(--white);
  padding: 0.5rem;
}

.menu-toggle:hover {
  color: var(--primary-light);
}

/* ---------- HERO ---------- */
.hero {
  background: linear-gradient(rgba(44, 62, 80, 0.85), rgba(230, 126, 34, 0.8)), 
              url('../images/garage-hero.webp') center/cover no-repeat;
  background-image: linear-gradient(rgba(44, 62, 80, 0.85), rgba(230, 126, 34, 0.8)), 
                    url('../images/garage-hero.jpg');
  min-height: 80vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--white);
}

.hero-text {
  max-width: 800px;
  margin: 0 auto;
}

.hero-text h1 {
  color: var(--white);
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-text p {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero-quote {
  font-style: italic;
  font-size: 1.2rem !important;
  margin-bottom: 2rem !important;
  color: var(--primary-light) !important;
  font-weight: bold;
}

.hero-text .btn {
  display: inline-block;
  padding: 1.2rem 3rem;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--border-radius-lg);
  font-weight: bold;
  font-size: 1.2rem;
  border: 2px solid var(--primary);
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-text .btn:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* ---------- SECTIONS ---------- */
section {
  padding: 5rem 0;
}

.section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: var(--text-light);
  font-size: 1.1rem;
}

/* ---------- SERVICES ---------- */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border);
  box-shadow: 0 5px 15px var(--shadow);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(230, 126, 34, 0.15);
  border-color: var(--primary-light);
}

.service-card h3 {
  color: var(--primary-dark);
  margin: 1rem 0;
  font-size: 1.3rem;
}

.service-icon i {
  color: var(--primary);
  font-size: 3rem;
}

/* ---------- WHY CHOOSE ---------- */
.why-choose {
  background: var(--beige-dark);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px var(--shadow);
}

.feature-card h3 {
  color: var(--primary-dark);
  margin: 1rem 0 0.5rem;
  font-size: 1.2rem;
}

.feature-card i {
  color: var(--primary);
  font-size: 2rem;
}

.feature-card p {
  color: var(--text-light);
  font-style: italic;
}

/* ---------- TEAM ---------- */
.about {
  background: var(--white);
}

.team {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.team-member {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  width: 100%;
  max-width: 300px;
  box-shadow: 0 5px 15px var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px var(--shadow);
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--primary);
  margin-bottom: 1.5rem;
  display: block;
}

.team-member h3 {
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  width: 100%;
  text-align: center;
}

.team-role {
  color: var(--primary);
  font-weight: bold;
  margin-bottom: 0.5rem;
  width: 100%;
  text-align: center;
}

.team-desc {
  color: var(--text-light);
  font-size: 0.9rem;
  width: 100%;
  text-align: center;
  margin-top: 0.25rem;
}

/* ---------- GALLERY / ATELIER ---------- */
.gallery {
  background: var(--beige-dark);
}

.carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  padding: 1rem 0;
}

.carousel {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 1rem;
}

.carousel-track img {
  min-width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 8px var(--shadow);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(230, 126, 34, 0.8);
  color: var(--white);
  border: none;
  padding: 0.5rem 1rem;
  font-size: 2rem;
  cursor: pointer;
  border-radius: 50%;
  transition: var(--transition);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
}

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

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

/* ---------- TESTIMONIALS (AVIS CLIENTS) ---------- */
.testimonials {
  background: var(--white);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.testimonial-card {
  background: var(--beige-dark);
  padding: 2rem;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary);
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px var(--shadow);
}

.testimonial-stars {
  color: #FFD700;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.testimonial-date {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  font-style: italic;
}

.testimonial-text {
  margin-bottom: 1.5rem;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-name {
  font-weight: bold;
  color: var(--primary-dark);
}

.testimonial-cta {
  text-align: center;
  margin-top: 2rem;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 1rem 2.5rem;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: var(--border-radius-lg);
  font-weight: bold;
  transition: var(--transition);
}

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

/* ---------- CONTACT ---------- */
.contact {
  background: var(--beige-dark);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
  text-align: center;
}

.info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.info-item i {
  color: var(--primary);
  font-size: 1.5rem;
}

.info-item a {
  color: var(--primary-dark);
  font-weight: bold;
}

.info-item a:hover {
  color: var(--primary);
}

.info-note {
  font-size: 0.8rem;
  color: var(--text-light);
  font-style: italic;
}

.contact-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.form-container {
  flex: 1;
}

#contact-form {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

#contact-form input,
#contact-form textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  background: var(--white);
  transition: var(--transition);
  font-family: 'Roboto', sans-serif;
}

#contact-form input:focus,
#contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}

#contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius-lg);
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
}

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

.map-container {
  flex: 1;
}

.map iframe {
  width: 100%;
  height: 400px;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px var(--shadow);
  border: 0;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 2rem 0;
  margin-top: auto;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-logo h3 {
  color: var(--primary-light);
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.footer-logo p {
  color: rgba(255,255,255,0.8);
}

.social-icons {
  display: flex;
  gap: 1.5rem;
}

.social-icons a {
  color: var(--primary-light);
  font-size: 1.3rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}

.social-icons a:hover {
  color: var(--white);
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(243, 156, 18, 0.3);
  padding-top: 1.5rem;
  font-size: 0.9rem;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
  color: rgba(255,255,255,0.8);
}

.footer-bottom a {
  color: var(--primary-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

/* ---------- BANNIÈRE COOKIES ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary-dark);
  color: white;
  padding: 1rem 0;
  z-index: 9999;
  display: none;
  border-top: 3px solid var(--primary);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.cookie-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 0 15px;
}

.cookie-text {
  flex: 1;
  min-width: 300px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.cookie-text a {
  color: var(--primary-light);
  font-weight: bold;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.6rem 1.8rem;
  border-radius: var(--border-radius-lg);
  border: none;
  cursor: pointer;
  font-weight: bold;
  font-size: 0.95rem;
  transition: var(--transition);
  min-height: 44px;
  min-width: 120px;
}

.cookie-btn.accept {
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
}

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

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

.cookie-btn.reject:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

/* ---------- PAGES LÉGALES ---------- */
.legal-page {
  padding: 4rem 0;
  max-width: 800px;
  margin: 0 auto;
}

.page-title {
  color: var(--primary-dark);
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.page-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: var(--primary);
  margin: 10px auto 0;
}

.legal-meta {
  background: var(--beige-dark);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary);
}

.legal-section {
  margin-bottom: 3rem;
}

.legal-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-align: left;
  color: var(--primary-dark);
}

.legal-section h2::after {
  margin-left: 0;
}

.legal-card {
  background: var(--beige);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border);
}

.legal-card ul {
  margin: 1rem 0 1rem 1.5rem;
}

.legal-card li {
  margin-bottom: 0.5rem;
}

.legal-contact {
  background: var(--white);
  padding: 1rem;
  border-radius: 8px;
  margin: 1rem 0;
  border-left: 3px solid var(--primary);
}

.legal-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ---------- PAGE 404 ---------- */
.error-404 {
  animation: fadeInUp 0.8s ease;
}

.error-404 h1 {
  font-size: 6rem;
  color: var(--primary-dark);
  margin-bottom: 0;
  line-height: 1;
  text-shadow: 2px 2px 0 var(--primary);
}

/* ---------- PAGE MERCI ---------- */
.thank-you-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--beige) 0%, var(--beige-dark) 100%);
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
}

.thank-you-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.thank-you-icon {
  margin-bottom: 2rem;
  color: var(--primary);
  animation: iconPulse 2s infinite;
}

@keyframes iconPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.thank-you-content h1 {
  color: var(--primary-dark);
  margin-bottom: 2rem;
  font-size: 2.5rem;
  position: relative;
}

.thank-you-content h1::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: var(--primary);
  margin: 10px auto 0;
}

.thank-you-card {
  background: var(--white);
  border-radius: 15px;
  padding: 3rem;
  margin: 2rem 0;
  box-shadow: 0 10px 30px var(--shadow);
  border: 1px solid var(--border);
  text-align: left;
}

.thank-you-message {
  margin-bottom: 3rem;
}

.thank-you-lead {
  font-size: 1.3rem;
  color: var(--primary);
  font-weight: bold;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--primary);
}

.thank-you-details {
  background: var(--beige);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin-top: 2rem;
}

.thank-you-details h2 {
  color: var(--primary-dark);
  margin: 1.5rem 0 0.5rem;
  font-size: 1.2rem;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
}

.thank-you-details h2::after {
  display: none;
}

.emergency-phone {
  margin: 1rem 0;
}

.emergency-phone a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius-lg);
  font-weight: bold;
  text-decoration: none;
  transition: var(--transition);
}

.emergency-phone a:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.next-steps {
  background: var(--white);
  border: 2px dashed var(--primary);
  border-radius: var(--border-radius);
  padding: 2rem;
}

.next-steps h2 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
}

.next-steps h2::after {
  display: none;
}

.next-steps ol {
  margin-left: 1.5rem;
  margin-bottom: 2rem;
}

.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 1rem 2rem;
  border-radius: var(--border-radius-lg);
  font-weight: bold;
  text-decoration: none;
  transition: var(--transition);
  border: 2px solid;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  color: white;
  border-color: var(--primary-dark);
  transform: translateY(-3px);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-dark);
  border-color: var(--primary-dark);
}

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

/* ---------- ANIMATIONS ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.appear {
  animation: fadeInUp 0.8s ease forwards;
}

/* ---------- RESPONSIVE ---------- */
@media (min-width: 768px) {
  .team {
    flex-direction: row;
    justify-content: center;
    gap: 3rem;
  }
  
  .contact-info {
    flex-direction: row;
    justify-content: space-around;
  }
  
  .contact-container {
    flex-direction: row;
  }
  
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 992px) {
  .carousel-track img {
    min-width: 400px;
    height: 250px;
  }
  
  .hero-text h1 {
    font-size: 3.2rem;
  }
}

@media (max-width: 992px) {
  .menu-toggle {
    display: block;
  }
  
  header nav ul {
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    display: none;
    padding: 0;
    gap: 0;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    z-index: 1000;
  }
  
  header nav ul.show {
    display: flex;
  }
  
  header nav ul li {
    text-align: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  .hero {
    min-height: 70vh;
  }
  
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .hero-text p {
    font-size: 1.1rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  
  .thank-you-section {
    padding: 4rem 0;
  }
  
  .thank-you-card {
    padding: 2rem 1.5rem;
  }
  
  .action-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .carousel-track img {
    min-width: 250px;
    height: 180px;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .site-title {
    font-size: 1.4rem;
  }
}

/* =========================================================
   SERVICES – VERSION PRO SANS "CARTE DANS LA CARTE"
   ========================================================= */

.services {
  background: var(--white);
}

/* Grille */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

/* CARTE UNIQUE */
.service-card {
  background: var(--white);
  overflow: hidden;               /* image plein bord */
  border-radius: 0 0 12px 12px;    /* arrondi seulement en bas */
  box-shadow: 0 5px 15px var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--border); /* ✅ une seule bordure */
  border-top: none;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(230, 126, 34, 0.15);
}

/* IMAGE PLEIN FORMAT */
.service-image {
  width: 100%;
  height: 260px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.08);
}

/* CONTENU (PAS UNE CARTE) */
.service-content {
  padding: 1.8rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--white);
}

/* TITRE */
.service-content h3 {
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  font-size: 1.4rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 0.75rem;
  text-align: center;
}

/* TRAIT CENTRÉ */
.service-content h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary);
}

/* TEXTE */
.service-content p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
  font-size: 1rem;
  text-align: center;
}

/* PRIX */
.service-price {
  margin-top: auto;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--beige);
  padding: 0.8rem 1.2rem;
  border-radius: 50px;
  justify-content: center;
  transition: var(--transition);
  border: 1px solid var(--primary-light);
}

.service-card:hover .service-price {
  background: var(--primary);
  color: white;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-image {
    height: 220px;
  }
}

/* ============================================
   TESTIMONIALS CAROUSEL - AVIS CLIENTS
   ============================================ */

.testimonials-carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  margin: 2rem 0 1.5rem;
}

.testimonials-track-wrapper {
  width: 100%;
  overflow: hidden;
  padding: 0.5rem 0 1.5rem;
}

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s ease;
  will-change: transform;
}

.testimonial-slide {
  flex: 0 0 350px;
  max-width: 350px;
  scroll-snap-align: start;
}

.testimonial-slide .testimonial-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--beige-dark);
  padding: 1.8rem;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary);
  transition: var(--transition);
  box-shadow: 0 5px 15px var(--shadow);
  height: 100%;
  min-height: 280px;
}

.testimonial-slide .testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(230, 126, 34, 0.2);
}

.testimonial-slide .testimonial-text {
  font-size: 0.95rem;
  line-height: 1.5;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.testimonial-nav {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: 2px solid white;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.testimonial-nav:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
}

.testimonial-nav.prev {
  left: -20px;
}

.testimonial-nav.next {
  right: -20px;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--primary);
  transform: scale(1.3);
}

/* Version mobile : swipe tactile */
@media (max-width: 768px) {
  .testimonials-track-wrapper {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  
  .testimonials-track {
    scroll-snap-type: x mandatory;
  }
  
  .testimonial-slide {
    scroll-snap-align: start;
    flex: 0 0 85%;
    max-width: 85%;
  }
  
  .testimonial-nav {
    display: none;
  }
  
  .testimonial-dots {
    display: flex;
  }
}

/* Version desktop */
@media (min-width: 769px) {
  .testimonial-dots {
    display: flex;
  }
  
  .testimonials-track-wrapper {
    overflow: hidden;
  }
}

/* Optimisation pour grands écrans */
@media (min-width: 1200px) {
  .testimonial-slide {
    flex: 0 0 380px;
    max-width: 380px;
  }
} 

/* ---------- LOGO ---------- */
.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.logo-container:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.site-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--white);
  padding: 3px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: var(--transition);
}

.logo-container:hover .site-logo {
  box-shadow: 0 4px 10px rgba(230, 126, 34, 0.4);
  transform: rotate(3deg);
}

.site-title span {
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 768px) {
  .site-logo {
    width: 40px;
    height: 40px;
  }
  
  .site-title span {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .logo-container {
    gap: 5px;
  }
  
  .site-logo {
    width: 35px;
    height: 35px;
  }
  
  .site-title span {
    font-size: 1.2rem;
  }
}

