/* ============================================
   Sophie Malfait — sophiemalfait.lu
   Design system mix-aquarelle Corpoream
   ============================================ */

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

:root {
  --teal: #1A5D68;
  --teal-light: #2A8090;
  --teal-pale: #E8F4F6;
  --gold: #9F790B;
  --gold-light: #D4A91E;
  --gold-pale: #FBF5E6;
  --navy: #0F2B4C;
  --text: #3A3A3A;
  --text-light: #6B7280;
  --bg-cream: #FDFBF7;
  --bg-warm: #F9F6F0;
  --sage: #7BA48E;
  --sage-pale: #E8F0EB;
  --rose: #C4A4B3;
  --rose-pale: #F5EDF1;
  --terre: #8B6F4E;
  --eau: #4A90A4;
  --air: #A8C5D6;
  --feu: #C4713B;
  --radius: 12px;
  --radius-lg: 24px;
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.08);
}

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: var(--bg-cream);
  overflow-x: hidden;
  line-height: 1.7;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  letter-spacing: 0.02em;
}

a { color: var(--teal); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--gold); }

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

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* === FLOATING DECORATIONS === */
.floating-leaf {
  position: fixed;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
  font-size: 100px;
}
.floating-leaf:nth-child(1) { top: 10%; left: 5%; animation: float1 20s ease-in-out infinite; }
.floating-leaf:nth-child(2) { top: 40%; right: 8%; font-size: 80px; animation: float2 25s ease-in-out infinite; }
.floating-leaf:nth-child(3) { bottom: 20%; left: 15%; animation: float1 30s ease-in-out infinite reverse; }

@keyframes float1 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(10deg); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(20px) rotate(-8deg); }
}

/* === NAVIGATION === */
.sophie-nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(159, 121, 11, 0.08);
  transition: box-shadow 0.3s;
}

.sophie-nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--teal);
  letter-spacing: 2px;
  font-weight: 500;
}

.nav-logo-sub {
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  display: block;
  margin-top: -3px;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}

.nav-links a:hover { color: var(--teal); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--teal); }

.nav-cta {
  display: inline-block;
  padding: 10px 24px;
  background: transparent;
  white-space: nowrap;
  border: 1.5px solid var(--teal);
  border-radius: 30px;
  color: var(--teal);
  font-size: 13px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Nunito', sans-serif;
  text-decoration: none;
}

.nav-cta:hover {
  background: var(--teal);
  color: white;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--teal);
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 40px 80px;
  position: relative;
  background: linear-gradient(180deg, var(--bg-cream) 0%, var(--teal-pale) 50%, var(--bg-cream) 100%);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 8px 24px;
  border: 1px solid var(--gold-light);
  border-radius: 30px;
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.hero h1 {
  font-size: 52px;
  color: var(--teal);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 300;
}

.hero p {
  font-size: 18px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 30px;
  line-height: 1.8;
  font-weight: 300;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-family: 'Nunito', sans-serif;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.4s;
  box-shadow: 0 8px 30px rgba(26, 93, 104, 0.2);
  text-decoration: none;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(26, 93, 104, 0.3);
  color: white;
}

.hero-secondary {
  display: inline-block;
  margin-left: 16px;
  padding: 16px 36px;
  background: transparent;
  border: 1.5px solid var(--teal);
  border-radius: 50px;
  color: var(--teal);
  font-size: 15px;
  font-family: 'Nunito', sans-serif;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.hero-secondary:hover {
  background: var(--teal);
  color: white;
}

/* === SECTIONS === */
.section {
  padding: 80px 40px;
  position: relative;
}

.section--warm { background: var(--bg-warm); }
.section--teal-pale { background: var(--teal-pale); }
.section--navy { background: var(--navy); color: white; }
.section--navy h2, .section--navy h3 { color: white; }
.section--navy p { color: rgba(255,255,255,0.7); }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 40px;
  color: var(--teal);
  margin-bottom: 12px;
}

.section--navy .section-header h2 { color: white; }

.section-header .divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 16px auto;
}

.section-header p {
  font-size: 16px;
  color: var(--text-light);
  max-width: 550px;
  margin: 0 auto;
  font-weight: 300;
}

/* === CONTENT BLOCKS === */
.content-block {
  max-width: 800px;
  margin: 0 auto;
}

.content-block h2 {
  font-size: 36px;
  color: var(--teal);
  margin-bottom: 20px;
}

.content-block h3 {
  font-size: 24px;
  color: var(--navy);
  margin-top: 40px;
  margin-bottom: 12px;
}

.content-block p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
  font-weight: 300;
}

.content-block ul, .content-block ol {
  margin: 16px 0;
  padding-left: 24px;
}

.content-block li {
  margin-bottom: 8px;
  font-weight: 300;
  line-height: 1.7;
}

/* === CARDS === */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.cards-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: var(--shadow);
  transition: all 0.3s;
}

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

.card-icon {
  margin-bottom: 16px;
  display: block;
}

.card-icon svg {
  width: 36px;
  height: 36px;
  stroke: var(--teal);
  stroke-width: 1.5;
  fill: none;
}

.card h3 {
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 8px;
}

.card p {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 300;
  line-height: 1.7;
}

.card-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* === SOIN CARDS === */
.soin-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: var(--shadow);
  transition: all 0.3s;
}

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

.soin-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.soin-card-header {
  padding: 24px 28px 16px;
}

.soin-card-header h3 {
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 4px;
}

.soin-card-subtitle {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 300;
  margin-bottom: 12px;
}

.soin-card-body {
  padding: 0 28px 20px;
}

.soin-card-body p {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 300;
  line-height: 1.7;
}

.soin-card-footer {
  padding: 16px 28px;
  border-top: 1px solid rgba(0,0,0,0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.soin-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  color: var(--teal);
  font-weight: 500;
}

.soin-duration {
  font-size: 13px;
  color: var(--text-light);
  background: var(--teal-pale);
  padding: 4px 12px;
  border-radius: 20px;
}

.soin-cta {
  display: inline-block;
  padding: 10px 24px;
  background: var(--teal);
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 13px;
  font-family: 'Nunito', sans-serif;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.soin-cta:hover {
  background: var(--teal-light);
  transform: translateY(-1px);
  color: white;
}

/* === FAQ ACCORDION === */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: var(--navy);
  font-weight: 500;
  transition: color 0.3s;
}

.faq-question:hover { color: var(--teal); }

.faq-question .faq-icon {
  font-size: 20px;
  color: var(--gold);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 24px;
}

.faq-answer p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
  font-weight: 300;
}

/* === ENGAGEMENT BOX === */
.engagement-box {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow);
  margin: 40px 0;
}

.engagement-box h3 {
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 16px;
}

.engagement-box ul {
  list-style: none;
  padding: 0;
}

.engagement-box li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  font-weight: 300;
}

.engagement-box li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 600;
}

/* === MODALITES BOX === */
.modalites-box {
  background: var(--teal-pale);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  margin: 40px 0;
}

.modalites-box h3 {
  font-size: 22px;
  color: var(--teal);
  margin-bottom: 16px;
}

.modalites-box ul {
  list-style: none;
  padding: 0;
}

.modalites-box li {
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
  font-size: 15px;
  font-weight: 300;
}

.modalites-box li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* === CAL.COM PLACEHOLDER === */
.booking-placeholder {
  background: white;
  border: 2px dashed rgba(26, 93, 104, 0.2);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  margin: 40px 0;
}

.booking-placeholder h3 {
  font-size: 24px;
  color: var(--teal);
  margin-bottom: 12px;
}

.booking-placeholder p {
  color: var(--text-light);
  font-weight: 300;
  margin-bottom: 20px;
}

.booking-placeholder .phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
}

.booking-placeholder .phone-link:hover { color: var(--gold); }

/* === PAYMENT INFO === */
.payment-info {
  background: var(--gold-pale);
  border-radius: var(--radius);
  padding: 20px 28px;
  margin: 24px 0;
  font-size: 14px;
}

.payment-info strong { color: var(--gold); }

.bank-info {
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius);
  padding: 20px 28px;
  margin: 16px 0;
  font-size: 14px;
}

.bank-info h4 {
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 8px;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
}

/* === PASSERELLE (subtle link to corpoream.fr) === */
.passerelle {
  margin: 60px auto;
  max-width: 700px;
  text-align: center;
  padding: 40px;
  background: linear-gradient(135deg, var(--teal-pale), var(--bg-warm));
  border-radius: var(--radius-lg);
}

.passerelle h3 {
  font-size: 22px;
  color: var(--teal);
  margin-bottom: 12px;
}

.passerelle p {
  font-size: 15px;
  color: var(--text-light);
  font-weight: 300;
  margin-bottom: 20px;
}

.passerelle-link {
  display: inline-block;
  padding: 10px 28px;
  border: 1px solid var(--teal);
  border-radius: 30px;
  color: var(--teal);
  font-size: 13px;
  letter-spacing: 1px;
  transition: all 0.3s;
  text-decoration: none;
}

.passerelle-link:hover {
  background: var(--teal);
  color: white;
}

/* === CONTACT SECTION === */
.contact-section {
  text-align: center;
}

.contact-info {
  max-width: 500px;
  margin: 0 auto;
}

.contact-info p {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 8px;
  font-weight: 300;
}

.contact-info .contact-phone {
  font-size: 24px;
  color: var(--teal);
  font-weight: 600;
  margin: 16px 0;
}

.contact-info .contact-address {
  font-style: italic;
  color: var(--text-light);
}

.contact-note {
  margin-top: 20px;
  padding: 16px 24px;
  background: var(--gold-pale);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--gold);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* === FOOTER === */
.sophie-footer {
  padding: 50px 40px;
  background: var(--navy);
  color: rgba(255,255,255,0.5);
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  color: white;
  margin-bottom: 6px;
  letter-spacing: 3px;
}

.footer-tagline {
  color: var(--gold-light);
  font-size: 11px;
  letter-spacing: 3px;
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover { color: white; }

.footer-passerelle {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-passerelle a {
  color: rgba(255,255,255,0.35);
  font-size: 12px;
  letter-spacing: 1px;
  text-decoration: none;
}

.footer-passerelle a:hover { color: var(--gold-light); }

/* === LEGAL PAGES === */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding-top: 120px;
  padding-bottom: 80px;
  min-height: 60vh;
}

.legal-content h1 {
  font-size: 40px;
  color: var(--teal);
  margin-bottom: 40px;
}

.legal-content h2 {
  font-size: 24px;
  color: var(--navy);
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-content p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 12px;
  font-weight: 300;
}

/* === PROGRAMS PAGE === */
.programs-hero {
  padding-top: 120px;
  padding-bottom: 60px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-cream), var(--sage-pale));
}

.program-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s;
}

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

.program-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--teal-pale), var(--sage-pale));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
}

.program-card-body {
  padding: 24px;
}

.program-card-body h3 {
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 8px;
}

.program-card-body p {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 300;
  line-height: 1.7;
}

/* === FADE IN ANIMATION === */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* === PAYMENT SUCCESS/CANCEL === */
.payment-result {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 40px;
}

.payment-result-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 60px;
  text-align: center;
  max-width: 500px;
  box-shadow: var(--shadow-lg);
}

.payment-result-icon {
  font-size: 60px;
  margin-bottom: 20px;
}

.payment-result-card h2 {
  font-size: 32px;
  color: var(--teal);
  margin-bottom: 16px;
}

.payment-result-card p {
  font-size: 16px;
  color: var(--text-light);
  font-weight: 300;
  margin-bottom: 24px;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .sophie-nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(253, 251, 247, 0.98);
    backdrop-filter: blur(20px);
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 16px; }
  .hero { padding: 100px 24px 60px; }
  .section { padding: 60px 24px; }
  .section-header h2 { font-size: 32px; }
  .cards-grid { grid-template-columns: 1fr; }
  .cards-grid-3 { grid-template-columns: 1fr; }
  .content-block h2 { font-size: 28px; }
  .hero-secondary { margin-left: 0; margin-top: 12px; display: block; }
  .engagement-box { padding: 28px 24px; }
  .modalites-box { padding: 24px; }
  .soin-card-footer { flex-direction: column; gap: 12px; align-items: flex-start; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 30px; }
  .section-header h2 { font-size: 28px; }
  .faq-question { font-size: 17px; }
  .footer-links { flex-direction: column; gap: 12px; }
}
