/* --- Polices --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&family=Raleway:wght@400;600&display=swap');

:root {
  --bg-light: rgba(255, 255, 249, 0.92);   /* fond translucide sur les cartes */
  --text-main: #2f2f2f;                    /* texte principal */
  --accent: #2f6f4e;                       /* vert protecteur (Raphaël) */
  --accent-light: #a8d5ba;                 /* vert tendre */
  --white: #ffffff;
  --border: #d6e2d8;                       /* vert pâle pour contours */
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Raleway', sans-serif;
}

/* --- Reset & Base --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  background: url('Theme Vert.png') center top / cover fixed no-repeat;
  font-family: var(--font-sans);
  color: var(--text-main);
  line-height: 1.7;
  font-size: 18px;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}


/* --- Typographie --- */
h1,
h2,
h3 {
  font-family: var(--font-serif);
  color: var(--accent);
  margin-bottom: 0.5em;
}

h1 {
  font-size: 2.2rem;
  margin-top: 1rem;
}

h2 {
  font-size: 1.8rem;
}

h3 {
  font-size: 1.4rem;
}

p {
  margin-bottom: 1em;
}

/* --- Liens --- */
a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #1e4c36; /* vert plus profond */
  text-decoration: underline;
}

/* --- Header --- */
header {
  background-color: rgba(248, 241, 233, 0.8); /* beige translucide */
  padding: 4rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  border-radius: 0 0 12px 12px;
  backdrop-filter: blur(4px);
  color: #2f2f2f;
}

nav {
  margin-top: 1rem;
}

nav a {
  margin: 0 12px;
  font-weight: 600;
  color: var(--accent);
}

nav a:hover {
  color: #1e4c36;
}

/* --- Main layout --- */
main {
  max-width: 1500px;
  margin: 2rem auto;
  padding: 2.2rem 1.2rem;

  /* MAIN → aucune "boîte" visuelle */
  background: none;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  border-radius: 0;

  flex: 1;
  font-size: 1.12rem;
}

/* --- Services : grille de cartes (page prestations) --- */
.services {
  display: flex;
  flex-wrap: wrap;            
  gap: 1.25rem;               
  justify-content: center;    
  margin-top: 2rem;
}

/* --- Carte par défaut → pages individuelles (fond doux) --- */
.service-box {
  max-width: 980px;
  margin: 0 auto 2rem auto;

  background-color: rgba(248, 241, 233, 0.85); /* beige doux */
  padding: 2rem 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* --- Cartes dans la grille --- */
.services .service-box {
  flex: 1 1 260px;
  max-width: 320px;
  padding: 1.5rem;
  border-radius: 10px;
  background: var(--white); /* blanc pour la grille */
}

/* Hover uniquement pour les cartes en grille */
.services .service-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.service-box h3 {
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.service-box p {
  font-size: 1rem;
  color: #444;
}

/* Responsive */
@media (max-width: 480px) {
  .services .service-box {
    flex-basis: 100%;
    max-width: 100%;
  }
}


/* --- CTA Boutons --- */
.cta {
  text-align: center;
  margin-top: 2rem;
}

.cta a {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  background-color: var(--accent);
  color: white;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.cta a:hover {
  background-color: #1e4c36;
}

/* --- Footer --- */
footer {
  text-align: center;
  padding: 2rem 0;
  background-color: rgba(34, 34, 34, 0.85);
  color: #e6e6e6;
  font-size: 0.9rem;
  margin-top: 4rem;
  border-radius: 12px 12px 0 0;
}

/* --- Responsive global --- */
@media (min-width: 768px) {
  .services {
    flex-direction: row;
  }
}

/* --- Layout texte + image (Massage du Ventre) --- */
.section-img {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 2.5rem 0;
}

.section-img img {
  width: 48%;
  max-width: 420px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.section-img .txt {
  width: 52%;
}

@media (max-width: 800px) {
  .section-img {
    flex-direction: column;
    text-align: center;
  }
  .section-img img,
  .section-img .txt {
    width: 100%;
  }
}
