/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-primary: #4CAF50;
  --color-primary-dark: #388E3C;
  --color-text: #2c2c2c;
  --color-text-light: #818a91;
  --color-bg: #ffffff;
  --color-bg-alt: #f8f9fa;
  --color-dark: #1a1a2e;
  --color-dark-text: #ffffff;
  --font-heading: 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --max-width: 1200px;
  --header-height: 80px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
}

/* ===== CONTAINER ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-bg);
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: transform 0.4s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header.hidden {
  transform: translateY(-100%);
}

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

.header-logo img {
  height: 50px;
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  transition: color 0.2s;
}

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

.header-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  background: var(--color-primary);
  color: #fff !important;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s;
}

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

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--color-bg);
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  flex-direction: column;
  gap: 16px;
  z-index: 999;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  font-size: 16px;
  font-weight: 500;
  padding: 8px 0;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

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

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

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

.btn-outline:hover {
  background: var(--color-text);
  color: #fff;
}

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

.btn-white:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
}

/* ===== SECTION COMMON ===== */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header .label {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 40px;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 18px;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== HERO ===== */
.hero {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 80px;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-content h1 {
  font-size: 48px;
  line-height: 1.1;
}

.hero-content .subtitle {
  font-size: 24px;
  color: var(--color-primary);
  font-weight: 600;
}

.hero-content .types {
  font-size: 16px;
  color: var(--color-text-light);
  font-weight: 400;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  width: 100%;
}

/* ===== SERVICES ===== */
.services {
  background: var(--color-bg-alt);
}

.services-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.services-text p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 16px;
}

.services-text .btn {
  margin-top: 16px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.service-card {
  background: var(--color-bg);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.service-card .icone {
  font-size: 40px;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 16px;
  font-weight: 600;
}

/* ===== REALISATIONS ===== */
.realisations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.realisation-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--color-bg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.realisation-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.realisation-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.realisation-card-body {
  padding: 24px;
}

.realisation-card-body h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.realisation-card-body p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
}

.realisations .section-footer {
  text-align: center;
}

/* ===== ATOUTS ===== */
.atouts {
  background: var(--color-bg-alt);
}

.atouts-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.atouts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.atout-card {
  padding: 24px;
}

.atout-card .icone {
  font-size: 32px;
  margin-bottom: 12px;
}

.atout-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.atout-card p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
}

.atouts-image img {
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  width: 100%;
}

/* ===== AGENCE ===== */
.agence-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.agence-content .soustitre {
  font-size: 20px;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 24px;
}

.agence-content .texte {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 32px;
}

.agence-content .texte p {
  margin-bottom: 16px;
}

/* ===== TEMOIGNAGES ===== */
.temoignages {
  background: var(--color-bg-alt);
}

.temoignages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.temoignage-card {
  background: var(--color-bg);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.temoignage-card blockquote {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text);
  font-style: italic;
  margin-bottom: 24px;
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--color-primary);
}

.temoignage-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.temoignage-author img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.temoignage-author-info .nom {
  font-weight: 700;
  font-size: 15px;
}

.temoignage-author-info .entreprise {
  font-size: 13px;
  color: var(--color-text-light);
}

/* ===== CTA FINAL ===== */
.cta-section {
  background: var(--color-dark);
  color: var(--color-dark-text);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 36px;
  margin-bottom: 32px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--color-dark);
  color: var(--color-dark-text);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .footer-logo img {
  height: 40px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 18px;
  transition: background 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-image {
    max-width: 500px;
    margin: 0 auto;
  }

  .services-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .realisations-grid {
    grid-template-columns: 1fr 1fr;
  }

  .atouts-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .atouts-image {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-content .subtitle {
    font-size: 20px;
  }

  .section-header h2 {
    font-size: 30px;
  }

  .section {
    padding: 60px 0;
  }

  .realisations-grid {
    grid-template-columns: 1fr;
  }

  .temoignages-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .atouts-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cta-section h2 {
    font-size: 26px;
  }
}
