/* ============================================
   SITE WEB AMBULANCES - STYLESHEET PRINCIPAL
   ============================================ */

/* === VARIABLES ET CONFIGURATION === */
:root {
  --primary-color: #0047ab;
  --secondary-color: #1976d2;
  --text-dark: #333333;
  --text-light: #666666;
  --bg-light: #f5f5f5;
  --white: #ffffff;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* === RESET ET BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px; /* Hauteur du header (bandeau + nav) */
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 16px;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* === CONTENEURS === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === HEADER === */
header {
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 10px 0;
  font-size: 14px;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.header-contact span {
  margin-right: 20px;
  display: inline-block;
}

.header-contact i {
  margin-right: 5px;
}

/* === NAVIGATION === */
nav {
  padding: 15px 0;
  position: relative;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
}

.nav-menu > li {
  position: relative;
  margin: 0 15px;
}

.nav-menu > li > a {
  padding: 10px 15px;
  display: block;
  font-weight: 500;
  transition: var(--transition);
}

.nav-menu > li > a:hover {
  color: var(--primary-color);
}

/* === SOUS-MENUS === */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  box-shadow: var(--shadow);
  min-width: 250px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  border-radius: 4px;
  margin-top: 0;
  padding-top: 10px;
  pointer-events: none;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0.1s;
  pointer-events: auto;
}

.dropdown-menu li {
  border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu a {
  padding: 12px 20px;
  display: block;
  color: var(--text-dark);
  transition: var(--transition);
}

.dropdown-menu a:hover {
  background-color: var(--bg-light);
  color: var(--primary-color);
  padding-left: 25px;
}

/* === MENU BURGER (MOBILE) === */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  margin: 3px 0;
  transition: var(--transition);
}

/* === HERO SECTION === */
.hero {
  background-image: url("../images/transport_sanitaire.webp");
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
  padding: 150px 20px;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: bold;
}

.hero-content p {
  font-size: 22px;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 600;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
}

/* === BOUTONS === */
.btn {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 16px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: rgba(255, 59, 48, 0.9);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 71, 171, 0.4);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: #1565c0;
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

/* === SECTIONS === */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 36px;
  color: var(--text-dark);
  margin-bottom: 15px;
  font-weight: bold;
}

.section-title p {
  font-size: 18px;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

/* === GRILLE === */
.grid {
  display: grid;
  gap: 30px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* === CARTES === */
.card {
  background-color: var(--white);
  border-radius: 8px;
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.card-icon {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.card p {
  color: var(--text-light);
  line-height: 1.8;
}

/* === SECTION AVANTAGES === */
.advantages {
  background-color: var(--bg-light);
}

.advantage-card {
  display: flex;
  align-items: flex-start;
  background-color: var(--white);
  padding: 25px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.advantage-icon {
  font-size: 40px;
  color: var(--primary-color);
  margin-right: 20px;
  min-width: 50px;
}

.advantage-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

/* === SECTION NOTRE ENGAGEMENT === */
.our-commitment {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 0;
}

.commitment-grid {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-top: 50px;
}

.commitment-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background-color: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.commitment-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.commitment-item.reverse {
  grid-template-columns: 1fr 1fr;
}

.commitment-item.reverse .commitment-image {
  order: 2;
}

.commitment-item.reverse .commitment-content {
  order: 1;
}

.commitment-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.commitment-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.commitment-item:hover .commitment-image img {
  transform: scale(1.05);
}

.commitment-content {
  padding: 40px;
}

.commitment-content h3 {
  color: var(--primary-color);
  font-size: 24px;
  margin-bottom: 15px;
  font-weight: 600;
}

.commitment-content p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 16px;
}

/* === SECTION TÉMOIGNAGES === */
.testimonials {
  background-color: var(--white);
}

.testimonial-card {
  background-color: var(--bg-light);
  padding: 30px;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
}

.testimonial-text {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  margin-right: 15px;
}

.author-avatar-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 3px solid var(--primary-color);
}

.author-info h4 {
  font-size: 18px;
  margin-bottom: 5px;
}

.author-info p {
  color: var(--text-light);
  font-size: 14px;
}

/* === SECTION FLOTTE === */
.fleet {
  background-color: var(--bg-light);
}

.fleet-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.fleet-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.fleet-image {
  width: 100%;
  height: 250px;
  background-color: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 18px;
}

.fleet-content {
  padding: 25px;
}

.fleet-content h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.fleet-content ul {
  list-style: none;
  margin-bottom: 20px;
}

.fleet-content ul li {
  padding: 8px 0;
  color: var(--text-light);
  position: relative;
  padding-left: 25px;
}

.fleet-content ul li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* === PAGE SERVICE DÉTAIL === */
.page-header {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 60px 20px;
  text-align: center;
}

.page-header h1 {
  font-size: 42px;
  margin-bottom: 15px;
}

.page-header p {
  font-size: 20px;
}

.service-content {
  padding: 60px 0;
}

.service-description {
  max-width: 800px;
  margin: 0 auto 50px;
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-light);
}

.service-features {
  background-color: var(--bg-light);
  padding: 60px 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.feature-icon {
  font-size: 36px;
  color: var(--primary-color);
  margin-right: 20px;
  min-width: 50px;
}

.feature-text h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.feature-text p {
  color: var(--text-light);
  line-height: 1.8;
}

/* === CTA SECTION === */
.cta-section {
  background-color: var(--secondary-color);
  color: var(--white);
  text-align: center;
  padding: 60px 20px;
}

.cta-section h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 18px;
  margin-bottom: 30px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 350px;
  }
}

/* === SECTION TARIFS === */
.pricing-table {
  background-color: var(--white);
}

.pricing-card {
  background-color: var(--white);
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
}

.pricing-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
}

.pricing-card.featured {
  border-color: var(--primary-color);
  box-shadow: 0 5px 25px rgba(211, 47, 47, 0.2);
}

.pricing-header h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.pricing-price {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  margin: 20px 0;
}

.pricing-features {
  list-style: none;
  margin: 30px 0;
  text-align: left;
}

.pricing-features li {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
  padding-left: 30px;
}

.pricing-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* === SECTION CONTACT === */
.contact-section {
  background-color: var(--bg-light);
}

.contact-info {
  background-color: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e0e0e0;
}

.contact-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-icon {
  font-size: 32px;
  color: var(--primary-color);
  margin-right: 20px;
  min-width: 50px;
}

.contact-details h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.contact-details p {
  color: var(--text-light);
  font-size: 16px;
}

.contact-details a {
  font-weight: 500;
}

.contact-details a:hover {
  text-decoration: underline;
}

/* === FOOTER === */
footer {
  background-color: #2c2c2c;
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-section p,
.footer-section a {
  color: #cccccc;
  line-height: 2;
  font-size: 14px;
}

.footer-section a:hover {
  color: var(--white);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
  padding: 8px;
}

.social-links a svg {
  width: 100%;
  height: 100%;
  fill: var(--white);
}

.social-links a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid #444444;
  padding-top: 20px;
  text-align: center;
  color: #cccccc;
  font-size: 14px;
}

/* === UTILITAIRES === */
.text-center {
  text-align: center;
}

.mt-20 {
  margin-top: 20px;
}

.mt-30 {
  margin-top: 30px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-30 {
  margin-bottom: 30px;
}

.bg-light {
  background-color: var(--bg-light);
}

.bg-white {
  background-color: var(--white);
}

/* === SECTION CONTACT === */
.contact-section {
  padding: 80px 0;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.contact-form-container {
  background: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  font-size: 14px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="date"],
.contact-form input[type="time"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 5px;
  font-size: 15px;
  font-family: inherit;
  transition: var(--transition);
  background-color: var(--white);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 71, 171, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #999;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.checkbox-group {
  margin: 25px 0;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--primary-color);
}

.checkbox-label span {
  color: var(--text-dark);
  font-size: 15px;
}

.form-actions {
  text-align: center;
  margin-top: 30px;
}

.form-actions .btn {
  padding: 15px 50px;
  font-size: 16px;
  font-weight: 600;
}

.form-note {
  margin-top: 15px;
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

.form-note strong {
  color: var(--primary-color);
}

/* Informations de contact */
.contact-info-box {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 71, 171, 0.2);
  color: var(--white);
}

.info-box-header {
  background: rgba(0, 0, 0, 0.2);
  padding: 25px;
  text-align: center;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.info-box-header h3 {
  margin: 0;
  font-size: 24px;
  color: var(--white);
}

.contact-info-content {
  padding: 30px 25px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  transition: var(--transition);
}

.info-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(5px);
}

.info-item.urgent {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.info-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.info-text h4 {
  margin: 0 0 5px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
}

.info-text p {
  margin: 5px 0 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.info-text a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
}

.info-text a:hover {
  text-decoration: underline;
}

.phone-link {
  font-size: 20px !important;
  font-weight: bold !important;
  letter-spacing: 1px;
}

.urgent-banner {
  background: rgba(255, 59, 48, 0.9);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  margin-top: 25px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  animation: pulse 2s infinite;
}

.urgent-banner p {
  margin: 5px 0;
  color: var(--white);
  font-size: 14px;
  line-height: 1.5;
}

.urgent-banner strong {
  font-size: 18px;
  display: block;
  margin-top: 5px;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.7);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(255, 59, 48, 0);
  }
}

/* ============================================
   MEDIA QUERIES - RESPONSIVE DESIGN
   ============================================ */

/* === TABLETTES (max-width: 992px) === */
@media (max-width: 992px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-content p {
    font-size: 18px;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-info-box {
    order: -1;
  }
}

/* === MOBILE (max-width: 768px) === */
@media (max-width: 768px) {
  /* Navigation mobile */
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    flex-direction: column;
    box-shadow: var(--shadow);
    max-height: 0;
    opacity: 0;
    overflow-y: auto;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    z-index: 999;
  }

  .nav-menu.active {
    height: calc(100vh - 120px);
    max-height: none;
    opacity: 1;
  }

  .nav-menu > li {
    margin: 0;
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
  }

  .nav-menu > li > a {
    padding: 15px 20px;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    margin-top: 0;
    background-color: var(--bg-light);
  }

  .dropdown-menu a {
    padding-left: 40px;
  }

  /* Grilles */
  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  /* Hero */
  .hero {
    height: 100vh;
    align-items: center;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  /* Sections */
  section {
    padding: 50px 0;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .section-title p {
    font-size: 16px;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Header top */
  .header-top .container {
    flex-direction: column;
    text-align: center;
  }

  .header-contact span {
    display: block;
    margin: 5px 0;
  }

  /* Cartes avantages */
  .advantage-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .advantage-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }

  /* Page header */
  .page-header h1 {
    font-size: 32px;
  }

  .page-header p {
    font-size: 16px;
  }

  /* Service features */
  .feature-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  /* Section Notre Engagement */
  .commitment-item,
  .commitment-item.reverse {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .commitment-item.reverse .commitment-image,
  .commitment-item.reverse .commitment-content {
    order: 0;
  }

  .commitment-image {
    height: 250px;
  }

  .commitment-content {
    padding: 30px 20px;
  }

  .commitment-content h3 {
    font-size: 20px;
  }

  .commitment-grid {
    gap: 40px;
  }

  .feature-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }

  /* Contact */
  .contact-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .contact-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .contact-form .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form-container {
    padding: 25px;
  }

  .contact-section {
    padding: 50px 0;
  }
}

/* === TRÈS PETITS ÉCRANS (max-width: 480px) === */
@media (max-width: 480px) {
  .btn {
    padding: 12px 30px;
    font-size: 14px;
  }

  .hero-content h1 {
    font-size: 24px;
  }

  .section-title h2 {
    font-size: 24px;
  }

  .card {
    padding: 20px;
  }
}

/* === MENTIONS LÉGALES === */
.legal-content {
  padding: 60px 0;
}

.legal-section {
  background-color: var(--white);
  padding: 30px;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.legal-section h2 {
  color: var(--primary-color);
  font-size: 24px;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 10px;
}

.legal-section p {
  margin-bottom: 10px;
  line-height: 1.8;
  color: var(--text-dark);
}

.legal-section a {
  color: var(--primary-color);
  text-decoration: underline;
  transition: var(--transition);
}

.legal-section a:hover {
  color: var(--secondary-color);
}

.legal-back {
  text-align: center;
  margin-top: 40px;
}
