/* ============================================================
   style.css — Sandrine Cloutier Sophrologue & Naturopathe
   Extrait de index.html et externalisé pour mise en cache
   ============================================================ */

/* ---- VARIABLES ---- */
:root {
  --green:        #d6eacc;  /* couleur principale verte douce */
  --cream:        #fffff1;  /* fond crème chaud */
  --green-dark:   #8aab78;  /* vert foncé pour accents */
  --green-mid:    #b0d49e;  /* vert intermédiaire */
  --green-deep:   #3d6b35;  /* vert profond pour textes */
  --text:         #2a3a26;  /* texte principal */
  --text-light:   #6b8060;  /* texte secondaire */
  --white:        #ffffff;
  --dark-section: #2a3a26;  /* sections sombres */
}

/* ---- RESET ---- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

/* ---- NAV ---- */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 0.1rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 241, 0.93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(214, 234, 204, 0.6);
}

.nav-logo img {
  height: 52px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover { color: var(--green-dark); }

.nav-cta {
  background: var(--green-dark) !important;
  color: var(--white) !important;
  padding: 0.6rem 1.4rem;
  border-radius: 2rem;
  transition: background 0.3s !important;
}

.nav-cta:hover { background: var(--dark-section) !important; }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 8rem 4rem 4rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, var(--cream) 0%, #f0f9e8 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -15%;
  right: -5%;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 234, 204, 0.45) 0%, transparent 70%);
  pointer-events: none;
}

.hero-text { max-width: 720px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 1.5rem;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--green-dark);
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--dark-section);
  margin-bottom: 1.5rem;
}

h1 em {
  font-style: italic;
  color: var(--green-dark);
  font-weight: 700;
}

.hero-sub {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---- BOUTONS ---- */
.btn-primary {
  background: var(--green-dark);
  color: var(--white);
  padding: 1rem 2.2rem;
  border-radius: 3rem;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: all 0.3s;
  border: 2px solid var(--green-dark);
}

.btn-primary:hover {
  background: var(--dark-section);
  border-color: var(--dark-section);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(42, 58, 38, 0.2);
}

.btn-secondary {
  background: transparent;
  color: var(--green-dark);
  padding: 1rem 2.2rem;
  border-radius: 3rem;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: all 0.3s;
  border: 2px solid var(--green-mid);
}

.btn-secondary:hover {
  border-color: var(--green-dark);
  background: var(--green);
}

/* ---- HERO VISUAL ---- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-portrait {
  width: 440px;
  height: 560px;
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
  position: relative;
  z-index: 1;
  animation: morphBlob 8s ease-in-out infinite;
  overflow: hidden;   /* ← cette ligne doit être présente */
}

.hero-portrait-inner {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: none;        /* ← change ici : remplace tout ce qu'il y a par "none" */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;        /* ← ajoute cette ligne si absente */
}

@keyframes morphBlob {
  0%, 100% { border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%; }
  33%       { border-radius: 40% 60% 30% 70% / 60% 40% 50% 50%; }
  66%       { border-radius: 70% 30% 50% 50% / 40% 70% 30% 60%; }
}

.portrait-placeholder {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--green-deep);
  text-align: center;
  padding: 2rem;
}

.hero-badge {
  position: absolute;
  bottom: 10%;
  left: -2rem;
  background: var(--white);
  padding: 1rem 1.4rem;
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(42, 58, 38, 0.12);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  z-index: 2;
  animation: float 4s ease-in-out infinite;
  border: 1px solid var(--green);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.badge-icon { font-size: 1.6rem; }

.badge-text {
  font-size: 0.75rem;
  line-height: 1.4;
}

.badge-text strong {
  display: block;
  font-weight: 500;
  color: var(--dark-section);
}

.badge-text span {
  color: var(--text-light);
  font-size: 0.7rem;
}

.hero-dots {
  position: absolute;
  top: 10%;
  right: -1rem;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, 6px);
  gap: 6px;
}

.hero-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-mid);
}

/* ---- STATS ---- */
.stats {
  background: var(--dark-section);
  padding: 3rem 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 600;
  color: var(--green);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.4rem;
}

/* ---- SECTIONS ---- */
.section { padding: 6rem 4rem; }

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-dark);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.section-eyebrow::after {
  content: '';
  display: block;
  width: 3rem;
  height: 1px;
  background: var(--green-dark);
}

h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--dark-section);
  margin-bottom: 1rem;
}

h2 em {
  font-style: italic;
  color: var(--green-dark);
}

/* ---- ABOUT ---- */
.about {
  background: var(--green);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-img {
  height: 500px;
  border-radius: 2rem;
  background: linear-gradient(to bottom, var(--green-mid), var(--green-dark));
  position: relative;
  overflow: hidden;
}

.about-img::after {
  content: '🌿';
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  font-size: 4rem;
  opacity: 0.25;
}

.about-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--green-deep);
  border-left: 3px solid var(--green-dark);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  line-height: 1.6;
}

.about-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 1rem;
}

/* ---- SERVICES ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--white);
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  border: 1px solid var(--green);
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-dark), var(--green-mid));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(42, 58, 38, 0.1);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--dark-section);
  margin-bottom: 0.8rem;
}

.service-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-light);
}

.service-price {
  display: inline-block;
  margin-top: 1.2rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--green-dark);
  background: var(--green);
  padding: 0.3rem 0.9rem;
  border-radius: 2rem;
}

/* ---- HARMONIE FÉMININE ---- */
.harmonie {
  background: var(--dark-section);
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.harmonie h2 { color: var(--green); }
.harmonie .section-eyebrow { color: var(--green-mid); }
.harmonie .section-eyebrow::after { background: var(--green-mid); }

.harmonie p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.harmonie-list { list-style: none; }

.harmonie-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(214, 234, 204, 0.15);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.harmonie-list li::before {
  content: '✦';
  color: var(--green);
  font-size: 0.6rem;
}

.harmonie-visual {
  height: 500px;
  border-radius: 2rem;
  background: linear-gradient(145deg, rgba(214, 234, 204, 0.15), rgba(138, 171, 120, 0.25));
  border: 1px solid rgba(214, 234, 204, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.harmonie-visual-inner {
  text-align: center;
  padding: 2rem;
}

.harmonie-visual-inner .big-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 7rem;
  font-weight: 300;
  color: var(--green);
  line-height: 1;
  display: block;
}

.harmonie-visual-inner span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---- TARIFS ---- */
.tarifs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.tarif-item {
  background: var(--cream);
  border: 1px solid var(--green);
  border-radius: 1.2rem;
  padding: 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s;
}

.tarif-item:hover {
  border-color: var(--green-dark);
  background: var(--green);
}

.tarif-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark-section);
}

.tarif-detail {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.2rem;
}

.tarif-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--green-dark);
  white-space: nowrap;
}

/* ---- PACKS ---- */
.packs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.pack-card {
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  transition: transform 0.3s;
}

.pack-card:hover { transform: translateY(-4px); }

.pack-card.pack-1 { background: var(--green); border: 2px solid var(--green-mid); }
.pack-card.pack-2 { background: var(--cream); border: 2px solid var(--green-dark); }
.pack-card.pack-3 { background: var(--dark-section); color: var(--white); border: 2px solid var(--green-dark); }

.pack-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
  color: var(--dark-section);
}

.pack-card.pack-3 h3 { color: var(--green); }

.pack-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  opacity: 0.8;
  margin-bottom: 1.5rem;
}

.pack-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--green-dark);
}

.pack-card.pack-3 .pack-price { color: var(--green); }

/* ---- TÉMOIGNAGES ---- */
.temoignages { background: var(--green); }

.temoignages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.temoignage {
  background: var(--white);
  border-radius: 1.2rem;
  padding: 2rem;
  box-shadow: 0 2px 20px rgba(42, 58, 38, 0.06);
  border: 1px solid rgba(214, 234, 204, 0.5);
}

.temo-stars {
  color: var(--green-dark);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.temo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--dark-section);
  margin-bottom: 1.2rem;
}

.temo-author {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ---- CONTACT ---- */
.contact { background: var(--cream); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  margin-top: 3rem;
  align-items: start;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  border: 1px solid var(--green-mid);
}

.contact-item-text strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--dark-section);
  margin-bottom: 0.2rem;
}

.contact-item-text span {
  font-size: 0.9rem;
  color: var(--text-light);
}

.contact-item-text a {
  color: var(--green-dark);
  text-decoration: none;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 1px solid var(--green);
  border-radius: 0.8rem;
  background: var(--white);
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus { border-color: var(--green-dark); }

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.form-submit {
  background: var(--green-dark);
  color: var(--white);
  padding: 1rem 2.5rem;
  border-radius: 3rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  align-self: flex-start;
}

.form-submit:hover {
  background: var(--dark-section);
  transform: translateY(-2px);
}

/* ---- FOOTER ---- */
footer {
  background: var(--dark-section);
  color: rgba(255, 255, 255, 0.5);
  padding: 2.5rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

footer img { height: 40px; filter: none; }

footer p { font-size: 0.8rem; }
footer a { color: var(--green-mid); text-decoration: none; }

/* ---- ANIMATIONS ---- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- BURGER (caché sur desktop) ---- */
.burger { display: none; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {

  /* NAV */
  nav {
    padding: 0.5rem 1.5rem;
    flex-wrap: wrap;
    gap: 0.8rem;
  }
  .nav-logo img {
    width: 180px !important;
    height: auto !important;
  }
  .nav-links {
    display: none;
  }

  /* BURGER */
  .burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
  }
  .burger span {
    display: block;
    width: 25px;
    height: 2px;
    background: #2a3a26;
    border-radius: 2px;
    transition: all 0.3s;
  }
  .burger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .burger.open span:nth-child(2) {
    opacity: 0;
  }
  .burger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .nav-links.open {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    background: #fffff1;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 99;
  }
  .nav-links.open a {
    font-size: 1.3rem;
  }

  /* HERO */
  .hero {
    grid-template-columns: 1fr;
    padding: 7rem 1.5rem 3rem;
    text-align: center;
    min-height: auto;
  }
  .hero-text { max-width: 100%; }
  .hero-eyebrow {
    font-size: 0.85rem !important;
    white-space: normal !important;
    justify-content: center;
  }
  h1 { font-size: 2rem; }
  .hero-sub {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons { justify-content: center; }
  .hero-visual { display: none; }

  /* SECTIONS */
  .about,
  .harmonie,
  .contact-grid {
    grid-template-columns: 1fr;
    padding: 5rem 1.5rem 3rem;
  }
  .stats {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
  }
  .services-grid,
  .packs-grid,
  .temoignages-grid { grid-template-columns: 1fr; }
  .section { padding: 4rem 1.5rem; }

  /* FOOTER */
  footer {
    padding: 2rem 1.5rem;
    flex-direction: column;
    text-align: center;
  }
}
