/* ================================================================
   Cabinet Dentaire — Style public Caiazzo
   Thème CLAIR : Blanc / Gris doux / Teal — DM Serif Display + Outfit
================================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Outfit:wght@300;400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal:      #0ea5a0;
  --teal-lt:   #13c4be;
  --teal-dim:  rgba(14,165,160,.1);
  --teal-brd:  rgba(14,165,160,.25);
  --navy:      #1a2e4a;
  --navy2:     #253d5e;
  --white:     #ffffff;
  --bg:        #f7f9fc;
  --bg2:       #eef2f7;
  --text:      #1a2e4a;
  --text-sub:  #64748b;
  --text-dim:  #94a3b8;
  --border:    #e2e8f0;
  --shadow:    0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.1);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ───── HEADER ───── */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px; height: 70px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
  transition: box-shadow .3s;
}
.logo-link { text-decoration: none; display: flex; flex-direction: column; gap: 1px; }
.logo-name  {
  font-family: 'DM Serif Display', serif;
  font-size: 18px; color: var(--navy); line-height: 1; letter-spacing: .3px;
}
.logo-title {
  font-size: 10px; font-weight: 500; letter-spacing: 2px;
  text-transform: uppercase; color: var(--teal);
}
#site-header nav { display: flex; align-items: center; gap: 32px; }
#site-header nav a {
  font-size: 13.5px; font-weight: 400; color: var(--text-sub);
  text-decoration: none; letter-spacing: .2px; transition: color .2s;
}
#site-header nav a:hover { color: var(--teal); }
.btn-rdv {
  background: var(--teal); color: var(--white) !important;
  border: none; padding: 10px 24px; border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px; font-weight: 600;
  cursor: pointer; transition: all .22s; text-decoration: none !important;
  display: inline-block;
}
.btn-rdv:hover {
  background: var(--teal-lt);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(14,165,160,.3);
}
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.burger span {
  display: block; width: 22px; height: 2px;
  background: var(--navy); border-radius: 2px; transition: .3s;
}

/* ───── MOBILE NAV ───── */
.nav-mobile {
  display: none; flex-direction: column;
  position: fixed; top: 70px; left: 0; right: 0;
  background: var(--white);
  padding: 24px 32px 32px; gap: 20px;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg); z-index: 800;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 16px; color: var(--text-sub);
  text-decoration: none; font-weight: 400;
}

/* ───── HERO ───── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 60px 80px;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../images/banniere.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(255,255,255,.92) 0%,
    rgba(240,248,255,.82) 40%,
    rgba(14,165,160,.08) 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, black 20%, transparent 100%);
  opacity: .4;
}
.hero-circle {
  position: absolute; right: -140px; top: 50%;
  transform: translateY(-50%);
  width: 640px; height: 640px; border-radius: 50%;
  border: 1px solid rgba(14,165,160,.15);
  pointer-events: none;
}
.hero-circle::before {
  content: ''; position: absolute; inset: 60px; border-radius: 50%;
  border: 1px solid rgba(14,165,160,.1);
}
.hero-circle::after {
  content: ''; position: absolute; inset: 130px; border-radius: 50%;
  border: 1px solid rgba(14,165,160,.07);
}
.hero-content { position: relative; z-index: 2; max-width: 620px; }
.hero-grid, .hero-circle { z-index: 1; }
.hero-card { z-index: 3; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 28px;
  font-size: 11px; font-weight: 600; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--teal);
}
.eyebrow-bar { width: 30px; height: 1px; background: var(--teal); opacity: .7; }
.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 400; line-height: 1.08;
  letter-spacing: -1.5px; color: var(--navy); margin-bottom: 24px;
}
.hero h1 em { color: var(--teal); font-style: italic; }
.hero-sub {
  font-size: 16px; font-weight: 300; line-height: 1.78;
  color: var(--text-sub);
  max-width: 460px; margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.btn-hero-main {
  background: var(--teal); color: var(--white);
  border: none; padding: 15px 34px; border-radius: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px; font-weight: 600; text-decoration: none;
  cursor: pointer; transition: all .25s; display: inline-block;
  box-shadow: 0 4px 24px rgba(14,165,160,.3);
}
.btn-hero-main:hover {
  background: var(--teal-lt); color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(14,165,160,.45);
}
.btn-hero-ghost {
  background: transparent; color: var(--navy);
  border: 1.5px solid var(--border);
  padding: 15px 28px; border-radius: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px; font-weight: 500;
  cursor: pointer; transition: all .2s;
  text-decoration: none; display: inline-block;
}
.btn-hero-ghost:hover {
  border-color: var(--teal); color: var(--teal);
  background: var(--teal-dim);
}
.hero-trust {
  display: flex; gap: 32px; flex-wrap: wrap;
  margin-top: 52px; padding-top: 32px;
  border-top: 1px solid var(--border);
}
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-ico {
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--teal-dim); border: 1px solid var(--teal-brd);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.trust-text strong { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.trust-text span   { font-size: 12px; color: var(--text-dim); }

/* Floating card hero */
.hero-card {
  position: absolute; right: 80px; top: 50%;
  transform: translateY(-50%); z-index: 3; width: 272px;
}
.hcard {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 18px; padding: 22px;
  box-shadow: var(--shadow-lg);
}
.hcard-label { font-size: 10px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--text-dim); margin-bottom: 16px; }
.hcard-info-row {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 10px 0; border-bottom: 1px solid var(--border);
}
.hcard-info-row:last-of-type { border-bottom: none; }
.hcard-ico  { font-size: 16px; margin-top: 1px; }
.hcard-text { font-size: 12.5px; color: var(--text-sub); line-height: 1.55; }
.hcard-text strong { color: var(--navy); font-weight: 600; display: block; margin-bottom: 1px; }

/* Scroll cue */
.scroll-cue {
  position: absolute; bottom: 36px; left: 60px;
  display: flex; align-items: center; gap: 12px; z-index: 2;
  color: var(--text-dim); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
}
.scroll-line { width: 36px; height: 1px; background: var(--border); }

/* ───── SECTIONS BASE ───── */
.site-section { padding: 96px 60px; }
.section-eyebrow {
  font-size: 10px; font-weight: 600; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--teal); margin-bottom: 16px;
}
.section-h {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 400; line-height: 1.12;
  letter-spacing: -.6px; color: var(--navy); margin-bottom: 48px;
}
.section-h em { color: var(--teal); font-style: italic; }

/* ───── SOINS ───── */
#soins { background: var(--bg); }
.soins-intro {
  font-size: 16px; font-weight: 300; line-height: 1.78;
  color: var(--text-sub); max-width: 520px; margin-bottom: 52px;
}
.soins-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.soin-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px 26px;
  cursor: default; transition: all .28s; position: relative;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.soin-card:hover {
  border-color: var(--teal-brd);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(14,165,160,.12);
}
.soin-icon {
  width: 48px; height: 48px; border-radius: 13px;
  background: var(--teal-dim); border: 1px solid var(--teal-brd);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 18px;
}
.soin-name {
  font-family: 'DM Serif Display', serif;
  font-size: 19px; font-weight: 400; color: var(--navy);
  margin-bottom: 10px; line-height: 1.2;
}
.soin-desc { font-size: 13.5px; font-weight: 300; line-height: 1.68; color: var(--text-sub); }
.soin-tag {
  display: inline-block; margin-top: 16px;
  background: var(--teal-dim); border: 1px solid var(--teal-brd);
  color: var(--teal); font-size: 10.5px; font-weight: 600;
  padding: 4px 11px; border-radius: 100px; letter-spacing: .5px;
}

/* ───── DOCTEUR ───── */
#docteur { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; background: var(--white); }
.doc-visual { position: relative; aspect-ratio: 4/5; border-radius: 24px; overflow: hidden; }
.doc-photo {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  border-radius: 24px;
  transition: transform .6s ease;
}
.doc-visual:hover .doc-photo { transform: scale(1.03); }
.doc-photo-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg2) 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px;
}
.doc-initials {
  font-family: 'DM Serif Display', serif;
  font-size: 72px; font-weight: 400; color: var(--teal); opacity: .4; letter-spacing: -2px;
}
.doc-badge {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  background: rgba(255,255,255,.95); backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 14px; padding: 16px 18px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow);
}
.doc-badge-av {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--teal-dim); border: 2px solid var(--teal-brd);
  display: flex; align-items: center; justify-content: center;
  font-family: 'DM Serif Display', serif; font-size: 17px; color: var(--teal); flex-shrink: 0;
}
.doc-badge-name  { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 3px; }
.doc-badge-title { font-size: 11px; color: var(--teal); }
.doc-bio { font-size: 15.5px; font-weight: 300; line-height: 1.82; color: var(--text-sub); margin-bottom: 32px; }
.doc-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.doc-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; color: var(--text-sub); line-height: 1.5;
}
.doc-list li::before {
  content: ''; flex-shrink: 0;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--teal-dim); border: 1px solid var(--teal-brd);
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9l3 3 5-5' fill='none' stroke='%230ea5a0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
}

/* ───── BANDE AMBIANCE ───── */
.ambiance-band {
  width: 100%; height: 400px;
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.ambiance-img {
  position: absolute; inset: 0;
  background-image: url('../images/attente.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.ambiance-band:hover .ambiance-img { transform: scale(1.0); }
.ambiance-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(26,46,74,.65) 0%,
    rgba(14,165,160,.2) 50%,
    rgba(26,46,74,.6) 100%);
}
.ambiance-content {
  position: relative; z-index: 2;
  text-align: center; padding: 0 48px; max-width: 800px;
}
.ambiance-quote {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(22px, 2.8vw, 36px);
  font-style: italic; color: var(--white);
  line-height: 1.45; letter-spacing: -.3px;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.ambiance-quote em { color: #7ff0eb; font-style: normal; }
.ambiance-sub {
  font-size: 13px; font-weight: 400; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,.6);
}
.ambiance-line {
  width: 48px; height: 1px;
  background: var(--teal); opacity: .8;
  margin: 0 auto 16px;
}

/* ───── INFOS PRATIQUES ───── */
#infos { background: var(--bg); }
.infos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 56px; }
.info-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px 26px;
  transition: all .2s;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.info-card:hover { border-color: var(--teal-brd); box-shadow: 0 4px 20px rgba(14,165,160,.1); }
.info-card-icon  { font-size: 28px; margin-bottom: 16px; display: block; }
.info-card-title { font-family: 'DM Serif Display', serif; font-size: 17px; color: var(--navy); margin-bottom: 12px; }
.info-card-body  { font-size: 13.5px; font-weight: 300; line-height: 1.75; color: var(--text-sub); }
.info-card-body strong { color: var(--navy); font-weight: 500; }
.horaires-table { width: 100%; border-collapse: collapse; }
.horaires-table tr td { padding: 6px 0; font-size: 13.5px; border-bottom: 1px solid var(--border); }
.horaires-table tr:last-child td { border-bottom: none; }
.horaires-table td:first-child { color: var(--text-dim); }
.horaires-table td:last-child  { text-align: right; color: var(--navy); font-weight: 500; }
.closed { color: var(--text-dim) !important; }

/* Map */
.map-wrap { border-radius: 20px; overflow: hidden; border: 1px solid var(--border); height: 320px; position: relative; box-shadow: var(--shadow); }
.map-wrap iframe { width: 100%; height: 100%; border: none; display: block; filter: grayscale(10%); }
.map-overlay-card {
  position: absolute; top: 24px; left: 24px;
  background: rgba(255,255,255,.96); backdrop-filter: blur(16px);
  border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; max-width: 240px;
  box-shadow: var(--shadow);
}
.map-overlay-title { font-family: 'DM Serif Display', serif; font-size: 15px; color: var(--navy); margin-bottom: 6px; }
.map-overlay-addr  { font-size: 12.5px; color: var(--text-sub); line-height: 1.6; }
.map-overlay-teal  { color: var(--teal); font-weight: 500; }

/* ───── CTA BAND ───── */
.cta-band {
  padding: 80px 60px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  text-align: center;
}
.cta-band h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 4vw, 48px); font-weight: 400;
  letter-spacing: -.6px; color: var(--white); margin-bottom: 16px;
}
.cta-band p { font-size: 16px; color: rgba(255,255,255,.55); margin-bottom: 40px; }
.cta-btn-big {
  display: inline-block;
  background: var(--teal); color: var(--white);
  border: none; padding: 16px 48px; border-radius: 12px;
  font-family: 'Outfit', sans-serif; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: all .25s;
  box-shadow: 0 4px 24px rgba(14,165,160,.35); text-decoration: none;
}
.cta-btn-big:hover {
  background: var(--teal-lt); color: var(--white);
  transform: translateY(-2px); box-shadow: 0 8px 40px rgba(14,165,160,.5);
}
.cta-btn-ghost {
  display: inline-block;
  background: transparent; color: rgba(255,255,255,.75);
  border: 1.5px solid rgba(255,255,255,.25);
  padding: 16px 48px; border-radius: 12px;
  font-family: 'Outfit', sans-serif; font-size: 15px; font-weight: 500;
  cursor: pointer; transition: all .25s; text-decoration: none;
}
.cta-btn-ghost:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.45); color: var(--white); }

/* ───── FOOTER ───── */
#site-footer {
  padding: 44px 60px;
  border-top: 1px solid var(--border);
  background: var(--bg);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}
.footer-links { display: flex; gap: 28px; }
.footer-links a { font-size: 13px; color: var(--text-dim); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--teal); }
.footer-copy { font-size: 12px; color: var(--text-dim); }

/* ───── PULSE DOT ───── */
.pulse-dot {
  display: inline-block; width: 7px; height: 7px;
  border-radius: 50%; background: var(--teal);
  margin-right: 6px; vertical-align: middle;
  animation: pulse-anim 2.2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(14,165,160,.7);
}
@keyframes pulse-anim {
  0%   { box-shadow: 0 0 0 0 rgba(14,165,160,.7); }
  70%  { box-shadow: 0 0 0 8px rgba(14,165,160,0); }
  100% { box-shadow: 0 0 0 0 rgba(14,165,160,0); }
}

/* ───── SCROLL REVEAL ───── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }
.reveal-d5 { transition-delay: .5s; }

/* ───── PAGE CONTENU ───── */
.page-content {
  padding-top: 90px;
  min-height: calc(100vh - 90px);
  background: var(--bg);
}
.page-content .container,
.page-content .container-fluid { color: var(--text); }
.page-content .card           { border-radius: .85rem; border-color: var(--border); }
.page-content .btn-primary    { background: var(--teal); border-color: var(--teal); }
.page-content .btn-primary:hover { background: var(--teal-lt); border-color: var(--teal-lt); }
.page-content .text-primary   { color: var(--teal) !important; }
.page-content .border-primary { border-color: var(--teal) !important; }
.page-content .bg-primary     { background: var(--teal) !important; }
.page-content .form-check-input:checked { background-color: var(--teal); border-color: var(--teal); }

/* ───── RESPONSIVE ───── */
@media (max-width: 1100px) {
  .hero-card { display: none; }
  .hero h1 { font-size: 48px; }
  #docteur { grid-template-columns: 1fr; gap: 48px; padding: 96px 60px; }
  .doc-visual { aspect-ratio: 16/7; max-height: 340px; }
}
@media (max-width: 820px) {
  #site-header { padding: 0 24px; }
  #site-header nav { display: none; }
  .burger { display: flex; }
  .site-section { padding: 68px 24px; }
  .hero { padding: 96px 24px 60px; }
  .hero h1 { font-size: 36px; letter-spacing: -1px; }
  .soins-grid  { grid-template-columns: 1fr; }
  .infos-grid  { grid-template-columns: 1fr; }
  #docteur     { padding: 68px 24px; grid-template-columns: 1fr; }
  .hero-trust  { gap: 18px; }
  .cta-band    { padding: 56px 24px; }
  #site-footer { flex-direction: column; gap: 20px; padding: 32px 24px; }
  .footer-links { flex-direction: column; gap: 12px; }
  .scroll-cue  { left: 24px; }
}
