/* ============================================================
   Dra. Liliane Bastos — Design tokens (manual de marca oficial)
   ============================================================ */

@font-face { font-family: "LT Museum"; src: url("../fonts/LTMuseum-Light.ttf") format("truetype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "LT Museum"; src: url("../fonts/LTMuseum-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "LT Museum"; src: url("../fonts/LTMuseum-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Lato"; src: url("../fonts/Lato-Light.ttf") format("truetype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Lato"; src: url("../fonts/Lato-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Lato"; src: url("../fonts/Lato-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Senja Santuy"; src: url("../fonts/SenjaSantuy.otf") format("opentype"); font-display: swap; }

:root {
  /* Manual de marca — cores oficiais (blocos sólidos, sem degradê) */
  --burgundy: #3f0404;
  --canela: #893d2e;
  --amendoa: #c4ab9f;
  --mocha: #82675b;
  --papel: #e9e3dd;
  --papel-light: #f3efe9;
  --umbu: #7c7859;

  --foreground: var(--burgundy);
  --muted-foreground: var(--mocha);
  --background: var(--papel);
  --card: var(--papel-light);
  --border: #ddd0c4;

  --font-display: "LT Museum", Georgia, serif;
  --font-body: "Lato", -apple-system, sans-serif;
  --font-hand: "Senja Santuy", cursive;

  --radius: 0.9rem;
  --shadow-soft: 0 4px 30px -8px rgba(137, 61, 46, 0.12);
  --shadow-elegant: 0 20px 50px -20px rgba(137, 61, 46, 0.18);
  --container: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--foreground);
  background: var(--background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
/* Segurança: qualquer <svg> sem width/height HTML nem classe própria de
   tamanho nunca deve cair no padrão gigante do navegador. Especificidade
   baixa de propósito, para qualquer classe de ícone específica vencer. */
svg { width: 1em; height: 1em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(233, 227, 221, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(63, 4, 4, 0.06);
  transition: background .3s;
}
.site-header.overlay { background: transparent; border-color: transparent; }
.site-header.overlay .brand-text .name,
.site-header.overlay .main-nav a,
.site-header.overlay .menu-toggle { color: var(--papel-light); }
.site-header.overlay .brand-text .role { color: rgba(233,227,221,.7); }
.site-header.overlay .main-nav a:hover,
.site-header.overlay .main-nav a.active { color: var(--amendoa); border-color: var(--amendoa); }
.site-header.overlay.scrolled { background: rgba(233, 227, 221, 0.92); backdrop-filter: blur(10px); border-color: rgba(63,4,4,.06); }
.site-header.overlay.scrolled .brand-text .name,
.site-header.overlay.scrolled .menu-toggle { color: var(--foreground); }
.site-header.overlay.scrolled .brand-text .role { color: var(--muted-foreground); }
.site-header.overlay.scrolled .main-nav a { color: var(--foreground); opacity: .75; }
.site-header.overlay.scrolled .main-nav a:hover,
.site-header.overlay.scrolled .main-nav a.active { color: var(--canela); border-color: var(--canela); opacity: 1; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; padding-bottom: 1rem; }
.brand { display: flex; align-items: center; gap: .75rem; }
.brand img { height: 40px; width: auto; }
.logo-light { display: none; }
.site-header.overlay .logo-dark { display: none; }
.site-header.overlay .logo-light { display: block; }
.site-header.overlay.scrolled .logo-dark { display: block; }
.site-header.overlay.scrolled .logo-light { display: none; }
.brand-text { display: flex; flex-direction: column; }
.brand-text .name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--foreground); }
.brand-text .role { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-foreground); }

.main-nav { display: none; }
.main-nav ul { display: flex; gap: 2rem; }
.main-nav a { font-size: .9rem; color: var(--foreground); opacity: .75; padding-bottom: 4px; border-bottom: 2px solid transparent; transition: all .2s; }
.main-nav a:hover, .main-nav a.active { opacity: 1; color: var(--canela); border-color: var(--canela); }

.header-actions { display: flex; align-items: center; gap: .75rem; }
.menu-toggle { display: flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 50%; }
.menu-toggle:hover { background: rgba(63,4,4,.06); }
.btn.cta-desktop { display: none; }

.header-social { display: none; align-items: center; gap: .4rem; padding-right: .5rem; margin-right: .25rem; border-right: 1px solid rgba(63,4,4,.12); }
.header-social a { width: 2.1rem; height: 2.1rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--muted-foreground); transition: all .2s; }
.header-social a:hover { background: rgba(137,61,46,.08); color: var(--canela); }
.header-social svg { width: 1rem; height: 1rem; }
.site-header.overlay .header-social a { color: rgba(233,227,221,.75); }
.site-header.overlay .header-social { border-color: rgba(233,227,221,.2); }
.site-header.overlay .header-social a:hover { background: rgba(233,227,221,.1); color: var(--amendoa); }
.site-header.overlay.scrolled .header-social { border-color: rgba(63,4,4,.12); }
.site-header.overlay.scrolled .header-social a { color: var(--muted-foreground); }
.site-header.overlay.scrolled .header-social a:hover { background: rgba(137,61,46,.08); color: var(--canela); }

.header-social-mobile { display: flex; gap: .6rem; border: none; padding: 0; margin-right: 0; }
.header-social-mobile a { width: 2.6rem; height: 2.6rem; border-radius: 50%; background: rgba(137,61,46,.06); color: var(--muted-foreground); }
.header-social-mobile a:hover { background: rgba(137,61,46,.12); color: var(--canela); }
.header-social-mobile svg { width: 1.1rem; height: 1.1rem; }

@media (min-width: 1150px) {
  .header-social { display: flex; }
}

@media (min-width: 992px) {
  .main-nav { display: block; }
  .menu-toggle { display: none; }
  .btn.cta-desktop { display: inline-flex; }
}

/* mobile drawer */
.mobile-nav { position: fixed; inset: 0; z-index: 60; display: none; }
.mobile-nav.open { display: block; }
.mobile-nav .backdrop { position: absolute; inset: 0; background: rgba(63,4,4,.4); }
.mobile-nav .drawer {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(320px, 85vw);
  background: var(--papel-light); padding: 2rem 1.5rem; display: flex; flex-direction: column;
  box-shadow: var(--shadow-elegant);
}
.mobile-nav .drawer-close { align-self: flex-end; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.mobile-nav .drawer nav ul { display: flex; flex-direction: column; gap: .25rem; margin-top: 2rem; }
.mobile-nav .drawer nav a { display: block; padding: .85rem 1rem; border-radius: .7rem; font-size: 1rem; }
.mobile-nav .drawer nav a.active, .mobile-nav .drawer nav a:hover { background: rgba(137,61,46,.08); color: var(--canela); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 500; font-size: .95rem;
  padding: .85rem 1.75rem; border-radius: .8rem; transition: all .25s; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--canela); color: var(--papel-light); }
.btn-primary:hover { background: #78331f; box-shadow: var(--shadow-soft); }
.btn-outline { border: 2px solid var(--canela); color: var(--canela); background: transparent; }
.btn-outline:hover { background: var(--canela); color: var(--papel-light); }
.btn-outline-light { border: 2px solid rgba(233,227,221,.4); color: var(--papel-light); background: transparent; }
.btn-outline-light:hover { background: rgba(233,227,221,.12); }
.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- Sections / type ---------- */
.section { padding: 5rem 0; }
.section-alt { background: var(--papel-light); }
.section-dark { background: var(--burgundy); color: var(--papel-light); }
.eyebrow { display: inline-block; font-size: .8rem; letter-spacing: .3em; text-transform: uppercase; color: var(--canela); margin-bottom: 1rem; font-weight: 600; }
.section-dark .eyebrow { color: var(--amendoa); }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 1.25rem; }
.text-accent { color: var(--canela); }
.text-muted { color: var(--muted-foreground); }
.lede { font-size: 1.15rem; color: var(--muted-foreground); max-width: 640px; }
.divider { width: 60px; height: 3px; background: var(--canela); margin: 1.25rem auto; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; padding-top: 5rem; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg .scrim { position: absolute; inset: 0; }
.hero-bg .scrim-light { background: linear-gradient(to right, rgba(233,227,221,.96) 0%, rgba(233,227,221,.75) 45%, transparent 100%); }
.hero-bg .scrim-dark { background: linear-gradient(to right, rgba(63,4,4,.95) 0%, rgba(63,4,4,.78) 45%, rgba(63,4,4,.45) 100%); }
.hero-content { position: relative; z-index: 1; max-width: 640px; }
.hero-content .cred { margin: 1.25rem 0; color: var(--muted-foreground); }
.hero.dark .hero-content, .hero.dark .hero-content .cred { color: var(--papel-light); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.75rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2.5rem; }
.hero-badge { display: flex; gap: .75rem; align-items: center; }
.hero-badge .bar { width: 3px; height: 42px; background: var(--canela); border-radius: 2px; }
.hero-badge .label { font-size: .8rem; color: var(--muted-foreground); display: block; }
.hero-badge .value { font-family: var(--font-display); font-weight: 700; font-size: .95rem; }

.hero-sm { min-height: 55vh; }
.hero-sm .hero-content { max-width: 620px; color: var(--papel-light); }
.hero-sm p { color: rgba(233,227,221,.85); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 992px) { .grid-2 { grid-template-columns: 1fr 1fr; align-items: center; } }

.card { background: var(--card); border: 1px solid var(--border); border-radius: 1rem; padding: 1.75rem; transition: all .25s; }
.card:hover { border-color: rgba(137,61,46,.3); box-shadow: var(--shadow-soft); }
.icon-badge { width: 3.25rem; height: 3.25rem; border-radius: .9rem; background: var(--canela); color: var(--papel-light); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.icon-badge svg { width: 1.5rem; height: 1.5rem; }

.quote-card { background: var(--burgundy); color: var(--papel-light); border-radius: 1.5rem; padding: 2.5rem; }
.quote-card p { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.3rem; line-height: 1.6; }

.photo-frame { border-radius: 1.5rem; overflow: hidden; box-shadow: var(--shadow-elegant); }

/* ---------- Testimonials ---------- */
.testimonial-card { background: rgba(233,227,221,.05); border: 1px solid rgba(233,227,221,.1); border-radius: 1rem; padding: 2rem; transition: border-color .25s; }
.testimonial-card:hover { border-color: rgba(196,171,159,.3); }
.testimonial-card .quote-icon { width: 2.25rem; height: 2.25rem; color: rgba(196,171,159,.5); margin-bottom: 1.25rem; }
.testimonial-text { color: rgba(233,227,221,.9); font-style: italic; line-height: 1.65; margin-bottom: 1.5rem; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-author .avatar { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--canela); color: var(--papel-light); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; flex-shrink: 0; }
.testimonial-author strong { display: block; font-family: var(--font-display); color: var(--papel-light); font-weight: 700; font-size: .95rem; }
.testimonial-author .role { display: block; font-size: .8rem; color: rgba(233,227,221,.6); }

/* ---------- Pills / tags ---------- */
.pill { display: inline-flex; align-items: center; padding: .5rem 1.1rem; border-radius: 999px; font-size: .85rem; background: rgba(137,61,46,.06); color: var(--foreground); }
.pill-btn { padding: .6rem 1.1rem; border-radius: 999px; font-size: .9rem; font-weight: 500; background: var(--card); color: var(--muted-foreground); border: 1px solid var(--border); transition: all .2s; }
.pill-btn.active, .pill-btn:hover { background: var(--canela); color: var(--papel-light); border-color: var(--canela); }

/* ---------- Footer ---------- */
.site-footer { background: var(--burgundy); color: rgba(233,227,221,.85); padding: 4rem 0 2rem; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-logo { height: 46px; width: auto; margin-bottom: 1.25rem; }
.footer-grid h4 { font-family: var(--font-display); color: var(--amendoa); font-size: 1.05rem; margin-bottom: 1.1rem; }
.footer-grid nav ul { display: flex; flex-direction: column; gap: .65rem; }
.footer-grid a:hover { color: var(--amendoa); }
.footer-social { display: flex; gap: .6rem; margin-top: 1.5rem; }
.footer-social a { width: 2.6rem; height: 2.6rem; border-radius: 50%; background: rgba(233,227,221,.06); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: rgba(137,61,46,.7); }
.footer-social svg { width: 1.1rem; height: 1.1rem; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: 1rem; }
.footer-contact svg { width: 1rem; height: 1rem; margin-top: .2rem; flex-shrink: 0; }
.footer-emergency { border-top: 1px solid rgba(233,227,221,.1); margin-top: 3rem; padding-top: 2rem; }
.footer-emergency .box { background: rgba(233,227,221,.05); border-radius: .8rem; padding: 1rem 1.25rem; max-width: 640px; margin: 0 auto; font-size: .9rem; align-items: flex-start; gap: .6rem; text-align: left; }
.footer-emergency .box .inline-ico { margin-top: .15rem; }
.footer-bottom { border-top: 1px solid rgba(233,227,221,.1); margin-top: 2rem; padding-top: 2rem; display: flex; flex-direction: column; gap: 1rem; align-items: center; text-align: center; font-size: .85rem; color: rgba(233,227,221,.5); }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; bottom: 1.5rem; right: 1rem; z-index: 50; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-elegant); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 1.7rem; height: 1.7rem; fill: #fff; }

/* ---------- FAQ ---------- */
.faq-item { background: var(--card); border-radius: 1rem; border: 1px solid var(--border); overflow: hidden; margin-bottom: 1rem; }
.faq-q { width: 100%; padding: 1.25rem 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; text-align: left; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.faq-a { padding: 0 1.5rem 1.25rem; color: var(--muted-foreground); display: none; font-size: 1.05rem; line-height: 1.65; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-q svg { transition: transform .25s; flex-shrink: 0; }

/* ---------- utilities ---------- */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w { max-width: 640px; }
.mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.flex { display: flex; } .items-center { align-items: center; } .justify-center { justify-content: center; } .gap-2 { gap: 1rem; } .flex-wrap { flex-wrap: wrap; }

/* ---------- Inline topic icons (substitui emojis) ---------- */
.inline-ico { width: 1em; height: 1em; vertical-align: -0.15em; margin-right: .4em; display: inline-block; flex-shrink: 0; }
.topic-list { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.topic-list span, .badge-line { display: inline-flex; align-items: center; }
