/*
Theme Name: Dr. Rodrigo Silva - Implantodontia
Theme URI:
Author: Equipe Dr. Rodrigo Silva
Author URI:
Description: Landing page de implantodontia e reabilitação oral para campanhas de tráfego pago e busca orgânica. Avaliação com tomografia, plano e valores explicados antes de qualquer procedimento.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: clinica
*/

/* Paleta extraída da logo: teal #13C2A7, preto #0A0A0A, cinza #6A6A6A */

:root {
  --teal: #13C2A7;
  --teal-dark: #0E9C86;
  --teal-light: #E6F9F6;
  --black: #0A0A0A;
  --gray: #6A6A6A;
  --gray-light: #F4F4F4;
  --gray-border: #E2E2E2;
  --white: #FFFFFF;
  --font-heading: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 10, 10, 0.08);
  --max-width: 1180px;
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 600;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-bottom: 14px; }
h3 { font-size: 1.25rem; margin-bottom: 8px; }

p { color: var(--gray); }

section { padding: 72px 0; }

.eyebrow {
  display: inline-block;
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-head {
  max-width: 700px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head p { font-size: 1.05rem; }

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(19, 194, 167, 0.35);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(19, 194, 167, 0.45); }

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--black);
}

.btn-outline:hover { background: var(--black); color: var(--white); }

.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.btn-block { width: 100%; justify-content: center; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.logo-link { display: flex; align-items: center; gap: 10px; }
.logo-link img { height: 44px; width: auto; }

.header-cta { display: flex; align-items: center; gap: 18px; }

.header-phone {
  display: none;
  font-weight: 600;
  font-size: 0.95rem;
  align-items: center;
  gap: 8px;
}

.header-phone svg { width: 18px; height: 18px; color: var(--teal-dark); }

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

.btn-header {
  padding: 12px 22px;
  font-size: 0.92rem;
}

/* Hero */
.hero {
  padding: 56px 0 64px;
  background: linear-gradient(180deg, var(--teal-light) 0%, var(--white) 65%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero .container { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--gray-border);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-badge svg { width: 16px; height: 16px; color: var(--teal-dark); }

.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { color: var(--teal-dark); }

.hero-sub {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 540px;
  margin-bottom: 28px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 24px; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.88rem;
  color: var(--gray);
}

.hero-trust li { display: flex; align-items: center; gap: 8px; list-style: none; }
.hero-trust svg { width: 18px; height: 18px; color: var(--teal-dark); flex-shrink: 0; }

.hero-media { position: relative; }

.hero-media .photo-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-media img { width: 100%; height: auto; aspect-ratio: 1280 / 853; object-fit: cover; }

.hero-media-caption {
  position: absolute;
  bottom: -18px;
  left: 20px;
  background: var(--black);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.hero-media-caption span { color: var(--teal); }

/* Agitação */
.problem { background: var(--white); }

.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 720px) {
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
}

.problem-card {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 26px 26px 24px;
  border-left: 4px solid var(--teal);
}

.problem-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.problem-card p { font-size: 0.95rem; margin: 0; }

/* Solução */
.solution { background: var(--gray-light); }

.solution-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: start;
}

@media (min-width: 900px) {
  .solution-grid { grid-template-columns: 1fr 1fr; }
}

.solution-steps { counter-reset: step; }

.solution-step {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-border);
}

.solution-step:last-child { border-bottom: none; }

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
}

.step-body h3 { margin-bottom: 4px; }
.step-body p { font-size: 0.95rem; margin: 0; }

.solution-note {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--teal);
}

.solution-note h3 { margin-bottom: 10px; }
.solution-note p { margin-bottom: 12px; font-size: 0.96rem; }
.solution-note p:last-child { margin-bottom: 0; }

.solution-note strong { color: var(--black); }

/* Antes e depois */
.results { background: var(--white); }

.results-wrap {
  max-width: 620px;
  margin: 0 auto;
}

.results-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-border);
}

.results-frame img { width: 100%; height: auto; }

.results-caption {
  text-align: center;
  margin-top: 16px;
  font-size: 0.86rem;
  color: var(--gray);
}

.results-disclaimer {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray);
  max-width: 560px;
  margin: 14px auto 0;
  font-style: italic;
}

/* Autoridade */
.authority { background: var(--gray-light); }

.authority-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .authority-grid { grid-template-columns: 0.8fr 1.2fr; }
}

.authority-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.authority-photo img { width: 100%; height: auto; }

.authority-text .eyebrow { display: block; }
.authority-text p { margin-bottom: 14px; }
.authority-text p:last-child { margin-bottom: 0; }

.authority-signature {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--gray-border);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
}

.authority-signature span {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--gray);
  font-size: 0.85rem;
  margin-top: 2px;
}

/* Diferenciais */
.pillars { background: var(--white); }

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 720px) {
  .pillars-grid { grid-template-columns: repeat(3, 1fr); }
}

.pillar-card {
  text-align: center;
  padding: 30px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-border);
}

.pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.pillar-icon svg { width: 28px; height: 28px; color: var(--teal-dark); }

.pillar-card h3 { font-size: 1.05rem; }
.pillar-card p { font-size: 0.92rem; margin: 0; }

/* FAQ */
.faq { background: var(--gray-light); }

.faq-list { max-width: 780px; margin: 0 auto; }

.faq-item {
  background: var(--white);
  border-radius: 12px;
  margin-bottom: 12px;
  border: 1px solid var(--gray-border);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 22px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--black);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--teal-dark);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-question svg { transform: rotate(45deg); }

.faq-answer { padding: 0 22px 20px; font-size: 0.95rem; }
.faq-answer p { margin: 0; }

/* CTA final */
.final-cta {
  background: var(--black);
  color: var(--white);
  text-align: center;
}

.final-cta h2 { color: var(--white); }
.final-cta p { color: #C9C9C9; max-width: 600px; margin: 0 auto 30px; }

.final-cta .btn-outline { border-color: var(--white); color: var(--white); }
.final-cta .btn-outline:hover { background: var(--white); color: var(--black); }

.final-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 24px; }

.final-cta-signature {
  font-size: 0.85rem;
  color: #999;
  margin-top: 32px;
}

/* Footer */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--gray-border);
  padding: 48px 0 24px;
  font-size: 0.88rem;
  color: var(--gray);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
}

.footer-logo img { height: 40px; margin-bottom: 12px; }
.footer-col h4 { font-size: 0.9rem; color: var(--black); margin-bottom: 12px; }
.footer-col p, .footer-col address { font-style: normal; margin-bottom: 8px; }
.footer-col a:hover { color: var(--teal-dark); }

.footer-bottom {
  border-top: 1px solid var(--gray-border);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  font-size: 0.8rem;
}

/* WhatsApp flutuante */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 200;
  background: #25D366;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease;
}

.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; color: var(--white); }

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--teal);
  color: var(--white);
  padding: 12px 20px;
  z-index: 1000;
}

.skip-link:focus { left: 12px; top: 12px; }

/* Utilities */
.text-center { text-align: center; }

@media (max-width: 899px) {
  .hero-media-caption { left: 12px; bottom: -14px; font-size: 0.75rem; padding: 8px 14px; }
}
