/*
Theme Name: Nathan Sagefemme
Theme URI: https://nathansagefemme.com
Author: Cabinet Nathan Bitoun
Author URI: https://nathansagefemme.com
Description: Thème professionnel pour le cabinet de sage-femme Nathan Bitoun. Inclut blog, newsletter, et intégration n8n.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Private
Text Domain: nathansagefemme
*/

/* ============================================
   RESET & BASE
   ============================================ */
:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --grey: #f4f4f2;
  --grey-mid: #e8e8e4;
  --accent: #0a0a0a;
  --easing: cubic-bezier(0.16, 1, 0.3, 1);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Montserrat', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* ============================================
   PREMIUM SPLASH SCREEN ANIMATION
   Opens from middle → top & bottom reveal
   ============================================ */
.splash-screen {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.splash-screen::before,
.splash-screen::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 50%;
  background: #000;
  z-index: 1;
}

.splash-screen::before {
  top: 0;
  animation: slideUp 1.2s cubic-bezier(0.77, 0, 0.175, 1) 1.8s forwards;
}

.splash-screen::after {
  bottom: 0;
  animation: slideDown 1.2s cubic-bezier(0.77, 0, 0.175, 1) 1.8s forwards;
}

@keyframes slideUp {
  0% { transform: translateY(0); }
  100% { transform: translateY(-100%); }
}

@keyframes slideDown {
  0% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

.splash-content {
  text-align: center;
  color: #fff;
  opacity: 0;
  z-index: 2;
  position: relative;
  animation: contentFadeIn 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.3s forwards,
             contentFadeOut 0.6s cubic-bezier(0.23, 1, 0.32, 1) 1.8s forwards;
}

.splash-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 300;
  letter-spacing: 0.3em;
  color: #fff;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.splash-line {
  width: 120px;
  height: 1px;
  background: rgba(255,255,255,0.4);
  margin: 0 auto 24px;
  opacity: 0;
  animation: lineFadeIn 0.6s cubic-bezier(0.23, 1, 0.32, 1) 0.8s forwards;
}

.splash-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: clamp(16px, 2.5vw, 24px);
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.12em;
}

@keyframes contentFadeIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes contentFadeOut {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes lineFadeIn {
  0% { opacity: 0; width: 0; }
  100% { opacity: 1; width: 120px; }
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.1;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: var(--font-sans); }

/* ============================================
   LAYOUT
   ============================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

.section-tag {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-tag::before {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}
.section-tag.light { color: rgba(255,255,255,0.35); }

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: all 0.4s var(--easing);
}

#site-header.scrolled {
  padding: 14px 48px;
  border-bottom-color: rgba(0,0,0,0.1);
}

.site-logo {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
  line-height: 1.5;
}

#main-nav { display: flex; gap: 32px; align-items: center; }

#main-nav a {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: opacity 0.2s;
}
#main-nav a:hover { opacity: 0.45; }

.nav-rdv {
  border: 1px solid var(--black);
  padding: 10px 22px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all 0.3s var(--easing);
}
.nav-rdv:hover { background: var(--black); color: var(--white) !important; }

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--black);
  transition: all 0.3s;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
#hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 80px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  /* Office photo visible but with dark overlay */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  will-change: transform;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Dark overlay like original site - makes text readable */
  background: linear-gradient(
    to bottom, 
    rgba(0,0,0,0.5) 0%, 
    rgba(0,0,0,0.6) 50%,
    rgba(0,0,0,0.7) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

.hero-title {
  font-size: clamp(52px, 8vw, 110px);
  color: var(--white);
  line-height: 0.95;
  max-width: 850px;
}

.hero-subtitle {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.82);
  max-width: 420px;
  line-height: 1.85;
  letter-spacing: 0.03em;
}

.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  color: var(--black);
  padding: 16px 32px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all 0.4s var(--easing);
}
.btn-primary:hover { background: rgba(255,255,255,0.88); }
.btn-primary .arr { transition: transform 0.3s var(--easing); }
.btn-primary:hover .arr { transform: translateX(5px); }

.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  padding: 16px 24px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.38);
  transition: all 0.3s var(--easing);
}
.btn-ghost-light:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--black);
  color: var(--white);
  padding: 15px 32px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: opacity 0.3s;
}
.btn-dark:hover { opacity: 0.75; }

/* ============================================
   CABINET SECTION
   ============================================ */
#cabinet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 85vh;
}

.cabinet-text {
  padding: 140px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 36px;
}

.cabinet-title { font-size: clamp(34px, 3.5vw, 54px); }

.cabinet-desc {
  font-size: 15px;
  line-height: 1.95;
  color: rgba(0,0,0,0.58);
  max-width: 400px;
  font-weight: 300;
}

.expertises { border-top: 1px solid rgba(0,0,0,0.08); }

.expertise-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.exp-name {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.exp-tags {
  font-size: 11px;
  color: rgba(0,0,0,0.38);
  font-weight: 300;
}

.cabinet-img { overflow: hidden; }
.cabinet-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 10s var(--easing);
}
.cabinet-img:hover img { transform: scale(1.04); }

/* ============================================
   TOOLS SECTION
   ============================================ */
#espace-patient { /* Client: More spacing */
  padding: 140px 80px;
  background: var(--black);
  color: var(--white);
}

.tools-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
}

.tools-title { font-size: clamp(36px, 4vw, 54px); color: var(--white); }

.tools-note {
  font-size: 12px;
  color: rgba(255,255,255,0.38);
  max-width: 260px;
  line-height: 1.8;
  font-weight: 300;
  text-align: right;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.tool-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.3s;
}
.tool-card:hover { background: rgba(255,255,255,0.065); }

.tool-num {
  font-size: 9px;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.22);
  font-weight: 600;
}
.tool-name { font-family: var(--font-serif); font-size: 20px; color: var(--white); }
.tool-desc { font-size: 12px; color: rgba(255,255,255,0.38); line-height: 1.8; font-weight: 300; flex: 1; }

.tool-input {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  padding: 11px 14px;
  font-size: 12px;
  font-family: var(--font-sans);
  width: 100%;
  outline: none;
  transition: border-color 0.2s;
}
.tool-input::placeholder { color: rgba(255,255,255,0.22); }
.tool-input:focus { border-color: rgba(255,255,255,0.3); }

.tool-select {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  padding: 11px 14px;
  font-size: 12px;
  font-family: var(--font-sans);
  width: 100%;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.tool-select option { background: #111; }

.tool-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  padding: 12px 18px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  width: 100%;
  transition: all 0.3s var(--easing);
  margin-top: auto;
}
.tool-btn:hover { background: rgba(255,255,255,0.16); }

.tool-result {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  display: none;
  margin-top: 8px;
}

.timer-big {
  font-family: var(--font-serif);
  font-size: 44px;
  color: var(--white);
  text-align: center;
  padding: 12px 0;
}

.tracker-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-top: auto; }
.tracker-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.5);
  padding: 9px 6px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.2s;
}
.tracker-btn:hover { background: rgba(255,255,255,0.07); color: var(--white); }

/* ============================================
   BLOG SECTION
   ============================================ */
#blog {
  padding: 140px 80px;
  background: var(--white);
}

.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
}

.blog-title { font-size: clamp(36px, 4vw, 52px); }

.blog-view-all {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--black);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}
.blog-view-all:hover { opacity: 0.45; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

/* WordPress post cards */
.post-card {
  background: var(--grey);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: background 0.3s;
}
.post-card:hover { background: var(--grey-mid); }

.post-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.post-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s var(--easing);
}
.post-card:hover .post-card-img img { transform: scale(1.05); }

.post-card-body { padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 12px; flex: 1; }

.post-cat {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.38);
}

.post-title {
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.3;
  flex: 1;
}

.post-excerpt {
  font-size: 12px;
  color: rgba(0,0,0,0.5);
  line-height: 1.8;
  font-weight: 300;
}

.post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.post-date { font-size: 10px; color: rgba(0,0,0,0.35); font-weight: 300; }

.post-read {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s;
}
.post-card:hover .post-read { gap: 12px; }

/* Single post page */
.single-post-hero {
  padding-top: 100px;
  background: var(--black);
  color: var(--white);
  padding-bottom: 80px;
}
.single-post-hero .container { max-width: 860px; }

.post-content {
  max-width: 740px;
  margin: 80px auto;
  padding: 0 48px;
  font-size: 17px;
  line-height: 1.85;
  color: rgba(0,0,0,0.78);
  font-weight: 300;
}
.post-content h2 { font-size: 30px; margin: 48px 0 20px; color: var(--black); }
.post-content h3 { font-size: 22px; margin: 36px 0 16px; color: var(--black); }
.post-content p { margin-bottom: 24px; }
.post-content ul, .post-content ol { padding-left: 24px; margin-bottom: 24px; }
.post-content li { margin-bottom: 8px; }
.post-content blockquote {
  border-left: 2px solid var(--black);
  padding: 16px 24px;
  margin: 32px 0;
  font-family: var(--font-serif);
  font-size: 19px;
  color: var(--black);
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */
#newsletter {
  padding: 100px 80px;
  background: var(--black);
  color: var(--white);
}

.newsletter-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.newsletter-title { font-size: clamp(34px, 4vw, 52px); color: var(--white); }

.newsletter-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.85;
  font-weight: 300;
  max-width: 420px;
}

.newsletter-form {
  display: flex;
  width: 100%;
  max-width: 480px;
  gap: 0;
}

.newsletter-input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-right: none;
  color: var(--white);
  padding: 16px 20px;
  font-size: 13px;
  font-family: var(--font-sans);
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.3); }
.newsletter-input:focus { border-color: rgba(255,255,255,0.35); }

.newsletter-submit {
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--white);
  padding: 16px 28px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all 0.3s;
  white-space: nowrap;
}
.newsletter-submit:hover { background: rgba(255,255,255,0.88); }

.newsletter-msg {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  display: none;
}
.newsletter-msg.success { color: #7dffb3; display: block; }
.newsletter-msg.error { color: #ff8f8f; display: block; }

.newsletter-privacy {
  font-size: 10px;
  color: rgba(255,255,255,0.22);
  line-height: 1.7;
  font-weight: 300;
}

/* ============================================
   BOUTIQUE
   ============================================ */
#boutique {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
}

.boutique-img { overflow: hidden; }
.boutique-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 10s var(--easing); }
.boutique-img:hover img { transform: scale(1.04); }

.boutique-content {
  padding: 100px 80px;
  background: var(--grey);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}

.boutique-title { font-size: clamp(40px, 5vw, 62px); }
.boutique-desc { font-size: 14px; color: rgba(0,0,0,0.52); line-height: 1.9; max-width: 360px; font-weight: 300; }

.boutique-list { border-top: 1px solid rgba(0,0,0,0.08); }
.boutique-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.boutique-name { font-size: 12px; font-weight: 500; letter-spacing: 0.04em; }
.boutique-price { font-size: 11px; color: rgba(0,0,0,0.38); font-weight: 300; }
.boutique-download {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s var(--easing);
}
.boutique-download:hover { gap: 10px; opacity: 0.6; }

/* ============================================
   FAQ
   ============================================ */
#faq {
  padding: 140px 80px;
}

.faq-wrap {
  max-width: 920px;
  margin: 0 auto;
}

.faq-hd { margin-bottom: 72px; }
.faq-hd .section-tag { margin-bottom: 24px; }
.faq-big { font-size: clamp(36px, 4vw, 52px); }

.faq-list { border-top: 1px solid rgba(0,0,0,0.08); }
.faq-item { border-bottom: 1px solid rgba(0,0,0,0.08); overflow: hidden; }

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  cursor: pointer;
  gap: 24px;
}

.faq-q-text { font-size: 15px; font-weight: 500; flex: 1; line-height: 1.5; }

.faq-ico { width: 18px; height: 18px; flex-shrink: 0; transition: transform 0.4s var(--easing); }
.faq-item.open .faq-ico { transform: rotate(45deg); }

.faq-ans { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--easing); }
.faq-item.open .faq-ans { max-height: 300px; }
.faq-ans-text { font-size: 14px; color: rgba(0,0,0,0.52); line-height: 1.9; padding-bottom: 26px; font-weight: 300; max-width: 680px; }

/* ============================================
   TESTIMONIALS
   ============================================ */
#testimonials {
  padding: 140px 80px;
  background: var(--black);
  color: var(--white);
}

.testi-hd { margin-bottom: 64px; }
.testi-hd .section-tag { margin-bottom: 24px; }
.testi-title { font-size: clamp(36px, 4vw, 54px); color: var(--white); }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.07);
}

.testi-card {
  background: var(--black);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testi-stars { display: flex; gap: 4px; }
.star-ico { width: 11px; height: 11px; fill: rgba(255,255,255,0.55); }

.testi-quote {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--white);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
}

.testi-author {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 18px;
}
.testi-name { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.testi-role { font-size: 11px; color: rgba(255,255,255,0.32); margin-top: 4px; font-weight: 300; }

/* ============================================
   TIKTOK
   ============================================ */
#tiktok {
  padding: 140px 80px;
  text-align: center;
}

.tiktok-title { font-size: clamp(36px, 4vw, 54px); margin: 20px 0 12px; }
.tiktok-sub { font-size: 13px; color: rgba(0,0,0,0.4); margin-bottom: 44px; font-weight: 300; letter-spacing: 0.04em; }

/* ============================================
   FOOTER
   ============================================ */
#site-footer {
  background: var(--black);
  color: var(--white);
  padding: 72px 80px 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 32px;
}

.footer-brand h3 {
  font-size: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
}
.footer-brand p { font-size: 10px; color: rgba(255,255,255,0.32); letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; }
.footer-brand address { font-style: normal; font-size: 12px; color: rgba(255,255,255,0.28); margin-top: 12px; font-weight: 300; line-height: 1.7; }

.footer-nav { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.footer-nav a { font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.38); transition: color 0.2s; }
.footer-nav a:hover { color: var(--white); }

.footer-contact-row { display: flex; gap: 18px; margin-top: 10px; }
.footer-contact-row a { color: rgba(255,255,255,0.35); transition: color 0.2s; }
.footer-contact-row a:hover { color: var(--white); }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 10px; color: rgba(255,255,255,0.18); letter-spacing: 0.1em; text-transform: uppercase; }
.footer-email { font-size: 11px; color: rgba(255,255,255,0.18); font-weight: 300; }

/* ============================================
   ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--easing), transform 0.75s var(--easing);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  #site-header { padding: 18px 32px; }
  #main-nav .nav-links { display: none; }
  .menu-toggle { display: flex; }

  #hero { padding: 0 32px 64px; }
  #cabinet { grid-template-columns: 1fr; }
  .cabinet-img { min-height: 50vw; }
  .cabinet-text { padding: 72px 32px; }

  #espace-patient { padding: 80px 32px; }
  .tools-grid { grid-template-columns: 1fr 1fr; }
  .tools-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .tools-note { text-align: left; }

  #blog { padding: 80px 32px; }
  .blog-grid { grid-template-columns: 1fr; gap: 16px; }
  .blog-header { flex-direction: column; align-items: flex-start; gap: 16px; }

  #newsletter { padding: 80px 32px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-input { border-right: 1px solid rgba(255,255,255,0.15); }

  #boutique { grid-template-columns: 1fr; }
  .boutique-img { min-height: 50vw; }
  .boutique-content { padding: 72px 32px; }

  #faq { padding: 80px 32px; }
  #testimonials { padding: 80px 32px; }
  .testi-grid { grid-template-columns: 1fr; }

  #tiktok { padding: 80px 32px; }
  #site-footer { padding: 60px 32px 32px; }
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-nav { align-items: flex-start; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

@media (max-width: 640px) {
  .tools-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}
