/* ===================================
   Chloe Roussel - website-v3
   Sage green + zen design
   =================================== */

/* --- Custom Properties --- */
:root {
  --sage-900: #1f2a24;
  --sage-800: #2d3d33;
  --sage-700: #3f5445;
  --sage-600: #567a5e;
  --sage-500: #6f8a72;
  --sage-400: #93a88d;
  --sage-300: #a6b89f;
  --sage-200: #c8d5c3;
  --sage-100: #edf3ea;
  --sage-50: #f5f9f3;
  --sand: #f9f6ef;
  --sand-dark: #f0ebe0;
  --text: #243028;
  --text-light: #4a5e50;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(31, 42, 36, 0.06);
  --shadow-md: 0 8px 24px rgba(31, 42, 36, 0.1);
  --shadow-lg: 0 16px 40px rgba(31, 42, 36, 0.14);
  --radius: 18px;
  --radius-lg: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.06rem);
  color: var(--text);
  line-height: 1.65;
  background: var(--sage-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* --- Typography --- */
h1,
h2,
h3,
.brand {
  font-family: "Cormorant Garamond", serif;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  color: var(--sage-900);
}

h2 {
  font-size: clamp(1.8rem, 1.5rem + 1.5vw, 2.8rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  font-weight: 600;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--sage-700);
  transition: color var(--transition);
}

a:hover {
  color: var(--sage-900);
}

ul {
  margin: 0.5rem 0;
  padding-left: 1.2rem;
}

li {
  margin-bottom: 0.3rem;
}

/* --- Layout --- */
.container {
  width: min(1120px, 90%);
  margin: 0 auto;
}

.section-intro {
  max-width: 60ch;
  color: var(--text-light);
  margin-bottom: 2.5rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  background: var(--sage-700);
  color: var(--white);
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--sage-800);
  box-shadow: 0 6px 20px rgba(63, 84, 69, 0.25);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.btn-nav {
  white-space: nowrap;
  padding: 0.6rem 1.2rem;
  font-size: 0.88rem;
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(237, 243, 234, 0.88);
  border-bottom: 1px solid var(--sage-200);
  padding: 0.75rem 5%;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.brand {
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem);
  text-decoration: none;
  font-weight: 700;
  flex-shrink: 0;
}

.nav {
  display: flex;
  gap: 1.4rem;
  margin-left: auto;
}

.nav a {
  color: var(--sage-700);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  position: relative;
  padding: 0.2rem 0;
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--sage-500);
  border-radius: 1px;
  transition: width var(--transition);
}

.nav a:hover::after {
  width: 100%;
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--sage-700);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 75vh;
  display: grid;
  align-items: center;
  background: url("assets/images/bg-hero.webp") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(20, 30, 23, 0.78) 0%,
    rgba(20, 30, 23, 0.45) 50%,
    rgba(20, 30, 23, 0.2) 100%
  );
}

.hero-content {
  position: relative;
  color: var(--white);
  padding: 5rem 0 4rem;
}

.hero-content h1,
.hero-content p {
  color: var(--white);
}

.hero-content h1 {
  font-size: clamp(2.4rem, 2rem + 3vw, 4.5rem);
  max-width: 14ch;
  font-weight: 700;
  margin-bottom: 1rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.9;
  margin-bottom: 1rem;
}

.hero-sub {
  max-width: 52ch;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  line-height: 1.7;
  opacity: 0.92;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* --- About --- */
.about {
  padding: 5rem 0;
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(240px, 360px) 1fr;
  align-items: center;
}

.about img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.about h2 {
  margin-bottom: 1.2rem;
}

.formations {
  margin-top: 1.5rem;
  padding: 1.2rem 1.5rem;
  background: var(--sage-100);
  border-radius: var(--radius);
  border-left: 4px solid var(--sage-400);
}

.formations h3 {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.formations ul {
  margin: 0;
}

.formations li {
  font-size: 0.92rem;
  color: var(--text-light);
}

/* --- Services / Accompagnements --- */
.services {
  padding: 5rem 0;
}

.cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--white);
  border: 1px solid var(--sage-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.card-body {
  padding: 1.2rem 1.4rem 1.4rem;
}

.card-body h3 {
  margin-bottom: 0.5rem;
}

.card-promise {
  color: var(--text-light);
  font-size: 0.94rem;
}

.card-body ul {
  font-size: 0.9rem;
  color: var(--text-light);
}

.card-bonus {
  margin-top: 0.8rem;
  padding: 0.5rem 0.8rem;
  background: var(--sage-100);
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sage-700);
}

/* --- Process / Deroule --- */
.process {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--sand) 0%, var(--sage-50) 100%);
}

.process-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
}

.process-grid article {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  border: 1px solid var(--sage-200);
  transition: transform var(--transition), box-shadow var(--transition);
}

.process-grid article:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.process-number {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sage-100);
  color: var(--sage-700);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.process-grid p {
  color: var(--text-light);
  font-size: 0.94rem;
  margin: 0;
}

/* --- Pricing --- */
.pricing {
  padding: 5rem 0;
  display: grid;
  align-items: center;
  grid-template-columns: 1fr minmax(260px, 420px);
  gap: 3rem;
}

.price {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 2rem + 1.5vw, 3.5rem);
  font-weight: 700;
  color: var(--sage-700);
  line-height: 1.2;
}

.price-unit {
  font-size: 0.5em;
  font-weight: 500;
  color: var(--text-light);
}

.pricing-details {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.pricing-item {
  padding: 1rem 1.2rem;
  background: var(--sage-100);
  border-radius: 14px;
}

.pricing-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.pricing-item p {
  font-size: 0.92rem;
  color: var(--text-light);
  margin: 0;
}

.pricing img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* --- Testimonials --- */
.testimonials {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--sage-50) 0%, var(--sand) 100%);
}

.quotes {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
}

blockquote {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--sage-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

blockquote p {
  font-size: 0.94rem;
  color: var(--text-light);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
  margin: 0;
}

cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--sage-700);
}

/* --- FAQ --- */
.faq {
  padding: 5rem 0;
}

.faq-list {
  max-width: 740px;
}

details {
  border: 1px solid var(--sage-200);
  border-radius: 14px;
  background: var(--white);
  margin-bottom: 0.8rem;
  transition: box-shadow var(--transition);
}

details[open] {
  box-shadow: var(--shadow-sm);
}

summary {
  padding: 1.1rem 1.4rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.1rem, 1rem + 0.3vw, 1.3rem);
  font-weight: 600;
  color: var(--sage-900);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--sage-500);
  flex-shrink: 0;
  transition: transform var(--transition);
}

details[open] summary::after {
  transform: rotate(45deg);
}

details p {
  padding: 0 1.4rem 1.2rem;
  margin: 0;
  color: var(--text-light);
  font-size: 0.94rem;
  line-height: 1.7;
}

/* --- Contact --- */
.contact {
  padding: 5rem 0;
  background:
    linear-gradient(135deg, rgba(166, 184, 159, 0.15), rgba(111, 138, 114, 0.08)),
    var(--sage-50);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 400px);
  gap: 2.5rem;
  align-items: start;
}

.contact h2 {
  margin-bottom: 1.5rem;
}

.contact-info p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.contact-info strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  color: var(--sage-900);
  margin-bottom: 0.2rem;
}

.cta-box {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--sage-200);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.cta-box h3 {
  margin-bottom: 0.5rem;
}

.cta-box p {
  color: var(--text-light);
  font-size: 0.94rem;
  margin-bottom: 1.5rem;
}

.cta-box .btn {
  width: 100%;
}

/* --- Footer --- */
.site-footer {
  border-top: 1px solid var(--sage-200);
  text-align: center;
  padding: 1.5rem;
  font-size: 0.88rem;
  color: var(--text-light);
  background: var(--sage-50);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 600;
}

/* --- Fade-in animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===================================
   Responsive
   =================================== */

/* Tablet */
@media (max-width: 980px) {
  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .process-grid,
  .quotes {
    grid-template-columns: 1fr 1fr;
  }

  .about,
  .pricing,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about img {
    max-width: 320px;
    justify-self: center;
  }

  .pricing img {
    max-width: 480px;
    justify-self: center;
  }
}

/* Mobile */
@media (max-width: 720px) {
  .site-header {
    flex-wrap: wrap;
    padding: 0.7rem 4%;
  }

  .nav-toggle {
    display: flex;
    order: 2;
  }

  .btn-nav {
    order: 3;
  }

  .nav {
    display: none;
    width: 100%;
    order: 4;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
    border-top: 1px solid var(--sage-200);
    margin-top: 0.5rem;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--sage-100);
  }

  .nav a::after {
    display: none;
  }

  .hero {
    min-height: 65vh;
  }

  .hero-content {
    padding: 3rem 0;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    text-align: center;
  }

  .cards,
  .process-grid,
  .quotes {
    grid-template-columns: 1fr;
  }

  .about,
  .services,
  .process,
  .pricing,
  .testimonials,
  .faq,
  .contact {
    padding: 3.5rem 0;
  }

  .contact-grid {
    gap: 1.5rem;
  }

  .cta-box {
    padding: 1.5rem;
  }
}

/* Small mobile */
@media (max-width: 400px) {
  .container {
    width: 92%;
  }

  .brand {
    font-size: 1.3rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }
}
