/* ============================
   Cássia Veras — Nutricionista
   ============================ */

:root {
  --teal: #26a69a;
  --teal-dark: #1f8b80;
  --teal-deep: #2d6e6a;
  --mint: #c8e6e2;
  --mint-bg: #eaf5f3;
  --cream: #fdf2e3;
  --cream-deep: #f9e6c8;
  --orange: #f5a623;
  --orange-dark: #d98e10;
  --yellow-star: #fbbc05;
  --text: #2d3748;
  --text-strong: #1a202c;
  --muted: #5b6470;
  --bg: #ffffff;
  --border: #e5e7eb;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.05);
  --shadow-md: 0 8px 24px rgba(0,0,0,.08);
  --radius-card: 24px;
  --radius-lg: 16px;
  --shape-big: clamp(60px, 9vw, 110px);
  --shape-small: 8px;
  --container: 1400px;
  --container-narrow: 1040px;
  --section-y: clamp(64px, 9vw, 120px);
  --font-body: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-heading: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 900px) { body { font-size: 18px; } }

img, picture, svg, iframe { display: block; max-width: 100%; height: auto; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-heading); font-weight: 700;
  line-height: 1.18; margin: 0 0 .5em; color: var(--text-strong);
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.3rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
strong { font-weight: 700; color: var(--text-strong); }

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

.skip { position: absolute; left: -9999px; background: var(--teal); color: #fff; padding: 8px 16px; z-index: 100; }
.skip:focus { left: 16px; top: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid rgba(0,0,0,.04);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 16px 24px; max-width: var(--container); margin: 0 auto;
}
.logo img { height: 46px; width: auto; display: block; }
.nav-menu { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-menu a { color: var(--text); font-weight: 600; font-size: .95rem; }
.nav-menu a:hover { color: var(--teal-dark); text-decoration: none; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px; padding: 8px;
}
.nav-toggle span { display: block; height: 2px; background: var(--text); margin: 5px 0; transition: .2s; }
.header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal); color: #fff !important;
  padding: 10px 22px; border-radius: 999px;
  font-weight: 700; font-size: .92rem; letter-spacing: .3px;
  box-shadow: 0 3px 10px rgba(38,166,154,.28);
  transition: background .2s, transform .15s, box-shadow .2s;
}
.header-cta:hover { background: var(--teal-dark); transform: translateY(-1px); text-decoration: none; box-shadow: 0 5px 14px rgba(38,166,154,.4); }
.header-cta svg { fill: currentColor; }

@media (max-width: 1050px) {
  .nav-toggle { display: block; }
  .nav { order: 3; }
  .header-cta { order: 2; margin-left: auto; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden; transition: max-height .25s ease;
  }
  .nav-menu li { border-top: 1px solid var(--border); }
  .nav-menu a { display: block; padding: 16px 24px; }
  .nav.open .nav-menu { max-height: 500px; }
  .header-cta { padding: 9px 16px; font-size: .85rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 16px 32px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 700; font-size: .95rem;
  text-decoration: none !important; letter-spacing: .4px;
  transition: transform .15s, background .2s, color .2s, border-color .2s, box-shadow .2s;
  border: 2px solid transparent; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: #fff; border-color: var(--teal); box-shadow: 0 4px 14px rgba(38,166,154,.28); }
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); box-shadow: 0 6px 20px rgba(38,166,154,.4); }
.btn-outline { background: transparent; color: var(--text-strong); border-color: var(--text-strong); }
.btn-outline:hover { background: var(--text-strong); color: #fff; }
.cta-group { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ---------- Shapes assimétricas ----------
   Padrão: 1 canto bem arredondado, 3 cantos com radius pequeno.
   Variantes nomeiam o canto grande. */
.shape-tl { border-radius: var(--shape-big) var(--shape-small) var(--shape-small) var(--shape-small); }
.shape-tr { border-radius: var(--shape-small) var(--shape-big) var(--shape-small) var(--shape-small); }
.shape-br { border-radius: var(--shape-small) var(--shape-small) var(--shape-big) var(--shape-small); }
.shape-bl { border-radius: var(--shape-small) var(--shape-small) var(--shape-small) var(--shape-big); }

/* ---------- Image frame com retângulo decorativo ----------
   Estrutura: <div class="image-frame frame-X"><img class="shape-Y" ...></div>
   ::before = retângulo decorativo (cor + posição definida pela frame-*). */
.image-frame { position: relative; display: block; width: 100%; max-width: 560px; margin: 0 auto; }
.image-frame img { position: relative; z-index: 2; width: 100%; height: auto; }
.image-frame::before {
  content: ""; position: absolute; z-index: 1;
  width: 75%; height: 75%;
}

/* Padrão: ret de trás tem o MESMO border-radius da foto, apenas deslocado */

/* Hero: foto TL grande; ret cream deslocado TR (mesmo shape) */
.frame-hero img,
.frame-hero::before {
  border-radius: var(--shape-big) var(--shape-small) var(--shape-small) var(--shape-small);
}
.frame-hero::before { top: -6%; right: -8%; background: var(--cream); }

/* Mudança: foto TR grande; ret cream deslocado TR (mesmo shape) */
.frame-mudanca img,
.frame-mudanca::before {
  border-radius: var(--shape-small) var(--shape-big) var(--shape-small) var(--shape-small);
}
.frame-mudanca::before { top: -7%; right: -8%; background: var(--cream); }

/* Sobre: foto TL grande; ret mint deslocado BR (mesmo shape) */
.frame-sobre img,
.frame-sobre::before {
  border-radius: var(--shape-big) var(--shape-small) var(--shape-small) var(--shape-small);
}
.frame-sobre::before { bottom: -7%; right: -8%; background: var(--mint); }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 6vw, 88px) 0 var(--section-y); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero-content .lead {
  font-size: clamp(1.1rem, 1.7vw, 1.4rem); color: var(--teal-dark); font-weight: 700;
  margin-bottom: 20px; font-family: var(--font-heading); line-height: 1.3;
}
.hero-content p:not(.lead) { color: var(--muted); font-size: 1.05rem; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-image { max-width: 420px; margin: 0 auto; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section-mint { background: var(--mint-bg); }
.section-cream { background: #fdf2e35e; }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 64px; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { color: var(--muted); }

/* Texto leve nas seções narrativas (Mudança / Sobre) — mais legível */
.prose p { color: var(--text); font-size: 1.075rem; line-height: 1.85; margin-bottom: 1.1em; }
.prose strong { color: var(--teal-dark); font-weight: 700; }
.prose h2 { margin-bottom: .25em; }
.subtitle { font-size: .55em; color: var(--muted); font-weight: 500; display: block; margin-top: 8px; letter-spacing: 0; }
.crn-line { font-size: .8rem; color: var(--muted); letter-spacing: 1.2px; text-transform: uppercase; margin: 0 0 1.6em; font-weight: 600; }

.two-col { display: grid; grid-template-columns: 1.3fr 1fr; gap: 80px; align-items: center; }
.two-col.reverse { grid-template-columns: 1fr 1.3fr; }
.two-col.reverse .col-image { order: 2; }

@media (max-width: 900px) {
  .two-col, .two-col.reverse { grid-template-columns: 1fr; gap: 56px; }
  .two-col.reverse .col-image { order: -1; }
  .col-image { max-width: 420px; margin: 0 auto; }
  #mudanca .col-image { display: none; }
}

/* ---------- Cards (condições) ---------- */
.cards-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards-grid { grid-template-columns: 1fr; } }

.card {
  background: #fff; padding: 36px 30px; border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card img { width: 60px; height: 60px; margin: 0 0 20px; }
.card h3 {
  font-family: var(--font-heading); font-size: 1.1rem;
  margin-bottom: 12px; color: var(--text-strong); font-weight: 700;
}
.card p { font-size: .95rem; color: var(--muted); margin: 0; line-height: 1.65; }

/* ---------- Depoimentos + Google badge ---------- */
.google-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--border);
  padding: 10px 18px; border-radius: 999px;
  font-size: .9rem; font-weight: 600; color: var(--text-strong);
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.google-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); text-decoration: none; color: var(--text-strong); }
.google-badge .g-logo { width: 20px; height: 20px; }
.google-badge .check {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--teal); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: .7rem;
}
.section-head .google-badge { margin-top: 18px; }
.google-badge-sm {
  padding: 5px 11px; font-size: .72rem; gap: 6px; margin-bottom: 14px;
}
.google-badge-sm .g-logo { width: 13px; height: 13px; }
.google-badge-sm .check { width: 13px; height: 13px; font-size: .55rem; }

.testimonials {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 40px 64px;
}
@media (max-width: 700px) { .testimonials { grid-template-columns: 1fr; } }
.testimonial cite { font-style: normal; display: block; margin-bottom: 2px; font-family: var(--font-heading); }
.testimonial cite strong { color: var(--text-strong); font-size: 1.05rem; font-weight: 700; }
.stars { color: var(--yellow-star); font-size: .95rem; letter-spacing: 2px; margin-bottom: 10px; display: block; }
.testimonial .role { color: var(--muted); font-size: .85rem; display: block; margin-bottom: 10px; }
.testimonial blockquote { margin: 0; color: var(--text); font-size: .95rem; line-height: 1.75; }

/* ---------- FAQ + collage ---------- */
.faq-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 80px; align-items: start; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; gap: 56px; } .faq-collage { max-width: 440px; margin: 0 auto; } }

.faq-collage {
  position: relative; display: grid;
  grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr;
  gap: 22px; aspect-ratio: 1 / 1.1; padding: 6% 4% 8% 6%;
}
/* (retângulos decorativos removidos — seção inteira já tem fundo creme) */
.faq-collage > * { position: relative; z-index: 1; }
.faq-collage picture { display: block; width: 100%; height: 100%; }
.faq-collage img { width: 100%; height: 100%; object-fit: cover; box-shadow: var(--shadow-sm); }
/* Staggered: cada foto desloca em direção diferente, cantos arredondados variando */
.faq-collage > div:nth-child(1) {
  transform: translate(-8%, 4%);
}
.faq-collage > div:nth-child(1) img { border-radius: var(--shape-big) var(--shape-small) var(--shape-small) var(--shape-small); }
.faq-collage > div:nth-child(2) {
  transform: translate(6%, -10%);
}
.faq-collage > div:nth-child(2) img { border-radius: var(--shape-small) var(--shape-big) var(--shape-small) var(--shape-small); }
.faq-collage > div:nth-child(3) {
  transform: translate(-10%, 8%);
}
.faq-collage > div:nth-child(3) img { border-radius: var(--shape-small) var(--shape-small) var(--shape-small) var(--shape-big); }
.faq-collage > div:nth-child(4) {
  transform: translate(8%, -2%);
}
.faq-collage > div:nth-child(4) img { border-radius: var(--shape-small) var(--shape-small) var(--shape-big) var(--shape-small); }

.faq summary {
  list-style: none; padding: 22px 56px 22px 0;
  font-weight: 700; font-family: var(--font-heading); cursor: pointer;
  position: relative; color: var(--text-strong); font-size: 1.02rem;
  border-bottom: 1px solid var(--border);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%;
  transform: translateY(-50%); font-size: 1.6rem; color: var(--teal);
  font-weight: 300; transition: transform .2s; line-height: 1;
}
.faq details[open] summary { color: var(--teal); border-bottom-color: var(--teal); }
.faq details[open] summary::after { content: "−"; }
.faq-body { padding: 18px 0 24px; color: var(--muted); font-size: .98rem; line-height: 1.75; }
.faq-body p:last-child { margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; align-items: stretch; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info {
  background: var(--teal-deep); color: #fff;
  padding: 44px 36px; border-radius: var(--radius-card);
}
.contact-info h3 { color: #fff; margin: 0 0 24px; font-size: 1.65rem; }
.contact-list, .hours { list-style: none; padding: 0; margin: 0; }
.contact-list li {
  display: grid; grid-template-columns: 44px 1fr; gap: 14px;
  padding: 12px 0; align-items: center;
}
.contact-list .icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center; color: #fff;
  flex-shrink: 0;
}
.contact-list a, .contact-list address { color: #fff; font-style: normal; font-size: .95rem; }
.contact-list a:hover { text-decoration: underline; }
.contact-list .label { display: block; font-size: .72rem; opacity: .7; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 2px; }
.hours-block { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); }
.hours-block h4 { margin: 0 0 12px; font-size: 1rem; color: #fff; font-family: var(--font-heading); }
.hours li { display: flex; justify-content: space-between; padding: 6px 0; font-size: .95rem; }

.contact-map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; border-radius: var(--radius-card); }

/* ---------- Footer ---------- */
.site-footer { background: #fff; padding: 36px 0 28px; border-top: 1px solid var(--border); }
.footer-inner {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 24px;
  padding: 0 24px; max-width: var(--container); margin: 0 auto;
}
.site-footer .logo img { height: 40px; }
.footer-meta { text-align: center; }
.copyright { font-size: .88rem; margin: 0; color: var(--muted); }
.crn { font-size: .82rem; color: var(--muted); margin: 4px 0 0; opacity: .85; }
.social { list-style: none; padding: 0; margin: 0; display: flex; gap: 12px; }
.social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--orange); color: #fff;
  transition: background .2s, transform .2s;
}
.social a:hover { background: var(--orange-dark); transform: translateY(-2px); text-decoration: none; }
.social .ic { width: 20px; height: 20px; display: block; }

@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

/* ---------- WhatsApp Float ---------- */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,.45);
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
