:root {
  --color-bg: #f2eee6;
  --color-bg-soft: #faf7f2;
  --color-section: #e7efe7;
  --color-text: #4f342c;
  --color-accent: #9ec9a8;
  --color-accent-hover: #2f8c5a;
  --color-border: #b8a79a;
  --color-green-strong: #3aa76d;
  --color-green-dark: #4f342c;
  --color-green-soft: #edf5ee;
}

/* =========================
   BASE
   ========================= */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.5;
  background-color: var(--color-bg);
  color: var(--color-text);
  padding-top: 88px;
}

main {
  max-width: 100%;
  margin: 0 auto;
}

section {
  padding: 40px 16px;
}

p {
  margin-top: 0;
  margin-bottom: 16px;
}

ul {
  padding-left: 20px;
  margin: 16px 0 0 0;
}

li {
  margin-bottom: 8px;
}

h1,
h2,
h3 {
  margin-top: 0;
}

h1 {
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1.15;
}

h2 {
  font-size: 1.7rem;
  margin-bottom: 16px;
  line-height: 1.25;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  line-height: 1.3;
}

/* =========================
   HEADER FIXE
   ========================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--color-bg-soft);
  border-bottom: 1px solid #e4ddd3;
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--color-text);
  min-width: 160px;
}

.logo-title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.1;
}

.logo-subtitle {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-green-strong);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.main-nav {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  text-align: center;
  background-color: var(--color-bg-soft);
  position: absolute;
  top: calc(100% + 8px);
  right: 16px;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  min-width: 220px;
}

.main-nav.open {
  display: flex;
}

.main-nav a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 999px;
  transition: background-color 0.3s ease;
}

.main-nav a:hover {
  background-color: rgba(158, 201, 168, 0.25);
}

.nav-toggle {
  display: block;
  padding: 10px 14px;
  background-color: rgba(158, 201, 168, 0.95);
  color: var(--color-text);
  border: none;
  border-radius: 12px;
  font-size: 24px;
  cursor: pointer;
  flex-shrink: 0;
}

.btn-header {
  display: none;
  padding: 12px 20px;
  background-color: var(--color-green-strong);
  color: white;
  text-decoration: none;
  border-radius: 16px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}

.btn-header:hover {
  background-color: #25814a;
}

.main-nav a:focus,
.btn-top:focus,
.btn-rdv:focus,
.nav-toggle:focus,
.btn-header:focus,
.btn-hero-primary:focus,
.btn-hero-secondary:focus {
  outline: 3px solid var(--color-text);
  outline-offset: 3px;
}

/* =========================
   HERO
   ========================= */

.hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
}

.hero-left {
  width: 100%;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  margin-bottom: 18px;
  padding: 10px 18px;
  background-color: #eadccf;
  color: #7a4b3a;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
}

.hero h1 {
  font-size: 2.2rem;
  line-height: 1.08;
  margin-bottom: 20px;
  font-weight: 800;
  color: #6b3f2f;
}

.hero-text {
  max-width: 640px;
  margin: 0 auto 24px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #6a5248;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}

.btn-hero-primary,
.btn-hero-secondary {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  border-radius: 16px;
  padding: 16px 22px;
  text-align: center;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

.btn-hero-primary {
  background-color: var(--color-green-strong);
  color: white;
  box-shadow: 0 8px 20px rgba(58, 167, 109, 0.3);
  font-size: 18px;
}

.btn-hero-primary:hover {
  background-color: #2f8c5a;
  transform: translateY(-3px) scale(1.02);
}

.btn-hero-secondary {
  background-color: transparent;
  color: #6b3f2f;
  border: 2px solid #6b3f2f;
}

.btn-hero-secondary:hover {
  background-color: rgba(107, 63, 47, 0.08);
  transform: translateY(-2px);
}

.hero-location {
  display: inline-block;
  font-size: 0.95rem;
  color: #7a655c;
  margin: 0;
  text-decoration: none;
}

.hero-location:hover {
  text-decoration: underline;
}

.hero-right {
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero-right img {
  width: 75%;
  height: auto;
  object-fit: cover;
  border-radius: 24px;
}
.cta-center {
  text-align: center;
  margin: 40px 0;
}

/* =========================
   BLOCS CENTRAUX
   ========================= */

#presentation,
#contact,
#offres,
#avis,
#faq {
  max-width: 1100px;
  margin: 0 auto 24px;
}

#presentation,
#contact,
#faq {
  background-color: var(--color-bg-soft);
  border-radius: 20px;
  padding-left: 20px;
  padding-right: 20px;
}

#presentation p,
#offres .section-intro,
#contact p,
#faq p {
  max-width: 700px;
}

#presentation .presentation-text p {
  text-indent: 20px;
}

.presentation-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.presentation-text {
  flex: 1;
}

.presentation-image {
  display: flex;
  justify-content: center;
}

.presentation-image img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 20px;
}

.section-intro {
  max-width: 700px;
  margin-bottom: 24px;
}

/* =========================
   OFFRES / BESOINS
   ========================= */

#offres h2 {
  margin-bottom: 20px;
}

.besoins-grid {
  display: grid;
  gap: 20px;
  margin-bottom: 36px;
}

.offres-grid {
  display: grid;
  gap: 20px;
}

.offre-card {
  background-color: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.offre-card h3 {
  margin-bottom: 12px;
}

.offre-card p {
  margin-bottom: 0;
}

.tarifs-block {
  margin-top: 32px;
  background-color: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.tarifs-block h3 {
  margin-bottom: 16px;
}

.tarifs-list {
  margin: 0;
  padding-left: 20px;
}

.tarifs-list li {
  margin-bottom: 10px;
}

.tarifs-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tarifs-text {
  flex: 1;
}

.tarifs-image {
  display: flex;
  justify-content: center;
}

.tarifs-image img {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 20px;
}

.conditions-box {
  margin-top: 24px;
  max-width: 540px;
  padding: 14px 18px;
  background-color: #f4eee8;
  border: 1px solid #e2d6ca;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.conditions {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #7a655c;
  text-align: left;
}

/* =========================
   AVIS
   ========================= */

.avis-grid {
  display: grid;
  gap: 20px;
}

.avis-card {
  background-color: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.avis-text {
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 14px;
}

.avis-author {
  margin-top: 12px;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 600;
}

.avis-link {
  text-align: center;
  margin-bottom: 20px;
}

.avis-link a {
  display: inline-block;
  color: var(--color-text);
  font-weight: 600;
  text-decoration: none;
  padding: 10px 16px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background-color: var(--color-bg-soft);
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

.avis-link a:hover {
  text-decoration: none;
  background-color: rgba(158, 201, 168, 0.2);
  transform: translateY(-2px);
}

/* =========================
   FAQ
   ========================= */

#faq h2 {
  margin-bottom: 24px;
}

.faq-item {
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
  margin-bottom: 16px;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item h3 {
  margin-bottom: 10px;
}

.faq-item p {
  margin-bottom: 0;
  max-width: 800px;
}

/* =========================
   CONTACT
   ========================= */

#contact a {
  color: var(--color-text);
  font-weight: 600;
}

#contact a:hover {
  text-decoration: underline;
}

.contact-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-icon {
  flex-shrink: 0;
  font-size: 1.1rem;
  line-height: 1;
}

.contact-image {
  display: flex;
  justify-content: center;
}

.contact-image img {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
}

/* =========================
   BOUTONS
   ========================= */

.btn-rdv {
  display: inline-block;
  padding: 14px 22px;
  background-color: var(--color-green-strong);
  color: white;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  border-radius: 16px;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 8px 20px rgba(58, 167, 109, 0.3);
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

.btn-rdv:hover {
  background-color: #2f8c5a;
  transform: translateY(-2px);
}

.rdv-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.btn-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--color-accent);
  color: var(--color-text);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.btn-top:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
}

.btn-top-text {
  display: none;
}

.btn-top-icon {
  display: inline;
}

/* =========================
   FOOTER
   ========================= */

footer {
  padding: 20px;
  text-align: center;
  background-color: var(--color-bg-soft);
  border-top: 1px solid var(--color-border);
}

.legal {
  font-size: 12px;
  opacity: 0.75;
  margin: 10px 0;
}

.conditions-footer {
  font-size: 12px;
  opacity: 0.6;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

footer .contact-info {
  align-items: center;
}

footer .contact-item {
  justify-content: center;
}

footer a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
}

footer a:hover {
  text-decoration: underline;
}

/* =========================
   TABLETTE
   ========================= */

@media screen and (min-width: 768px) {
  body {
    padding-top: 92px;
  }

  section {
    padding: 60px 24px;
  }

  .btn-header {
    display: inline-block;
  }

  .hero {
    padding: 32px 24px 56px;
  }

  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: auto;
  }

  .besoins-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .offres-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .avis-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .btn-rdv {
    width: auto;
  }

  .rdv-buttons {
    align-items: flex-start;
  }

  .btn-top {
    width: auto;
    height: auto;
    padding: 12px 18px;
    font-size: 14px;
  }

  .btn-top-text {
    display: inline;
  }

  .btn-top-icon {
    display: none;
  }

  .contact-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
  }

  .contact-text {
    flex: 1;
  }

  .contact-image {
    flex: 0 0 260px;
    justify-content: flex-end;
  }

  .contact-image img {
    max-width: 260px;
  }

  .presentation-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }

  .presentation-image {
    flex: 0 0 300px;
    justify-content: flex-end;
  }

  .presentation-image img {
    max-width: 300px;
  }

  .tarifs-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }

  .tarifs-image {
    flex: 0 0 280px;
    justify-content: flex-end;
  }

  .tarifs-image img {
    max-width: 280px;
  }
}

/* =========================
   DESKTOP
   ========================= */

@media screen and (min-width: 1024px) {
  body {
    font-size: 18px;
    padding-top: 96px;
  }

  .conditions-box {
    margin-left: 0;
    margin-right: 0;
  }

  .header-container {
    padding: 16px 28px;
  }

  .logo-title {
    font-size: 1.5rem;
  }

  .logo-subtitle {
    font-size: 0.9rem;
  }

  .nav-toggle {
    display: none;
  }

  .main-nav {
    display: flex;
    position: static;
    flex-direction: row;
    background: none;
    box-shadow: none;
    padding: 0;
    gap: 18px;
    min-width: auto;
  }

  .hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: stretch;
    padding: 0 24px 56px;
    min-height: 620px;
  }

  .hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    padding: 80px 40px 80px 20px;
  }

  .hero h1 {
    font-size: 4rem;
    max-width: 560px;
  }

  .hero-text {
    margin: 0 0 28px 0;
    max-width: 560px;
  }

  .hero-buttons {
    justify-content: flex-start;
  }

  .hero-location {
    max-width: 520px;
  }

  .hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-right img {
    width: 75%;
    max-width: 500px;
  }

  .besoins-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .offres-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .avis-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.2rem;
  }
}
