/* ============================================
   Rose France Cartomancie — La Rose divinatoire
   ============================================ */

/* Playfair Display + Hanken Grotesk loaded via <link> in <head> for faster, non-blocking rendering */

:root{
  --beige: #F1E5D6;
  --beige-deep: #e7d6bf;
  --olive: #565100;
  --olive-deep: #403c00;
  --rose-pierre: #E88A75;
  --rose-apaisement: #C95A36;
  --noir: #14120c;
  --blanc: #FFFFFF;

  --font-serif: "Playfair Display", "Iowan Old Style", "Georgia", serif;
  --font-sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1180px;
  --radius: 4px;
}

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

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--beige);
  color: var(--noir);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a{ color: inherit; text-decoration: none; }

.wrap{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3{
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.01em;
}

p{ margin: 0; }

.section-label{
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose-apaisement);
  margin: 0 0 18px;
}
.section-label.light{ color: var(--rose-pierre); }

/* subtle grain overlay for warmth */
.grain{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn-primary{
  background: var(--olive);
  color: var(--beige);
}
.btn-primary:hover{ background: var(--noir); transform: translateY(-2px); }
.btn-ghost{
  background: transparent;
  color: var(--noir);
  border-color: currentColor;
}
.btn-ghost:hover{ background: var(--noir); color: var(--beige); transform: translateY(-2px); }
.btn-block{ width: 100%; }

.link-underline{
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

/* ---------- Header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(241, 229, 214, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(20,18,12,0.08);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark{ width: 40px; height: 40px; color: var(--olive); flex: none; }
.brand-mark img{ width: 100%; height: 100%; display: block; object-fit: contain; }
.brand-word{
  height: 34px;
  width: auto;
  display: block;
}

.nav{
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14.5px;
  font-weight: 500;
}
.nav a{
  position: relative;
  padding: 4px 0;
}
.nav a:not(.nav-cta){ color: var(--olive); }
.nav a:not(.nav-cta)::after{
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transition: right 0.25s ease;
}
.nav a:not(.nav-cta):hover::after{ right: 0; }
.nav-cta{
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  padding: 5px;
  border-radius: 999px;
  white-space: nowrap;
  flex: none;
}
.nav-cta .cta-label{
  background: var(--olive);
  color: var(--beige);
  padding: 9px 22px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  transition: background 0.25s ease;
}
.nav-cta .cta-icon{
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: var(--olive);
  color: var(--beige);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease;
}
.nav-cta .cta-icon svg{ width: 16px; height: 16px; }
.nav-cta:hover .cta-label,
.nav-cta:hover .cta-icon{ background: var(--noir); }

.nav-toggle{
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span{
  width: 22px;
  height: 1.5px;
  background: var(--noir);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Hero ---------- */
.hero{
  position: relative;
  background: var(--rose-apaisement);
  padding: 150px 0 130px;
  overflow: hidden;
  text-align: center;
}
.hero-pattern{
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-pattern span{
  position: absolute;
  background: rgba(241,229,214,0.10);
  border-radius: 6px;
}
.hero-pattern span:nth-child(1){ width: 150px; height: 190px; left: 4%;  top: 8%; }
.hero-pattern span:nth-child(2){ width: 110px; height: 150px; left: 16%; top: 42%; background: rgba(20,18,12,0.08); }
.hero-pattern span:nth-child(3){ width: 130px; height: 160px; left: 28%; top: 6%; }
.hero-pattern span:nth-child(4){ width: 190px; height: 150px; right: 6%;  top: 10%; }
.hero-pattern span:nth-child(5){ width: 130px; height: 170px; right: 22%; top: 46%; background: rgba(20,18,12,0.08); }
.hero-pattern span:nth-child(6){ width: 90px;  height: 120px; left: 2%;  bottom: 6%; }
.hero-pattern span:nth-child(7){ width: 140px; height: 110px; right: 3%; bottom: 4%; background: rgba(20,18,12,0.08); }
.hero-pattern span:nth-child(8){ width: 100px; height: 130px; left: 46%; bottom: -4%; }

.hero-inner{
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-badge{
  width: 132px;
  margin-bottom: 34px;
}
.hero h1{
  font-size: clamp(42px, 6.4vw, 68px);
  color: var(--beige);
}
.hero h1 em{
  font-style: italic;
  color: var(--beige);
}
.hero-lede{
  margin-top: 28px;
  max-width: 480px;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(241,229,214,0.78);
}
.hero-actions{
  margin-top: 40px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero .btn-primary{
  background: var(--beige);
  color: var(--noir);
}
.hero .btn-primary:hover{ background: var(--blanc); }
.hero .btn-ghost{
  color: var(--beige);
  border-color: rgba(241,229,214,0.5);
}
.hero .btn-ghost:hover{ background: var(--beige); color: var(--noir); }

.deco{
  position: absolute;
  pointer-events: none;
  user-select: none;
}

/* ---------- Manifesto ---------- */
.manifesto{
  position: relative;
  background: var(--olive);
  color: var(--beige);
  padding: 130px 0;
  overflow: hidden;
  text-align: center;
}
.manifesto-text{
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.4;
  max-width: 780px;
  margin: 0 auto;
}
.manifesto-text span{
  color: var(--rose-pierre);
  font-style: italic;
}
.deco-immortelle{
  width: 290px;
  height: auto;
  left: -50px;
  bottom: -25px;
  opacity: 0.85;
  transform: scaleX(-1) rotate(-10deg);
}

/* ---------- Forces ---------- */
.forces{ padding: 150px 0 130px; }
.forces h2{
  font-size: clamp(30px, 4vw, 46px);
  max-width: 620px;
  margin-bottom: 70px;
}
.force-list{
  list-style: none;
  margin: 0; padding: 0;
  border-top: 1px solid rgba(20,18,12,0.14);
}
.force-list li{
  display: flex;
  gap: 40px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(20,18,12,0.14);
  align-items: baseline;
}
.force-num{
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--rose-apaisement);
  flex: none;
  width: 32px;
}
.force-list h3{
  font-size: 22px;
  margin-bottom: 8px;
}
.force-list p{
  color: #4a4433;
  max-width: 560px;
  font-size: 15.5px;
}

/* ---------- Valeurs ---------- */
.valeurs{
  background: var(--blanc);
  padding: 130px 0;
}
.valeurs h2{
  font-size: clamp(30px, 4vw, 46px);
  max-width: 560px;
  margin-bottom: 64px;
}
.valeurs-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(20,18,12,0.1);
  border: 1px solid rgba(20,18,12,0.1);
}
.valeur-card{
  background: var(--blanc);
  padding: 44px 32px;
}
.valeur-icon{
  display: block;
  font-size: 20px;
  color: var(--rose-apaisement);
  margin-bottom: 22px;
}
.valeur-card h3{
  font-size: 22px;
  margin-bottom: 12px;
}
.valeur-card p{
  font-size: 14.5px;
  color: #4a4433;
}

/* ---------- Services ---------- */
.services{
  background: var(--noir);
  color: var(--beige);
  padding: 130px 0;
}
.services h2{
  font-size: clamp(30px, 4vw, 46px);
  margin-top: 4px;
}
.services-lede{
  margin-top: 18px;
  max-width: 560px;
  font-size: 16px;
  color: rgba(241,229,214,0.65);
}
.services-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 56px;
}
.service-card{
  border-radius: 18px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}
.service-card.tone-brown{ background: #2b1c13; }
.service-card.tone-olive{ background: var(--olive); }
.service-top{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.service-top h3{
  font-size: 23px;
  color: var(--beige);
  max-width: 240px;
}
.service-price{
  font-family: var(--font-serif);
  font-size: 27px;
  color: var(--rose-pierre);
  text-align: right;
  white-space: nowrap;
  flex: none;
}
.service-price span{
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(241,229,214,0.5);
  margin-top: 6px;
}
.service-desc{
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(241,229,214,0.72);
}
.service-link{
  margin-top: auto;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--rose-pierre);
  border-bottom: 1px solid currentColor;
  align-self: flex-start;
  padding-bottom: 2px;
}
.services-note{
  margin-top: 30px;
  font-size: 12.5px;
  color: rgba(241,229,214,0.4);
}

/* ---------- Quotes ---------- */
.quotes{
  background: var(--rose-apaisement);
  color: var(--beige);
  padding: 150px 0;
  text-align: center;
}
.quote-slider{
  position: relative;
  min-height: 180px;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.quote{
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(24px, 3.6vw, 36px);
  line-height: 1.4;
  margin: 0;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  pointer-events: none;
}
.quote.active{
  opacity: 1;
  transform: translateY(0);
  position: relative;
  pointer-events: auto;
}
.quote-dots{
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 50px;
}
.quote-dots button{
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(241,229,214,0.35);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}
.quote-dots button.active{
  background: var(--beige);
  transform: scale(1.3);
}

/* ---------- Pour qui ---------- */
.pourqui{
  background: var(--beige);
  padding: 130px 0;
}
.pourqui-inner{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}
.pourqui-text h2{
  font-size: clamp(28px, 3.6vw, 40px);
  margin: 4px 0 28px;
}
.pourqui-cards{
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.pourqui-card{
  background: var(--blanc);
  border-left: 3px solid var(--rose-apaisement);
  padding: 26px 30px;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.pourqui-quote{
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 19px;
}

/* ---------- Pratique / Contact ---------- */
.pratique{
  position: relative;
  background: var(--olive);
  color: var(--beige);
  padding: 140px 0;
  overflow: hidden;
}
.deco-marguerite{
  width: 190px;
  height: auto;
  right: 24px;
  top: -55px;
  opacity: 0.85;
  z-index: -1;
}
.pratique-inner{
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.pratique h2{
  font-size: clamp(30px, 4vw, 46px);
  margin: 4px 0 46px;
}
.info-list{ margin: 0; }
.info-list > div{
  padding: 22px 0;
  border-top: 1px solid rgba(241,229,214,0.2);
}
.info-list > div:last-child{ border-bottom: 1px solid rgba(241,229,214,0.2); }
.info-list dt{
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rose-pierre);
  margin-bottom: 6px;
}
.info-list dd{
  margin: 0;
  font-family: var(--font-serif);
  font-size: 19px;
}

.contact-card{
  position: relative;
  background: var(--beige);
  color: var(--noir);
  border-radius: 12px;
  padding: 44px;
}
.contact-card h3{
  font-size: 26px;
  margin-bottom: 10px;
}
.contact-card > p{
  font-size: 14.5px;
  color: #4a4433;
  margin-bottom: 28px;
}
.contact-form{
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-form label{
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b6450;
  margin-top: 14px;
}
.contact-form input,
.contact-form textarea{
  font-family: var(--font-sans);
  font-size: 15px;
  padding: 13px 14px;
  border: 1px solid rgba(20,18,12,0.2);
  border-radius: 6px;
  background: var(--blanc);
  color: var(--noir);
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus{
  outline: none;
  border-color: var(--rose-apaisement);
}
.contact-form button{ margin-top: 22px; }
.form-note{
  margin-top: 14px;
  font-size: 14px;
  min-height: 20px;
  color: var(--olive);
}

/* ---------- Footer ---------- */
.site-footer{
  background: var(--noir);
  color: var(--beige);
  padding: 60px 0 34px;
}
.footer-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(241,229,214,0.15);
}
.footer-brand{
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand .brand-mark{ color: var(--rose-pierre); }
.footer-mark{ width: 92px; height: 92px; }
.footer-nav{
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  font-size: 14px;
}
.footer-nav a:hover{ color: var(--rose-pierre); }
.footer-social{
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-social a{
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(241,229,214,0.3);
  color: var(--beige);
  transition: border-color 0.25s ease, color 0.25s ease;
}
.footer-social a:hover{
  color: var(--rose-pierre);
  border-color: var(--rose-pierre);
}
.footer-social svg{ width: 17px; height: 17px; }
.footer-legal{
  padding-top: 24px;
  font-size: 12.5px;
  color: rgba(241,229,214,0.55);
}

/* ---------- Reveal on scroll ---------- */
[data-reveal]{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
[data-reveal].is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px){
  .valeurs-grid{ grid-template-columns: repeat(2, 1fr); }
  .services-grid{ grid-template-columns: 1fr; }
  .pourqui-inner{ grid-template-columns: 1fr; gap: 44px; }
  .pratique-inner{ grid-template-columns: 1fr; gap: 54px; }
  .deco-marguerite{ display: none; }
}

@media (max-width: 760px){
  .wrap{ padding: 0 22px; }
  .nav{
    position: fixed;
    top: 71px; left: 0; right: 0;
    background: var(--beige);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 18px 22px 28px;
    border-bottom: 1px solid rgba(20,18,12,0.1);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .nav.open{
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav a{ width: 100%; padding: 12px 0; }
  .nav-cta{ margin-top: 10px; text-align: center; }
  .nav-toggle{ display: flex; }

  .hero{ padding: 120px 0 80px; }
  .hero-badge{ width: 96px; margin-bottom: 24px; }
  .hero-pattern span{ opacity: 0.7; }

  .manifesto{ padding: 90px 0; }
  .deco-immortelle{ width: 165px; }

  .forces{ padding: 100px 0; }
  .force-list li{ gap: 20px; }

  .valeurs{ padding: 90px 0; }
  .valeurs-grid{ grid-template-columns: 1fr; }

  .services{ padding: 90px 0; }
  .service-card{ padding: 28px; }
  .service-top{ flex-direction: column; }
  .service-price{ text-align: left; }

  .quotes{ padding: 100px 0; }

  .pourqui{ padding: 90px 0; }

  .pratique{ padding: 100px 0; }
  .contact-card{ padding: 30px; }

  .footer-inner{ flex-direction: column; align-items: flex-start; }
}

/* ---------- Legal page ---------- */
.legal{
  padding: 170px 0 120px;
}
.legal-inner{
  max-width: 760px;
}
.legal-inner h1{
  font-size: clamp(36px, 5vw, 52px);
  margin: 6px 0 40px;
}
.legal-inner h2{
  font-size: 22px;
  margin: 48px 0 14px;
}
.legal-inner h2:first-of-type{ margin-top: 0; }
.legal-inner p{
  font-size: 15.5px;
  line-height: 1.7;
  color: #4a4433;
}
.legal-inner .link-underline{ color: var(--rose-apaisement); }
.legal-updated{
  margin-top: 56px;
  font-size: 13px;
  color: #8a8266;
}

@media (max-width: 760px){
  .legal{ padding: 130px 0 90px; }
}
