/* ============================================
   TANIA.EZ — LANDING VSL
   Grafite noir / crème / rouge accent / gris technique
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow+Condensed:wght@500;600;700&family=Inter:wght@400;500;600&family=Playfair+Display:ital,wght@1,700&display=swap');

:root {
  --noir: #141414;
  --creme: #F5F1E6;
  --rouge: #BF190B;
  --gris: #6B6B62;
  --creme-dim: #E8E2D0;
  --noir-soft: #1E1E1C;

  --f-display: 'Bebas Neue', sans-serif;
  --f-label: 'Barlow Condensed', sans-serif;
  --f-body: 'Inter', sans-serif;

  --max-w: 1180px;
  --pad: clamp(20px, 5vw, 64px);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--creme);
  color: var(--noir);
  font-family: var(--f-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* -------- Utility: technical eyebrow label -------- */
.label {
  font-family: var(--f-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--rouge);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.label::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--rouge);
  display: inline-block;
}

/* -------- Section base -------- */
section {
  padding: clamp(64px, 10vw, 120px) 0;
  position: relative;
}

.section-head {
  margin-bottom: clamp(36px, 6vw, 64px);
  max-width: 640px;
}

.section-head h2 {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: 0.005em;
  margin-top: 14px;
  color: var(--noir);
}

/* Dimension-line divider — technical drawing motif (signature element) */
.dim-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gris);
  font-family: var(--f-label);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dim-line .tick { width: 1px; height: 8px; background: var(--gris); }
.dim-line .run { flex: 1; height: 1px; background: var(--gris); opacity: 0.4; }

/* ============ HEADER / NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 241, 230, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(20,20,20,0.08);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo-img { height: 42px; width: auto; display: block; }
.nav-buttons { display: flex; align-items: center; gap: 12px; }
.nav-email-btn,
.nav-cta-btn {
  padding: 10px 18px;
  font-size: 0.76rem;
  line-height: 1;
  height: 38px;
  box-sizing: border-box;
}
.nav-email-btn { gap: 6px; }
.nav-email-btn svg { display: block; flex-shrink: 0; }
@media (max-width: 560px) {
  .nav-email-btn { padding: 8px 10px; }
  .nav-email-btn .nav-email-text { display: none; }
}

/* ============ HERO ============ */
.hero {
  padding-top: clamp(56px, 9vw, 96px);
  padding-bottom: clamp(56px, 9vw, 96px);
  background:
    linear-gradient(180deg, rgba(20,20,20,0.02), transparent 40%),
    var(--creme);
  position: relative;
  overflow: hidden;
}

/* subtle blueprint grid backdrop */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20,20,20,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,20,20,0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 72%);
  pointer-events: none;
}

.hero-flex {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.hero-inner {
  position: relative;
  max-width: 620px;
}

.hero-3d-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scene3d {
  width: 190px;
  height: 190px;
  perspective: 900px;
  cursor: grab;
  touch-action: none;
}
.scene3d:active { cursor: grabbing; }

.cube3d {
  width: 190px;
  height: 190px;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(-24deg) rotateY(35deg);
  will-change: transform;
}

.face {
  position: absolute;
  width: 190px;
  height: 190px;
  border: 1px solid var(--noir);
  background: rgba(245, 241, 230, 0.06);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 10px;
  box-sizing: border-box;
}
.face-mark {
  font-family: var(--f-label);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--rouge);
}

.face-front  { transform: translateZ(95px); }
.face-back   { transform: rotateY(180deg) translateZ(95px); border-color: var(--gris); opacity: 0.55; }
.face-right  { transform: rotateY(90deg) translateZ(95px); }
.face-left   { transform: rotateY(-90deg) translateZ(95px); border-color: var(--gris); opacity: 0.7; }
.face-top    { transform: rotateX(90deg) translateZ(95px); border-color: var(--rouge); }
.face-bottom { transform: rotateX(-90deg) translateZ(95px); border-color: var(--gris); opacity: 0.55; }

.drag-hint {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--f-label);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gris);
  opacity: 0.75;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .hero-flex {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-inner { max-width: 100%; margin: 0 auto; }
  .hero-3d-wrap {
    order: -1;
    max-width: 220px;
    margin: 0 auto 8px;
  }
  .scene3d, .cube3d, .face { width: 150px; height: 150px; }
  .face-front, .face-back, .face-right, .face-left, .face-top, .face-bottom { transform: none; }
  .face-front  { transform: translateZ(75px); }
  .face-back   { transform: rotateY(180deg) translateZ(75px); }
  .face-right  { transform: rotateY(90deg) translateZ(75px); }
  .face-left   { transform: rotateY(-90deg) translateZ(75px); }
  .face-top    { transform: rotateX(90deg) translateZ(75px); }
  .face-bottom { transform: rotateX(-90deg) translateZ(75px); }
}

.hero-eyebrow {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 22px;
}
@media (max-width: 860px) {
  .hero-eyebrow { justify-content: center; }
}

.hero h1 {
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0.002em;
  color: var(--noir);
}
.hero h1 .accent {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  color: var(--rouge);
}

.hero-sub {
  font-family: var(--f-body);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--gris);
  max-width: 480px;
  margin: 26px 0 0;
}
@media (max-width: 860px) {
  .hero-sub { margin: 26px auto 0; }
}

.hero-cta { margin-top: 40px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.86rem;
  padding: 16px 30px;
  border: 1px solid var(--noir);
  background: var(--noir);
  color: var(--creme);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}
.btn:hover { background: var(--rouge); border-color: var(--rouge); transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--rouge); outline-offset: 3px; }

.btn-outline {
  background: transparent;
  color: var(--noir);
  border: 1px solid var(--noir);
}
.btn-outline:hover { background: var(--noir); color: var(--creme); }

.btn-arrow::after { content: '→'; transition: transform 0.2s ease; }
.btn:hover .btn-arrow::after { transform: translateX(3px); }

/* ============ VSL ============ */
.vsl { background: var(--noir); color: var(--creme); }
.vsl .label { color: var(--rouge); }
.vsl .section-head { max-width: 100%; text-align: center; margin-left: auto; margin-right: auto; }
.vsl .section-head h2 { color: var(--creme); }
.vsl-note {
  text-align: center;
  font-family: var(--f-body);
  color: var(--creme-dim);
  opacity: 0.8;
  margin-top: 16px;
  font-size: 0.95rem;
}

.vsl-player {
  max-width: 860px;
  margin: 40px auto 0;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(245,241,230,0.18);
  position: relative;
  background: #0c0c0b;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vsl-player .play-icon {
  width: 78px; height: 78px;
  border-radius: 50%;
  border: 1px solid var(--creme);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}
.vsl-player .play-icon:hover { background: var(--rouge); border-color: var(--rouge); transform: scale(1.05); }
.vsl-player .play-icon svg { fill: var(--creme); margin-left: 4px; }
.vsl-player .corner {
  position: absolute;
  width: 18px; height: 18px;
  border-color: rgba(245,241,230,0.5);
  border-style: solid;
}
.corner.tl { top: 14px; left: 14px; border-width: 1px 0 0 1px; }
.corner.tr { top: 14px; right: 14px; border-width: 1px 1px 0 0; }
.corner.bl { bottom: 14px; left: 14px; border-width: 0 0 1px 1px; }
.corner.br { bottom: 14px; right: 14px; border-width: 0 1px 1px 0; }
.vsl-player .placeholder-tag {
  position: absolute;
  bottom: 14px; left: 50%; transform: translateX(-50%);
  font-family: var(--f-label);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gris);
}

.vsl-cta { text-align: center; margin-top: 36px; }

/* ============ EXPÉRIENCE ============ */
.credentials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(20,20,20,0.12);
  border: 1px solid rgba(20,20,20,0.12);
  margin-bottom: 56px;
}
.credential {
  background: var(--creme);
  padding: 28px 20px;
  text-align: center;
}
.credential .num {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--rouge);
  line-height: 1;
}
.credential .desc {
  font-family: var(--f-label);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gris);
  margin-top: 8px;
}

/* Version sombre des credentials, intégrée dans la section fondatrice */
.founder-credentials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(245,241,230,0.14);
  border: 1px solid rgba(245,241,230,0.14);
  margin-top: 32px;
  max-width: 460px;
}
.founder-credentials .credential {
  background: var(--noir);
  padding: 20px 12px;
  text-align: left;
}
.founder-credentials .credential .num { color: var(--rouge); font-size: clamp(1.7rem, 3vw, 2.2rem); }
.founder-credentials .credential .desc { color: var(--creme-dim); opacity: 0.8; }
.founder-credentials .credential-sub {
  font-family: var(--f-body);
  font-size: 0.72rem;
  color: var(--creme-dim);
  opacity: 0.6;
  margin-top: 4px;
}

/* ============ SERVICES ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(20,20,20,0.12);
  border: 1px solid rgba(20,20,20,0.12);
}
.service-card {
  background: var(--creme-dim);
  padding: 32px 26px;
  transition: background 0.25s ease;
}
.service-card:hover { background: var(--creme); }
.service-icon {
  width: 40px;
  height: 40px;
  color: var(--rouge);
  margin-bottom: 18px;
}
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 {
  font-family: var(--f-display);
  font-size: 1.4rem;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
  color: var(--noir);
}
.service-card p {
  font-size: 0.92rem;
  color: var(--gris);
  line-height: 1.5;
}

.missions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.mission-card {
  border: 1px solid rgba(20,20,20,0.14);
  padding: 28px 24px;
  background: var(--creme);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.mission-card:hover { border-color: var(--rouge); transform: translateY(-3px); }
.mission-tag {
  font-family: var(--f-label);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rouge);
}
.mission-card h3 {
  font-family: var(--f-display);
  font-size: 1.5rem;
  letter-spacing: 0.01em;
  margin-top: 10px;
  margin-bottom: 14px;
}
.mission-row {
  font-size: 0.9rem;
  color: var(--noir);
  margin-bottom: 8px;
  padding-left: 14px;
  border-left: 2px solid var(--gris);
}
.mission-row b {
  font-family: var(--f-label);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--gris);
  display: block;
  margin-bottom: 2px;
}

/* ============ FONDATRICE ============ */
.founder {
  background: var(--noir);
  color: var(--creme);
}
.founder-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.founder-photo {
  aspect-ratio: 4/5;
  overflow: hidden;
  border: 1px solid rgba(245,241,230,0.15);
  position: relative;
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.founder-photo::after {
  content: '';
  position: absolute; inset: 0;
  border: 1px solid rgba(191,25,11,0.5);
  transform: translate(10px, 10px);
  z-index: -1;
}
.founder-text .label { color: var(--rouge); margin-bottom: 18px; }
.founder-text h2 {
  font-family: var(--f-display);
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  line-height: 1.05;
  margin-bottom: 20px;
}
.founder-text p {
  color: var(--creme-dim);
  font-size: 1.02rem;
  max-width: 520px;
}
.founder-role {
  font-family: var(--f-label);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gris);
  margin-top: 22px;
}

/* ============ MÉTHODE ============ */
.methode-list { display: flex; flex-direction: column; }
.methode-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid rgba(20,20,20,0.14);
  align-items: baseline;
}
.methode-list .methode-item:last-child { border-bottom: 1px solid rgba(20,20,20,0.14); }
.methode-step {
  font-family: var(--f-display);
  font-size: 2.4rem;
  color: var(--rouge);
  line-height: 1;
}
.methode-item h3 {
  font-family: var(--f-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.methode-item p { color: var(--gris); font-size: 0.98rem; max-width: 560px; }

/* ============ POURQUOI / BÉNÉFICES ============ */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.includes-list { display: flex; flex-direction: column; gap: 18px; }
.includes-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.98rem;
}
.includes-item .mark {
  font-family: var(--f-display);
  color: var(--rouge);
  font-size: 1.1rem;
  line-height: 1.3;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.compare-table th {
  font-family: var(--f-label);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.7rem;
  color: var(--gris);
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--noir);
}
.compare-table td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(20,20,20,0.12);
  vertical-align: top;
}
.compare-table td:first-child { color: var(--gris); }
.compare-table td:last-child { font-weight: 500; }

/* ============ CALENDRIER ============ */
.calendrier { background: var(--creme-dim); }
.calendrier .section-head { max-width: 100%; text-align: center; margin-left: auto; margin-right: auto; }

.calendly-panel {
  max-width: 640px;
  margin: 0 auto;
  background: var(--noir);
  border: 1px solid rgba(20,20,20,0.14);
  padding: clamp(40px, 6vw, 64px) clamp(28px, 5vw, 56px);
  text-align: center;
}
.calendly-panel-text {
  color: var(--creme-dim);
  font-size: 1.02rem;
  max-width: 480px;
  margin: 0 auto;
}
.calendly-panel-highlight {
  font-family: var(--f-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
  color: var(--creme);
  margin-top: 24px;
}
.calendly-panel-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.calendly-open-btn,
.calendly-email-btn {
  flex: 0 1 220px;
  justify-content: center;
  margin-top: 0;
}
.calendly-open-btn {
  border: 1px solid var(--creme);
  background: var(--creme);
  color: var(--noir);
}
.calendly-open-btn:hover {
  background: var(--rouge);
  border-color: var(--rouge);
  color: var(--creme);
}
.calendly-email-btn {
  border: 1px solid var(--creme-dim);
  color: var(--creme);
  background: transparent;
  gap: 10px;
}
.calendly-email-btn:hover {
  border-color: var(--rouge);
  color: var(--rouge);
  background: transparent;
}
.calendly-panel-note {
  margin-top: 22px;
  font-family: var(--f-label);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--gris);
  font-style: italic;
}

/* ============ FAQ ============ */
.faq-list { border-top: 1px solid rgba(20,20,20,0.14); }
.faq-item { border-bottom: 1px solid rgba(20,20,20,0.14); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: var(--f-label);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--noir);
}
.faq-q .plus {
  font-family: var(--f-display);
  font-size: 1.4rem;
  color: var(--rouge);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--gris);
  font-size: 0.96rem;
  max-width: 680px;
}
.faq-item.open .faq-a { padding-bottom: 22px; }

/* ============ FOOTER CTA ============ */
.footer-cta { background: var(--noir); color: var(--creme); text-align: center; }
.footer-cta h2 {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-top: 16px;
}
.footer-cta-logo { height: 44px; width: auto; margin: 0 auto 24px; }
.footer-cta .label { justify-content: center; }
.footer-cta .btn { margin-top: 34px; }

footer.site-footer {
  padding: 28px var(--pad);
  text-align: center;
  font-family: var(--f-label);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gris);
  background: var(--noir);
  border-top: 1px solid rgba(245,241,230,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.footer-logo-img { height: 30px; width: auto; }

/* ============ SCALE-ON-SCROLL ============ */
.scale-in-view {
  transform: scale(0.8);
  transition: transform 0.4s ease-out;
}
.scale-in-view.is-scaled {
  transform: scale(1);
}

/* ============ AUTO-PLAY VIDEO (viewport-driven) ============ */
.auto-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .scale-in-view { transform: none; transition: none; }
}
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .credentials { grid-template-columns: repeat(2, 1fr); }
  .missions { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .founder-grid { grid-template-columns: 1fr; }
  .founder-credentials { margin-left: auto; margin-right: auto; }
  .founder-photo { max-width: 320px; margin: 0 auto; }
  .benefits-grid { grid-template-columns: 1fr; }
  .compare-table { font-size: 0.82rem; }
}

@media (max-width: 560px) {
  .credentials { grid-template-columns: 1fr 1fr; }
  .methode-item { grid-template-columns: 56px 1fr; gap: 14px; }
  .methode-step { font-size: 1.8rem; }
  .nav-logo { font-size: 1.1rem; }
  .compare-table { display: block; overflow-x: auto; white-space: nowrap; }
}
