/* Reset et base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #c48f59;
  --primary-light: #d6a978;
  --primary-dark: #a67642;
  --secondary: #1a1a1a;
  --background: #fef9ef;
  --text: #333333;
  --white: #ffffff;
  --gray-100: #f7fafc;
  --gray-200: #edf2f7;
  --gray-300: #e2e8f0;
  --gray-400: #cbd5e0;
  --gray-500: #a0aec0;
  --gray-600: #718096;
  --gray-700: #4a5568;
  --gray-800: #2d3748;
  --gray-900: #1a202c;
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-700: #b45309;
  --amber-800: #92400e;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --border-radius: 0.375rem;
  --transition: all 0.3s ease;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
    "Helvetica Neue", sans-serif;
  line-height: 1.5;
  color: var(--text);
  background-color: var(--background);
}

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

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

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--secondary);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 2.25rem;
}

h2 {
  font-size: 1.875rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  max-width: 48rem;
  margin: 0 auto;
  color: var(--gray-600);
}

.bg-light {
  background-color: var(--amber-50);
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
  border: none;
}

.btn .icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.5rem;
}

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

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

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

.btn-light:hover {
  background-color: var(--gray-100);
}

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

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

/* Icônes */
.icon {
  width: 1.5rem;
  height: 1.5rem;
  stroke-width: 2;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Bandeau supérieur */
.top-banner {
  background-color: var(--primary);
  color: var(--white);
  padding: 0.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.banner-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.banner-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.close-banner {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

/* Header */
.header {
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 2.5rem;
  z-index: 900;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
}

.logo img {
  margin-right: 0.75rem;
}

.logo-text {
  display: none;
}

.desktop-nav {
  display: none;
}

.desktop-nav > ul {
  display: flex;
  gap: 2rem;
}

.dropdown-menu {
  display: flex !important;
  flex-direction: column !important;
}

.desktop-nav a {
  font-weight: 500;
  color: var(--gray-700);
}

.desktop-nav a:hover {
  color: var(--primary);
}

.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
}

.dropdown-menu {
  position: absolute;
  left: 0;
  top: 100%;
  width: 12rem;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  padding: 0.25rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.5rem);
  transition: var(--transition);
  z-index: 10;
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
}

.dropdown-menu a:hover {
  background-color: rgba(var(--primary), 0.1);
}

.contact-button {
  display: none;
}

.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  background: none;
  border: none;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--secondary);
  transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  padding: 1rem 0;
  border-top: 1px solid var(--gray-200);
}

.mobile-nav.active {
  display: block;
}

.mobile-nav > nav > ul {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-nav > nav > ul > li {
  border-bottom: 1px solid var(--gray-200);
}

.mobile-nav > nav > ul > li > a,
.mobile-nav > nav > ul > li > .btn {
  display: block;
  padding: 0.85rem 1rem;
  font-weight: 500;
  color: var(--gray-700);
}

.mobile-nav > nav > ul > li > a:hover {
  color: var(--primary);
  background: var(--gray-100);
}

.mobile-nav > nav > ul > li:last-child {
  border-bottom: none;
  padding: 1rem;
}

.mobile-dropdown {
  background: var(--gray-100);
}

.mobile-dropdown > p {
  display: block;
  padding: 0.7rem 1rem 0.5rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin: 0;
}

.mobile-dropdown ul {
  display: flex;
  flex-direction: column;
  padding: 0 0 0.5rem 0;
}

.mobile-dropdown ul li {
  margin: 0;
}

.mobile-dropdown ul li a {
  display: block;
  padding: 0.55rem 1rem 0.55rem 1.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  border-top: 1px solid var(--gray-200);
}

.mobile-dropdown ul li a:hover {
  color: var(--primary);
  background: white;
}

/* Hero Section */
.hero {
  position: relative;
  background-color: var(--secondary);
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 6rem 0;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26,26,26,0.82) 0%, rgba(26,26,26,0.65) 100%);
}

.hero-content {
  position: relative;
  max-width: 48rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--primary-light);
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.service-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.service-image {
  height: 12rem;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-content {
  padding: 1.5rem;
}

.service-content h3 {
  margin-bottom: 0.5rem;
}

.service-content p {
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-weight: 500;
}

.link-arrow:hover {
  color: var(--primary-dark);
}

.link-arrow .icon {
  width: 1rem;
  height: 1rem;
  margin-left: 0.25rem;
}

/* Zones Section */
.zones-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.zone-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 1rem;
  text-align: center;
  transition: var(--transition);
}

.zone-card:hover {
  box-shadow: var(--shadow-lg);
  background-color: var(--amber-100);
}

.zone-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.zone-icon .icon {
  color: var(--amber-700);
}

.zones-note {
  text-align: center;
  margin-top: 2rem;
  color: var(--gray-600);
}

/* Advantages Section */
.advantages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.advantage-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.advantage-card:hover {
  box-shadow: var(--shadow-lg);
}

.advantage-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.advantage-icon .icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--primary);
}

.advantage-card h3 {
  margin-bottom: 0.5rem;
}

.advantage-card p {
  color: var(--gray-600);
}

/* Testimonials Section */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.testimonial {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  border-left: 4px solid var(--primary);
}

.stars {
  display: flex;
  margin-bottom: 1rem;
}

.star {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--amber-500);
  fill: var(--amber-500);
  margin-right: 0.25rem;
}

.testimonial-text {
  font-style: italic;
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.testimonial-author {
  font-weight: 500;
}

.testimonial-author .name {
  color: var(--primary);
}

.testimonial-author .location {
  color: var(--gray-500);
}

/* Safety Section */
.safety-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.safety-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.safety-text h2 {
  margin-bottom: 1rem;
}

.safety-text p {
  color: var(--gray-600);
}

/* CTA Section */
.cta-section {
  background-color: var(--primary);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.25rem;
  max-width: 48rem;
  margin: 0 auto 2rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

/* Footer */
.footer {
  background-color: var(--gray-900);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-logo img {
  margin-right: 0.75rem;
}

.footer-logo h3 {
  color: var(--primary);
}

.footer-company p {
  color: var(--gray-400);
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: var(--gray-400);
}

.social-links a:hover {
  color: var(--primary);
}

.footer h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.footer ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer a {
  color: var(--gray-400);
}

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

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-400);
}

.footer-contact .icon {
  color: var(--primary);
  width: 1.125rem;
  height: 1.125rem;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-800);
  text-align: center;
}

.footer-bottom p {
  color: var(--gray-400);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.footer-links a {
  color: var(--gray-400);
  font-size: 0.875rem;
}

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

/* Media Queries */
@media (min-width: 640px) {
  .banner-content {
    flex-direction: row;
  }

  .banner-actions {
    margin-top: 0;
  }

  .hero-buttons {
    flex-direction: row;
  }

  .cta-buttons {
    flex-direction: row;
  }

  .zones-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .logo-text {
    display: block;
  }

  .logo-text h1 {
    font-size: 1.25rem;
  }

  .logo-text p {
    font-size: 0.75rem;
    margin-bottom: 0;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .safety-content {
    flex-direction: row;
  }

  .safety-image,
  .safety-text {
    width: 50%;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: block;
  }

  .contact-button {
    display: block;
  }

  .mobile-menu-toggle {
    display: none;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .advantages-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}
