/* === IMPORT FONT === */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --font: 'Plus Jakarta Sans', sans-serif;
  --terracotta: #F7E275;
  --terracotta-dark: #D4C04A;
  --terracotta-light: #FFFDF0;
  --cream: #FDFCF5;
  --cream-dark: #F5F2DC;
  --dark: #1E1E1E;
  --gray: #6B6B6B;
  --white: #FFFFFF;
  --border: #f3f3f3;
  --card-shadow: 0 2px 20px rgba(247, 226, 117, 0.12);
}

* { box-sizing: border-box; }

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background-color: var(--cream);
  margin: 0;
  padding: 20px 160px 80px;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--dark);
}

h1, h2, h3, h4, p, a, button, label, input, select, textarea {
  font-family: var(--font);
}

h1 {
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
  margin: 0;
  color: var(--dark);
}

h2 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin: 0;
  color: var(--dark);
}

h3 {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.3px;
  margin: 0;
  color: var(--dark);
}

p {
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.65;
  margin: 0;
  color: var(--gray);
}

a { text-decoration: none; cursor: pointer; }

.highlight { color: #efa100; }

/* ─── SECTION SPACING ─── */
.section { margin-bottom: 100px; }

/* ─── BANNER ─── */
.banner {
  background-color: #fbe9c4;
  color: var(--dark);
  padding: 10px 20px;
  text-align: center;
  border-radius: 100px;
  margin-bottom: 20px;
  border: 1px solid #f5e5c5;
}
.banner p {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
}

/* ─── HERO ─── */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 48px;
  padding: 48px 40px;
  border-radius: 40px;
  background-color: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
}

.titre-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.titre-texte {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.logo {
  max-width: 100px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.img-hero img {
  max-width: 886px;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.img-google img {
  max-width: 273px;
  height: auto;
  width: 100%;
}

/* ─── CTA ─── */
.cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.cta-global {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.cta {
  display: inline-block;
  background-color: var(--terracotta);
  color: var(--dark);
  padding: 16px 28px;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  text-decoration: none;
}
.cta:hover {
  background-color: var(--terracotta-dark);
  transform: translateY(-1px);
}

.sous-cta {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray);
  text-decoration: none;
}
.sous-cta:hover { color: var(--terracotta); }


/* ─── SERVICES ─── */
.services {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.services h2,
.pourquoi-nous h2,
.temoignage h2,
.avant_apres h2,
.zone h2,
.faq-container h2 {
  text-align: center;
}

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

.service-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--card-shadow);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  border-color: var(--terracotta);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(196, 130, 90, 0.15);
}

.service-icon {
  font-size: 2rem;
  line-height: 1;
}

.service-card h3 {
  font-size: 1.2rem;
}

.service-card p {
  font-size: 0.95rem;
}

/* ─── POURQUOI NOUS ─── */
.pourquoi-nous {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.list-raison {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.raison {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  box-shadow: var(--card-shadow);
}

.raison .icon { font-size: 2rem; }

/* ─── AVANT / APRÈS ─── */
.avant_apres {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.list-avant_apres {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.aa-group {
  display: flex;
  flex-direction: column;
  gap: 18px;
}


.aa-sep {
  display: flex;
  align-items: center;
  gap: 14px;
}

.aa-sep::before,
.aa-sep::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #ebebeb;
}

.aa-sep span {
  font-size: 13px;
  font-weight: 500;
  color: #aaa;
  white-space: nowrap;
  letter-spacing: 0.03em;
}

.avant_apres-img {
  background-color: var(--white);
  padding: 24px;
  border-radius: 24px;
  display: flex;
  gap: 16px;
}

.avant, .apres {
  display: flex;
  flex-direction: column;
}

.tete-avant {
  background-color: red;
  padding: 8px;
  text-align: center;
  color: white;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  margin: 0;
}

.tete-apres {
  background-color: #1CBF73;
  padding: 8px;
  text-align: center;
  color: white;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  margin: 0;
}

.img-avant_apres {
  width: 360px;
  height: 480px;
  object-fit: cover;
  display: block;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

/* ─── TÉMOIGNAGES ─── */
.temoignage {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.temoignage-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.list-avis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.avis {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--card-shadow);
}

.avis-tete {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.info h4 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
}

.date {
  font-size: 0.8rem;
  color: #999;
  margin: 0;
}

.google-logo {
  position: absolute;
  right: 0;
  width: 22px;
  height: 22px;
}

.stars { display: flex; gap: 3px; }
.stars-icone { width: 15px; height: 15px; object-fit: contain; }

.avis-texte {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--dark);
  font-weight: 400;
}

/* ─── ZONE D'INTERVENTION ─── */
.zone {
  display: flex;
  flex-direction: column;
  gap: 32px;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 64px;
}

.zone-intro {
  text-align: center;
  font-size: 1.1rem;
  color: var(--gray);
}

.list-zones {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.zone-item {
  background-color: var(--cream);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
}

/* ─── FAQ ─── */
.faq-section {
  background-color: var(--terracotta-light);
  border-radius: 32px;
  padding: 72px;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.faq-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--white);
  border-radius: 14px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}

.faq-item:hover { border-color: var(--terracotta); }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--dark);
}

.arrow {
  font-size: 1.3rem;
  color: var(--terracotta);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .arrow { transform: rotate(90deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  opacity: 1;
  margin-top: 16px;
}

.faq-contact {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

/* ─── FORMULAIRE ─── */
.contact-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 64px;
}

.contact-section h2 { text-align: center; }

.contact-form {
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-row {
  display: flex;
  gap: 16px;
}

.field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.field-full { width: 100%; }

.contact-form label span {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: var(--font);
  background: var(--cream);
  color: var(--dark);
  outline: none;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--terracotta);
  background: var(--white);
}

.contact-form textarea {
  min-height: 110px;
  resize: vertical;
}

::placeholder { color: #bbb; opacity: 1; }

.contact-note {
  font-size: 0.8rem;
  color: #aaa;
  text-align: center;
  margin-top: 8px;
}

/* ─── FOOTER ─── */
.footer { width: 100%; margin: 0; padding: 0; }

.container-footer {
  background-color: var(--dark);
  border-radius: 32px;
  padding: 64px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}


.lien-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
}

.fin-footer { color: rgba(255,255,255,0.5); font-size: 0.9rem; margin: 0; }

.info-lien { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.info-lien a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.info-lien a:hover { color: var(--terracotta); }
.info-lien p { color: rgba(255,255,255,0.5); font-size: 0.9rem; margin: 0; }

/* ─── ANIMATIONS ─── */
.section {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}
.section.visible { opacity: 1; transform: translateY(0); }


/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  body { padding: 20px 40px 60px; }
}

@media (max-width: 768px) {
  body { padding: 16px 16px 48px; }

  h1 { font-size: 2.6rem; letter-spacing: -1px; }
  h2 { font-size: 2rem; letter-spacing: -0.8px; }
  h3 { font-size: 1.2rem; }

  .section { margin-bottom: 64px; }

  .banner { border-radius: 16px; }

  /* Hero mobile : 1 colonne */
  .hero {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 32px;
    border-radius: 24px;
  }
  .hero-content { align-items: center; text-align: center; }
  .cta-group { align-items: center; }
  .img-hero img { aspect-ratio: 4 / 2; object-fit: cover; height: auto; }

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

  /* Raisons */
  .list-raison { grid-template-columns: 1fr 1fr; gap: 12px; }

  /* Avant/Après */
  .avant_apres-img {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    align-items: stretch;
    padding: 0;
    border-radius: 20px;
    background-color: transparent;
  }
  .avant, .apres { display: flex; flex-direction: column; }
  .img-avant_apres {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-width: none;
    border-radius: 0 0 12px 12px;
  }
  .list-avant_apres { gap: 32px; }
  .tete-avant, .tete-apres {
    border-radius: 12px 12px 0 0;
    font-size: 14px;
    padding: 6px;
  }

  /* Avis */
  .list-avis { grid-template-columns: 1fr; }

  /* Zone */
  .zone { padding: 32px 24px; border-radius: 24px; }

  /* FAQ */
  .faq-section { padding: 32px 20px; border-radius: 24px; }

  /* Formulaire */
  .contact-section { padding: 32px 20px; border-radius: 24px; }
  .form-row { flex-direction: column; }

  /* Footer */
  .container-footer { padding: 40px 24px; border-radius: 24px; }
  .lien-footer { flex-direction: column; }
  .info-lien { flex-direction: column; align-items: flex-start; gap: 8px; }
}
