/* ============================================================
   Dr. Daniel Cohen — design system
   Brand: turquesa #44C0BB · petróleo #1B7875 · verde claro #B8DA92 · cinza #333
   Typeface: Roboto
   ============================================================ */

:root {
  --turquoise: #44C0BB;
  --petroleum: #1B7875;
  --green-light: #B8DA92;
  --ink: #333333;
  --ink-soft: #555a5a;
  --bg: #ffffff;
  --bg-alt: #f3faf9;
  --bg-deep: #0f4a48;
  --line: #e2ecea;
  --white: #ffffff;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(27, 120, 117, 0.10);
  --shadow-sm: 0 4px 14px rgba(27, 120, 117, 0.08);
  --container: 1140px;
  --space: clamp(3rem, 7vw, 6rem);

  --font: "Roboto", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.2; color: var(--petroleum); font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.18rem; }

a { color: var(--petroleum); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}
.container--narrow { max-width: 800px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--petroleum); color: #fff; padding: .6rem 1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 500; font-size: 1rem; line-height: 1;
  padding: .85rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--turquoise); color: #073735; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--petroleum); color: #fff; }
.btn--ghost { background: transparent; border-color: var(--turquoise); color: var(--petroleum); }
.btn--ghost:hover { background: var(--turquoise); color: #073735; }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.08rem; }
.btn--sm { padding: .55rem 1.05rem; font-size: .92rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .6rem; }
.brand { display: flex; align-items: center; gap: .75rem; }
.brand:hover { text-decoration: none; }
.brand__logo { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; }
.brand__text { display: flex; flex-direction: column; }
.brand__name { color: var(--petroleum); font-size: 1.02rem; }
.brand__creds { color: var(--ink-soft); font-size: .72rem; line-height: 1.3; }

.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav a { color: var(--ink); font-weight: 500; font-size: .98rem; }
.site-nav a:hover { color: var(--turquoise); text-decoration: none; }
.site-nav .btn { color: #073735; }
.site-nav .btn:hover { color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: .4rem; }
.nav-toggle span { width: 26px; height: 3px; background: var(--petroleum); border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(120% 90% at 90% 10%, rgba(184,218,146,.35), transparent 55%),
    linear-gradient(160deg, var(--bg-alt), #ffffff 60%);
  overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2rem; align-items: center; padding-block: clamp(2.5rem, 6vw, 5rem); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--turquoise); margin: 0 0 .6rem; }
.hero h1 { margin: 0 0 1rem; }
.hero__sub-title { color: var(--turquoise); }
.hero__lede { font-size: 1.18rem; color: var(--ink-soft); max-width: 36ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.6rem; }
.hero__media { position: relative; display: flex; justify-content: center; }
.hero__media::before {
  content: ""; position: absolute; inset: auto 0 0 0; margin: auto;
  width: min(380px, 90%); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, var(--turquoise), var(--petroleum));
  bottom: 0; z-index: 0; filter: blur(2px); opacity: .9;
}
.hero__media img { position: relative; z-index: 1; filter: drop-shadow(0 25px 35px rgba(15,74,72,.35)); }

/* ---------- Sections ---------- */
.section { padding-block: var(--space); }
.section--alt { background: var(--bg-alt); }
.section__title { text-align: center; margin: 0 auto .6rem; }
.section__lede { text-align: center; color: var(--ink-soft); max-width: 60ch; margin: 0 auto 2.5rem; }
.section .section__title + .areas__grid,
.section .section__title + .why__grid { margin-top: 2.5rem; }

/* ---------- Áreas de atuação ---------- */
.areas__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.area-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow-sm); position: relative; color: var(--ink);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
}
.area-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); text-decoration: none; border-color: var(--turquoise); }
.area-card__index { font-size: .85rem; font-weight: 700; color: var(--green-light); }
.area-card h3 { margin: .3rem 0 .2rem; }
.area-card__tag { font-weight: 500; color: var(--turquoise); margin: 0 0 .7rem; }
.area-card p { margin: 0 0 .4rem; color: var(--ink-soft); }
.area-card__link { font-weight: 600; color: var(--petroleum); }
.area-card--feature {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--petroleum), #14605d);
  color: #eafaf8; border: 0;
}
.area-card--feature h3 { color: #fff; font-size: 1.6rem; }
.area-card--feature .area-card__index { color: var(--green-light); }
.area-card--feature .area-card__tag { color: var(--green-light); }
.area-card--feature p { color: #d4f0ee; }
.area-card--feature .area-card__link { color: #fff; }

/* ---------- Por que escolher ---------- */
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.why__item { background: #fff; border-radius: var(--radius); padding: 1.5rem; border-left: 4px solid var(--turquoise); box-shadow: var(--shadow-sm); }
.why__item h3 { margin: 0 0 .4rem; color: var(--petroleum); }
.why__item p { margin: 0; color: var(--ink-soft); }

/* ---------- Sobre ---------- */
.about__intro { text-align: center; margin-bottom: 2.5rem; }
.about__role { color: var(--turquoise); font-weight: 500; font-size: 1.15rem; margin: .2rem 0 1.2rem; }
.about__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.about__block { background: var(--bg-alt); border-radius: var(--radius); padding: 1.6rem; }
.about__block h3 { color: var(--petroleum); margin: 0 0 .6rem; }
.about__sub { margin-top: 1.2rem; }
.about__block ul { margin: 0; padding-left: 1.1rem; color: var(--ink-soft); }
.about__block li { margin-bottom: .5rem; }

/* ---------- Carrossel ---------- */
.carousel { position: relative; max-width: 880px; margin: 0 auto; }
.carousel__track { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: .5rem; -ms-overflow-style: none; scrollbar-width: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide { flex: 0 0 100%; scroll-snap-align: center; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.carousel__slide img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.carousel__slide figcaption { background: #fff; padding: .8rem 1rem; color: var(--ink-soft); font-size: .9rem; }
.carousel__btn { position: absolute; top: 45%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--petroleum); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow); }
.carousel__btn--prev { left: -10px; }
.carousel__btn--next { right: -10px; }

/* ---------- Google review CTA ---------- */
.google-review { background: #fff; }
.google-review__card {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1.5rem;
  background: linear-gradient(135deg, rgba(68,192,187,.14), rgba(184,218,146,.18));
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(1.5rem, 4vw, 2.4rem);
}
.google-review__card .eyebrow { margin: 0 0 .5rem; }
.google-review__card h2 { margin: 0 0 .7rem; text-align: left; max-width: 760px; }
.google-review__card p:not(.eyebrow) { margin: 0; color: var(--ink-soft); max-width: 62ch; }
.google-review__btn { white-space: nowrap; }
/* ---------- FAQ ---------- */
.faq__list { display: flex; flex-direction: column; gap: .8rem; margin-top: 2rem; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .4rem 1.3rem; box-shadow: var(--shadow-sm); }
.faq__item summary { font-weight: 500; color: var(--petroleum); cursor: pointer; padding: .9rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; color: var(--turquoise); font-size: 1.4rem; line-height: 1; }
.faq__item[open] summary::after { content: "–"; }
.faq__answer { color: var(--ink-soft); padding-bottom: 1rem; }

/* ---------- Contato / mapa ---------- */
.contact__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2rem; align-items: center; }
.contact__info h3 { margin: 1.2rem 0 .2rem; }
.contact__info address { font-style: normal; color: var(--ink-soft); }
.contact__info .btn { margin-top: 1.5rem; }
.contact__map iframe { width: 100%; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); min-height: 380px; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { background: linear-gradient(160deg, var(--bg-alt), #fff); padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.page-hero h1 { margin: .4rem 0 1rem; }
.page-hero__lede { font-size: 1.15rem; color: var(--ink-soft); }
.page-hero__note { color: var(--ink-soft); }
.breadcrumbs { font-size: .9rem; color: var(--ink-soft); margin-bottom: .4rem; }
.breadcrumbs span[aria-current] { color: var(--ink); }

/* ---------- Prose (article + page B) ---------- */
.prose { padding-block: var(--space); }
.prose h2 { margin-top: 2.4rem; }
.prose h3 { margin-top: 1.6rem; color: var(--turquoise); }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 1.2rem; }
.prose__meta { color: var(--ink-soft); font-size: .92rem; margin-top: -.4rem; }
.prose__cards { list-style: none; padding: 0; display: grid; gap: .8rem; }
.prose__cards li { background: var(--bg-alt); border-radius: var(--radius-sm); padding: 1rem 1.2rem; }
.prose__cards strong { color: var(--petroleum); }

/* ---------- Blog listing ---------- */
.article-feature {
  display: block; background: linear-gradient(135deg, var(--petroleum), #14605d);
  color: #eafaf8; border-radius: var(--radius); padding: 2rem; margin-bottom: 2rem; box-shadow: var(--shadow);
}
.article-feature:hover { text-decoration: none; transform: translateY(-3px); }
.article-feature__badge { display: inline-block; background: var(--green-light); color: #1f4a14; font-weight: 700; font-size: .78rem; padding: .25rem .7rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.article-feature h2 { color: #fff; margin: .8rem 0 .5rem; }
.article-feature p { color: #d4f0ee; margin: 0 0 .8rem; }
.article-feature .area-card__link { color: #fff; }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.article-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); color: var(--ink); transition: transform .18s, box-shadow .18s, border-color .18s; }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--turquoise); text-decoration: none; }
.article-card h3 { color: var(--petroleum); margin: 0 0 .6rem; }
.article-card p { color: var(--ink-soft); margin: 0 0 .8rem; }

/* ---------- CTA card ---------- */
.cta-card {
  margin-top: 3rem; text-align: center; background: var(--bg-alt);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem;
}
.cta-card h2 { margin: 0 0 .5rem; }
.cta-card p { color: var(--ink-soft); margin: 0 0 1.2rem; }
.cta-card__small { font-size: .9rem; margin-top: 1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-deep); color: #cfeae8; padding-top: var(--space); }
.site-footer a { color: #eafaf8; }
.site-footer a:hover { color: var(--green-light); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.site-footer__logo { width: 60px; height: 60px; border-radius: 12px; margin-bottom: .8rem; }
.site-footer__name { font-weight: 700; color: #fff; margin: 0; }
.site-footer__creds { font-size: .85rem; color: #a9d4d1; }
.site-footer__title { font-size: 1rem; color: var(--green-light); margin: 0 0 .7rem; }
.site-footer address { font-style: normal; }
.site-footer__legal { border-top: 1px solid rgba(255,255,255,.12); padding-block: 1.6rem; }
.medical-disclaimer { font-size: .82rem; color: #a9d4d1; margin: 0 0 .6rem; }
.copyright { font-size: .82rem; color: #8ec2bf; margin: 0; }

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 200;
  display: inline-flex; align-items: center; gap: .6rem;
  background: #25D366; color: #fff; padding: .8rem 1.1rem; border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0,0,0,.25); font-weight: 600;
}
.whatsapp-float:hover { text-decoration: none; transform: translateY(-2px); background: #1ebe5b; }
.whatsapp-float svg { flex: 0 0 auto; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: .5rem 1.1rem 1rem; box-shadow: var(--shadow);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: .8rem; }
  .brand__creds { display: none; }

  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__media { order: -1; }
  .hero__lede { margin-inline: auto; }
  .hero__actions { justify-content: center; }

  .areas__grid, .why__grid, .about__cols, .article-grid, .contact__inner, .site-footer__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .google-review__card { grid-template-columns: 1fr; text-align: center; }
  .google-review__card h2 { text-align: center; }
  .google-review__card p:not(.eyebrow) { margin-inline: auto; }
  .google-review__btn { justify-self: center; }
}
@media (max-width: 560px) {
  .why__grid { grid-template-columns: 1fr; }
  .whatsapp-float__label { display: none; }
  .whatsapp-float { padding: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; transition: none !important; }
}
