/* ===== Delphine Viaud — Bras Droit Business & Agenda ===== */

:root {
  --sage: #5F7D73;
  --cream: #f6f1ea;
  --gold: #e6b73c;
  --charcoal: #2c2c2c;
  --terracotta: #d96a4a;

  --font-heading: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --max-width: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 1rem;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--sage); }
h3 { font-size: 1.25rem; }

@media (min-width: 900px) {
  .nowrap-desktop { white-space: nowrap; }
}

.highlight-marker {
  background-image: linear-gradient(120deg, var(--gold) 0%, var(--gold) 100%);
  background-repeat: no-repeat;
  background-size: 100% 0.4em;
  background-position: 0 88%;
  padding: 0 0.05em;
}

p { margin: 0 0 1rem; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.lede {
  font-size: 1.15rem;
  max-width: 640px;
}

/* ---- Header ---- */
.site-header {
  border-bottom: 1px solid rgba(44,44,44,0.08);
  position: sticky;
  top: 0;
  background: var(--cream);
  z-index: 50;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--charcoal);
  letter-spacing: 0.02em;
}

.logo span {
  position: relative;
  color: var(--sage);
  display: inline-block;
}

.logo span::after {
  content: "";
  position: absolute;
  left: -3%;
  right: -4%;
  bottom: -8px;
  height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 24' preserveAspectRatio='none'%3E%3Cpath d='M3,21 C60,14 145,9 217,2' stroke='%235F7D73' stroke-width='3.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}

.tagline-strip {
  background: var(--terracotta);
  color: #fff;
  text-align: center;
  padding: 0.6rem 1.5rem;
  font-size: 1rem;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

.tagline-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--cream);
  box-shadow: 0 2px 8px rgba(44,44,44,0.2);
  flex-shrink: 0;
}

@media (max-width: 560px) {
  .tagline-avatar { width: 56px; height: 56px; }
  .tagline-strip { font-size: 0.85rem; }
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  margin: 5px 0;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

nav.main-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--charcoal);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--sage);
  border-color: var(--sage);
}

nav.main-nav a.btn-primary,
nav.main-nav a.btn-primary:hover {
  color: #fff;
}

.btn {
  display: inline-block;
  text-decoration: none;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--terracotta);
  color: #fff;
  font-weight: 700;
}

.btn-primary:hover { opacity: 0.9; }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--sage);
  color: var(--sage);
}

.btn-outline:hover { background: var(--sage); color: #fff; }

.btn-gold {
  background: var(--cream);
  color: var(--charcoal);
  border: 1.5px solid var(--charcoal);
}

/* ---- Hero ---- */
.hero {
  padding: 5rem 0 4rem;
}

.hero .container {
  max-width: 760px;
}

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

/* ---- Sections ---- */
section { padding: 4rem 0; }

.section-alt {
  background: #ffffff;
}

.section-sage {
  background: var(--sage);
  color: #fff;
}
.section-sage h2 { color: var(--gold); }

.section-intro { max-width: 640px; margin-bottom: 2.5rem; }

/* ---- Cards / grid ---- */
.grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid-2x2 {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 720px) {
  .grid-2x2 { grid-template-columns: 1fr; }
}
.grid-2x2 .card {
  background: var(--cream);
}

/* ---- Service detail accordion ---- */
.service-toggle { margin-top: 0.5rem; }

.service-detail h3 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.service-detail h3:first-of-type { margin-top: 0; }

.service-detail .card h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.05rem;
  margin: 0 0 0.6rem;
}

.card h4.h4-terracotta {
  color: var(--terracotta);
  font-weight: 700;
}

.card h4.h4-bold {
  font-weight: 700;
}

.card h4.h4-sage {
  color: var(--sage);
  font-weight: 700;
}

.card h3.h3-sage {
  color: var(--sage);
  font-weight: 700;
}

.step-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0 2rem;
  position: relative;
}
@media (min-width: 721px) {
  .step-flow::before {
    content: "";
    position: absolute;
    top: 21px;
    left: 6%;
    right: 6%;
    height: 2px;
    background: rgba(95,125,115,0.25);
    z-index: 0;
  }
}
.step { text-align: center; position: relative; z-index: 1; }
.step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0 auto 0.6rem;
}
.step p { font-size: 0.88rem; margin: 0; line-height: 1.4; }

.card {
  background: #fff;
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(44,44,44,0.06);
  border: 1px solid rgba(44,44,44,0.06);
}

.card ul {
  padding-left: 1.1rem;
  margin: 1rem 0;
}
.card li { margin-bottom: 0.4rem; }

/* ---- Pricing ---- */
.price-tag {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--terracotta);
  margin: 0.5rem 0 1rem;
}

.badge {
  display: inline-block;
  background: var(--cream);
  color: var(--charcoal);
  border: 1px solid var(--charcoal);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

/* ---- Case studies ---- */
.case-study ul {
  padding-left: 1.1rem;
  margin: 0.5rem 0 1rem;
}
.case-study ul li { margin-bottom: 0.3rem; font-size: 0.95rem; }

.case-result {
  margin-top: 1.25rem;
  border: 1px solid rgba(95,125,115,0.3);
  border-radius: 10px;
  padding: 1.1rem 1.25rem 0.5rem;
  background: var(--cream);
}
.case-result h5 {
  color: var(--terracotta);
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 0.95rem;
  margin: 0 0 0.5rem;
}
.case-result ul { margin-top: 0; margin-bottom: 0.75rem; }

/* ---- Testimonials ---- */
.testimonial-grid {
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
}
.testimonial-full { grid-column: span 3; }

@media (max-width: 900px) {
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-full { grid-column: span 2; }
}
@media (max-width: 640px) {
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-full { grid-column: span 1; }
}

.testimonial {
  background: #fff;
  border-left: 4px solid var(--gold);
  border-radius: 4px;
  padding: 1.75rem 2rem;
  box-shadow: 0 1px 3px rgba(44,44,44,0.06);
}

.testimonial p.quote {
  font-style: italic;
  font-size: 1.02rem;
}

.testimonial .who {
  font-weight: 600;
  color: var(--sage);
  font-size: 0.92rem;
}

.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 0.5rem; }

/* ---- About ---- */
.about-photo-placeholder,
.about-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  object-fit: cover;
}

.about-photo-placeholder {
  background: linear-gradient(160deg, var(--sage), #4a6259);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-family: var(--font-heading);
  font-size: 3rem;
}

.about-grid-4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 3rem;
  align-items: start;
  margin-bottom: 3rem;
}

.about-col {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.about-grid-4 .book-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(44,44,44,0.1);
}

.perso-text h3,
.intro-text h3 { margin-top: 0; }

.perso-text li { margin-bottom: 0.5rem; }
.perso-text li:last-child { margin-bottom: 0; }

.perso-photos-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}
.perso-photos-row img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(44,44,44,0.1);
}

@media (max-width: 720px) {
  .about-grid-4 { grid-template-columns: 1fr; }
  .about-photo-placeholder,
  .about-photo,
  .about-grid-4 .book-photo { max-width: 260px; margin: 0 auto; }
}

blockquote.pull {
  border-left: 3px solid var(--terracotta);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--sage);
}

blockquote.pull-big {
  font-style: italic;
  font-size: 1.25rem;
}

/* ---- CTA band ---- */
.cta-band {
  background: var(--sage);
  color: #fff;
  text-align: center;
  padding: 4rem 0;
}
.cta-band h2 { color: var(--gold); }
.cta-band .lede { margin: 0 auto 2rem; }

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  text-align: center;
  flex-wrap: wrap;
}
.cta-band-inner h2 { margin-bottom: 1.25rem; }
.cta-photo {
  width: 220px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
  flex-shrink: 0;
}
@media (max-width: 720px) {
  .cta-band-inner { flex-direction: column; text-align: center; }
  .cta-photo { width: 180px; }
}

/* ---- Newsletter / Footer ---- */
.newsletter {
  background: var(--cream);
  padding: 3rem 0;
  border-top: 1px solid rgba(44,44,44,0.08);
  border-bottom: 1px solid rgba(44,44,44,0.08);
}
.newsletter .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.newsletter h3 { margin-bottom: 0.35rem; }
.newsletter p { margin: 0; color: rgba(44,44,44,0.75); }

footer.site-footer {
  background: var(--sage);
  color: #fff;
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-grid h4 {
  color: var(--gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer-grid a {
  display: block;
  text-decoration: none;
  color: #fff;
  opacity: 0.85;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}
.footer-grid a:hover { opacity: 1; color: var(--gold); }

.social-row {
  display: flex;
  gap: 1rem;
}
.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(246,241,234,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}
.social-row a:hover { background: var(--terracotta); border-color: var(--terracotta); }
.social-row svg { width: 18px; height: 18px; fill: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(246,241,234,0.15);
  padding-top: 1.5rem;
  font-size: 0.82rem;
  opacity: 0.65;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ---- FAQ ---- */
details {
  background: #fff;
  border-radius: 10px;
  padding: 1.1rem 1.4rem;
  margin-bottom: 0.9rem;
  border: 1px solid rgba(44,44,44,0.06);
}
summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--sage);
}
details p { margin-top: 0.8rem; margin-bottom: 0; }

/* ---- Quiz ---- */
.quiz-box {
  background: #fff;
  border-radius: 18px;
  padding: 2.5rem;
  box-shadow: 0 1px 3px rgba(44,44,44,0.08);
  border: 1px solid rgba(44,44,44,0.06);
  max-width: 640px;
  margin: 0 auto;
}

.quiz-progress {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 2rem;
}
.quiz-progress span {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(44,44,44,0.1);
  transition: background 0.2s ease;
}
.quiz-progress span.done { background: var(--terracotta); }

.quiz-step-label {
  font-size: 0.85rem;
  color: var(--sage);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.quiz-question {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.quiz-option {
  text-align: left;
  background: var(--cream);
  border: 1.5px solid rgba(44,44,44,0.1);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--charcoal);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
}
.quiz-option:hover {
  border-color: var(--sage);
  background: #fff;
  transform: translateX(2px);
}

.quiz-back {
  margin-top: 1.5rem;
  background: none;
  border: none;
  color: var(--sage);
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

.quiz-result-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.quiz-result-tag {
  display: inline-block;
  background: var(--cream);
  color: var(--charcoal);
  border: 1px solid var(--charcoal);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.quiz-result-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* ---- Responsive nav ---- */
@media (max-width: 780px) {
  .nav-toggle { display: block; }

  nav.main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(44,44,44,0.08);
    display: none;
  }
  nav.main-nav.open { display: block; }
  nav.main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
  }

  .newsletter .container { flex-direction: column; text-align: center; }
}
