/* ============================================================
   EQUI-VIBES — Manon Canaple
   Palette : beige chaud + vert forêt | Intuition • Équilibre • Harmonie
   ============================================================ */

:root {
  --creme:       #EEE7DD;   /* fond principal — accordé au logo */
  --beige:       #ECE1D0;   /* sections alternées */
  --sable:       #C8A87E;   /* accent doré doux */
  --vert:        #2F4A3A;   /* vert forêt — titres, boutons */
  --vert-sombre: #3F4D34;   /* footer — accordé au logo */
  --encre:       #3B372F;   /* texte courant */
  --blanc:       #FFFDF9;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Karla', 'Helvetica Neue', Arial, sans-serif;
  --texte: 'Lora', 'Times New Roman', Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--texte);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--encre);
  background: var(--creme);
}

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

/* ---------- Navigation ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(238, 231, 221, 0.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(47, 74, 58, 0.12);
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.5rem 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.nav ul { justify-content: center; }

.patte {
  height: 62px;
  width: auto;
  animation: toupie 7s linear infinite;
}

@keyframes toupie {
  to { transform: rotateY(360deg); }
}

.logo img { height: 112px; width: auto; }

.logo small {
  display: block;
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sable);
  margin-top: 0.1rem;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 1.6rem;
}

.nav a.lien {
  font-family: var(--texte);
  text-decoration: none;
  color: var(--encre);
  font-size: 1.02rem;
  letter-spacing: 0.03em;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav a.lien:hover,
.nav a.lien.actif {
  color: var(--vert);
  border-color: var(--sable);
}

.burger {
  display: none;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: var(--vert);
  cursor: pointer;
}

/* ---------- Héros ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  color: var(--blanc);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(30, 51, 40, 0.45), rgba(30, 51, 40, 0.55));
}

.hero > div {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 0;
}

.hero h1 {
  font-family: var(--texte);
  font-style: italic;
  font-size: clamp(1.45rem, 3.4vw, 2.3rem);
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 1.8rem;
  text-wrap: balance;
}

.hero p { font-size: 1.12rem; max-width: 640px; margin: 0 auto 1.3rem; line-height: 1.8; }

.devise {
  font-family: var(--sans);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--sable);
  margin-bottom: 1.8rem;
}

/* ---------- Boutons ---------- */
.btn {
  font-family: var(--texte);
  display: inline-block;
  margin-top: 1.6rem;
  padding: 0.85rem 2.2rem;
  background: var(--sable);
  color: var(--vert-sombre);
  text-decoration: none;
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn:hover { background: var(--blanc); transform: translateY(-2px); }

.btn-vert { background: var(--vert); color: var(--blanc); }
.btn-vert:hover { background: var(--vert-sombre); color: var(--blanc); }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 1.5rem; }
.section.alt { background: var(--beige); }

.contenu { max-width: 1000px; margin: 0 auto; }

h2.titre {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 600;
  color: var(--vert);
  text-align: center;
  margin-bottom: 0.8rem;
}

/* Séparateur signature : Intuition • Équilibre • Harmonie */
.separateur {
  font-family: var(--sans);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin: 0 auto 3rem;
  color: var(--sable);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.sep-texte { text-align: center; margin-right: -0.3em; }

.separateur::before,
.separateur::after {
  content: '';
  width: 56px;
  height: 1px;
  background: var(--sable);
}

/* ---------- Cartes prestations ---------- */
.grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
}

.carte {
  text-align: center;
  background: var(--blanc);
  border: 1px solid rgba(200, 168, 126, 0.35);
  border-radius: 4px;
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}

.carte:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(47, 74, 58, 0.12);
}

.carte h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--vert);
  margin-bottom: 0.7rem;
}

.carte p { font-size: 0.97rem; margin-bottom: 0.6rem; }

.carte .detail {
  font-size: 0.9rem;
  color: var(--vert);
  font-style: italic;
  margin-bottom: 1rem;
}

.carte .prix {
  margin-top: auto;
  padding-top: 1.2rem;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--sable);
  border-top: 1px solid var(--beige);
}

/* ---------- À propos ---------- */
.deux-colonnes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.deux-colonnes img {
  border-radius: 4px;
  box-shadow: 0 14px 32px rgba(47, 74, 58, 0.18);
}

/* ---------- Galerie ---------- */
.galerie {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.4rem;
}

.galerie figure {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--beige);
}

.galerie img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.4s;
}

.galerie figure:hover img { transform: scale(1.05); }

.galerie figcaption {
  text-align: center;
  padding: 0.7rem 0.9rem;
  font-size: 0.88rem;
  font-style: italic;
  color: var(--vert);
  background: var(--blanc);
}

/* ---------- Témoignages ---------- */
.temoignage {
  background: var(--blanc);
  border-left: 3px solid var(--sable);
  border-radius: 4px;
  padding: 2rem;
  margin-bottom: 1.6rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.temoignage p { font-style: italic; }

.temoignage cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-family: var(--serif);
  font-weight: 600;
  color: var(--vert);
}

/* ---------- Formulaire ---------- */
form { max-width: 640px; margin: 0 auto; }

.champ { margin-bottom: 1.3rem; }

label {
  font-family: var(--sans);
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vert);
  margin-bottom: 0.4rem;
}

input, textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(47, 74, 58, 0.25);
  border-radius: 2px;
  background: var(--blanc);
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--encre);
}

input:focus, textarea:focus {
  outline: 2px solid var(--sable);
  border-color: transparent;
}

/* ---------- Bandeau appel offert ---------- */
.bandeau {
  background: linear-gradient(180deg, var(--vert) 0%, var(--vert) 55%, var(--vert-sombre) 100%);
  color: var(--blanc);
  text-align: center;
  padding: 3.5rem 1.5rem;
}

.bandeau h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.citation-bandeau {
  position: relative;
  z-index: 1;
  font-family: var(--texte);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(0.95rem, 2.2vw, 1.5rem);
  white-space: nowrap;
  padding: 2.2rem 0 0 2.5rem;
}

/* ---------- Footer ---------- */
footer {
  background: var(--vert-sombre);
  color: rgba(255, 253, 249, 0.85);
  padding: 3rem 1.5rem 2rem;
  font-size: 0.92rem;
}

.footer-grille {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2.5rem;
}

footer .marque {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--blanc);
}

footer .devise { margin: 0.3rem 0 0; font-size: 0.66rem; }

footer img { border: none; }
footer a { color: var(--sable); text-decoration: none; }
footer a:hover { text-decoration: underline; }

.reseaux { display: flex; flex-direction: column; gap: 0.4rem; }

.copyright {
  text-align: center;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 253, 249, 0.15);
  font-size: 0.82rem;
  color: rgba(255, 253, 249, 0.6);
}

/* ---------- Accessibilité & responsive ---------- */
:focus-visible { outline: 2px solid var(--sable); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

@media (max-width: 820px) {
  .burger { display: block; }

  .nav { grid-template-columns: auto 1fr auto auto; }

  .patte { height: 44px; }

  .nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--creme);
    border-bottom: 1px solid rgba(47, 74, 58, 0.12);
    padding: 0.5rem 0;
  }

  .nav ul.ouvert { display: flex; }

  .nav ul li { text-align: center; padding: 0.8rem 0; }

  .deux-colonnes { grid-template-columns: 1fr; }

  /* Centrages spécifiques au mobile */
  .citation-bandeau {
    white-space: normal;
    text-align: center;
    padding: 1rem 1rem 0;
    font-size: 0.88rem;
  }

  .footer-grille {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .reseaux { align-items: center; }

  .deux-colonnes > div { text-align: center; }

  .hero > div { padding-top: 3rem; }

  .section img { margin-left: auto; margin-right: auto; }

  .sep-l2 { display: block; }

  h2.titre { line-height: 1.2; }

  .carte .detail { font-size: 0.82rem; }

  .bandeau-guerrero {
    min-height: 0 !important;
    height: 63vw;
    background-position: center !important;
  }

  .tel-bas { display: block; margin-top: 0.3rem; }
}
