/* ============================================================
   DR. ANDRÉ PANSUTTI — DESIGN SYSTEM
   Fonte dos tokens: elementor-431-2026-04-04.json
   Extraído em: 04/04/2026
   ============================================================ */

/* ── FONTE CUSTOMIZADA (aguardando arquivo) ─────────────────── */
@font-face {
  font-family: 'Peppo Condensed';
  src: url('../fonts/PeppoCondensed.woff2') format('woff2'),
       url('../fonts/PeppoCondensed.woff')  format('woff'),
       url('../fonts/PeppoCondensed.ttf')   format('truetype');
  font-weight: normal;
  font-style:  normal;
  font-display:swap;
}

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── DESIGN TOKENS ──────────────────────────────────────────── */
:root {
  /* CORES PRIMÁRIAS */
  --color-primary:       #CF265F;
  --color-cta:           #0EABD8;
  --color-cta-hover:     #FFCC01;
  --color-teal:          #74B6AC;
  --color-dark:          #084253;

  /* CORES DE TEXTO */
  --color-text-heading:  #CF265F;
  --color-text-subtitle: #74B6AC;
  --color-text-body:     #797979;
  --color-text-white:    #FFFFFF;
  --color-text-dark:     #444444;

  /* BACKGROUNDS */
  --bg-hero:             #F7F7F7;
  --bg-white:            #FFFFFF;
  --bg-footer:           #084253;
  --bg-accent-pink:      #F6B2B5;
  --bg-accent-teal:      #ACECE6;

  /* FAMÍLIAS TIPOGRÁFICAS */
  --font-heading: 'Handlee', cursive;
  --font-body:    'Raleway', sans-serif;
  --font-cta:     'Poppins', sans-serif;

  /* NAVBAR */
  --nav-bg:            #FFFFFF;
  --nav-height:        75px;
  --nav-link-color:    #46C6B2;
  --nav-link-font:     'Raleway', sans-serif;
  --nav-link-size:     14px;

  /* BOTÕES */
  --btn-font-family:   'Poppins', sans-serif;
  --btn-font-size:     16px;
  --btn-font-weight:   400;
  --btn-bg:            #0EABD8;
  --btn-color:         #FFFFFF;
  --btn-radius:        6px;
  --btn-padding:       11px 25px;
  --btn-bg-hover:      #FFCC01;
  --btn-color-hover:   #FFFFFF;
  --btn-lg-font-size:  18px;

  /* ESPAÇAMENTOS */
  --section-hero-padding:     90px 0 0 0;
  --section-about-padding:    80px 0 60px 0;
  --section-services-padding: 10px 0;
  --section-white-padding:    50px 10px;

  /* UTILITÁRIOS */
  --radius-sm:  8px;
  --radius:     16px;
  --radius-lg:  24px;
  --shadow:     0 6px 32px rgba(14,171,216,.13);
  --shadow-md:  0 12px 48px rgba(14,171,216,.18);
  --tr:         .28s ease;
  --white:      #FFFFFF;
  --border:     #ddd;
  --amber:      #ffab40;
}

/* ── BASE ───────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size:   18px;              /* --body-font-size  */
  font-weight: 400;               /* --body-font-weight */
  color:       var(--color-text-body); /* #797979       */
  background:  var(--bg-white);
  line-height: 1.5;               /* --body-line-height */
  -webkit-font-smoothing: antialiased;
}

/* H1 — Handlee 45px 700 #CF265F lh 1.2 */
h1 {
  font-family:  var(--font-heading);
  font-size:    45px;
  font-weight:  700;
  color:        var(--color-text-heading);
  line-height:  1.2;
}

/* H2 — Handlee 45px 900 #CF265F lh 1.2 */
h2 {
  font-family:  var(--font-heading);
  font-size:    45px;
  font-weight:  900;
  color:        var(--color-text-heading);
  line-height:  1.2;
}

/* H3 — Raleway 16px 700 #74B6AC */
h3 {
  font-family:  var(--font-body);
  font-size:    16px;
  font-weight:  700;
  color:        var(--color-text-subtitle);
}

/* P — Raleway 18px 400 #797979 lh 1.5 */
p {
  font-family:  var(--font-body);
  font-size:    18px;
  font-weight:  400;
  color:        var(--color-text-body);
  line-height:  1.5;
}

a   { font-size: inherit; line-height: inherit; color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul  { list-style: none; }

/* ── CONTAINER ──────────────────────────────────────────────── */
.container {
  width:     100%;
  max-width: 1100px;
  margin:    0 auto;
  padding:   0 24px;
}

/* ── BOTÕES ─────────────────────────────────────────────────── */
.btn {
  display:       inline-flex;
  align-items:   center;
  gap:           8px;
  padding:       var(--btn-padding);       /* 11px 25px */
  border-radius: var(--btn-radius);        /* 6px */
  font-family:   var(--btn-font-family);   /* Poppins */
  font-size:     var(--btn-font-size);     /* 16px */
  font-weight:   var(--btn-font-weight);   /* 400 */
  color:         var(--btn-color);         /* #fff */
  cursor:        pointer;
  border:        2px solid transparent;
  transition:    all var(--tr);
  white-space:   nowrap;
}

.btn-primary {
  background:   var(--btn-bg);             /* #0EABD8 */
  border-color: var(--btn-bg);
  color:        var(--btn-color);
}
.btn-primary:hover {
  background:   var(--btn-bg-hover);       /* #FFCC01 */
  border-color: var(--btn-bg-hover);
  color:        var(--btn-color-hover);
  transform:    translateY(-2px);
  box-shadow:   0 8px 28px rgba(255,204,1,.35);
}

.btn-outline {
  background:   transparent;
  color:        var(--color-cta);
  border-color: var(--color-cta);
}
.btn-outline:hover {
  background:   var(--btn-bg-hover);
  border-color: var(--btn-bg-hover);
  color:        var(--white);
  transform:    translateY(-2px);
}

.btn-lg {
  font-size: var(--btn-lg-font-size);      /* 18px */
  padding:   14px 32px;
}

/* ── TAG / LABEL ────────────────────────────────────────────── */
.tag {
  display:        inline-block;
  background:     rgba(14,171,216,.12);
  color:          var(--color-cta);
  font-family:    var(--font-body);
  font-weight:    700;
  font-size:      12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding:        5px 16px;
  border-radius:  50px;
  margin-bottom:  14px;
}

/* ── SECTION HEADER ─────────────────────────────────────────── */
.section-header {
  text-align:    center;
  margin-bottom: 56px;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p  {
  color:     var(--color-text-body);
  max-width: 480px;
  margin:    0 auto;
}

/* ============================================================
   NAVBAR
   height: 75px | links: Raleway 14px #46C6B2
   ============================================================ */
header {
  font-family: var(--font-cta);
  font-size:   25px;
  font-weight: 600;
}

#header {
  position:   fixed;
  inset:      0 0 auto 0;
  z-index:    1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--tr);
}
#header.scrolled { box-shadow: 0 2px 24px rgba(14,171,216,.12); }

.nav-container {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  height:          var(--nav-height);      /* 75px */
}

.logo img { width: 189px; max-width: 189px; height: auto; }

#navMenu ul {
  display:     flex;
  align-items: center;
  gap:         4px;
}

/* Raleway 14px #46C6B2 — do token --nav-link */
#navMenu a {
  font-family:   var(--nav-link-font);     /* Raleway */
  font-size:     var(--nav-link-size);     /* 14px */
  font-weight:   600;
  color:         var(--nav-link-color);    /* #46C6B2 */
  padding:       8px 14px;
  border-radius: var(--radius-sm);
  transition:    color var(--tr);
}
#navMenu a:hover         { color: var(--color-primary); }
#navMenu li:last-child a { padding: 0; }

.nav-cta {
  background:    var(--btn-bg) !important;
  color:         var(--white) !important;
  padding:       var(--btn-padding) !important;
  border-radius: var(--btn-radius) !important;
  font-size:     var(--btn-font-size) !important;
  font-family:   var(--btn-font-family) !important;
}
.nav-cta:hover {
  background: var(--btn-bg-hover) !important;
  border-color: var(--btn-bg-hover) !important;
  transform:  translateY(-2px);
}

.menu-toggle {
  display:    none;
  background: none;
  border:     none;
  font-size:  22px;
  color:      var(--color-dark);
  cursor:     pointer;
  padding:    8px;
  border-radius: var(--radius-sm);
  transition: color var(--tr);
}
.menu-toggle:hover { color: var(--color-cta); }

/* ============================================================
   HERO
   padding: 90px 0 0 0 | bg: imagem local + overlay branco
   ============================================================ */
#hero {
  position:            relative;
  padding:             var(--section-hero-padding);  /* 90px 0 0 0 */
  background-image:    url('../images/hero.jpg');
  background-size:     cover;
  background-position: right center;
  background-repeat:   no-repeat;
  overflow:            hidden;
  min-height:          600px;
  display:             flex;
  align-items:         center;
}

#hero::before {
  content:    "";
  position:   absolute;
  inset:      0;
  background: linear-gradient(to right,
    rgba(255,255,255,1)   0%,
    rgba(255,255,255,.88) 40%,
    rgba(255,255,255,0)   72%);
  z-index: 1;
}

.hero-container {
  position:    relative;
  z-index:     2;
  display:     flex;
  align-items: center;
  width:       100%;
}

.hero-text {
  width:         50%;
  max-width:     520px;
  padding-bottom:72px;
}

/* H1 hero herda a regra global h1 (Handlee 45px 700 #CF265F) */
.hero-text h1 { letter-spacing: 0; }

/* Subtítulo hero — Raleway 18px #797979 lh 1.5 (herda body) */
.hero-text p {
  margin-bottom: 36px;
}

.hero-wave {
  position:       absolute;
  bottom:         0;
  left:           0;
  width:          100%;
  z-index:        3;
  line-height:    0;
  pointer-events: none;
}
.hero-wave svg {
  display:    block;
  width:      100%;
  height:     auto;
  max-height: 250px;
}

/* ============================================================
   SOBRE — padding: 80px 0 60px 0
   ============================================================ */
#sobre {
  padding:    var(--section-about-padding);
  background: var(--bg-white);
}

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

.sobre-image {
  max-width:   459px;
  padding:     10px;
  display:     flex;
  align-items: flex-end;
}

.sobre-img-wrap { position: relative; width: 100%; }
.sobre-img-wrap img {
  width:         428px;
  max-width:     100%;
  height:        auto;
  border-radius: 45px 45px 0 0;
  box-shadow:    0 8px 36px rgba(0,0,0,.12);
  object-fit:    fill;
  border:        1px solid rgba(116,182,172,.25);
}

/* H2 "Dr. André Pansutti" herda regra global h2 */
.sobre-text h2 { margin-bottom: 6px; }

/* Credentials line */
.sobre-credentials {
  font-family:   var(--font-body);
  font-size:     13px;
  font-weight:   700;
  color:         var(--color-dark);
  letter-spacing:1px;
  text-transform:uppercase;
  margin-bottom: 20px;
}

/* Heading branco sobre fundo escuro — Raleway 27px 500 #FFFFFF lh 1.4 */
.heading-white {
  font-family:  var(--font-body);
  font-size:    27px;
  font-weight:  500;
  color:        var(--color-text-white);
  line-height:  1.4;
}

.sobre-text strong { color: var(--color-primary); }
.sobre-text p      { margin-bottom: 16px; }

/* Italic quote */
.sobre-quote {
  font-style:    italic;
  color:         var(--color-teal);
  font-size:     16px;
  border-left:   3px solid var(--color-teal);
  padding-left:  14px;
  margin-top:    8px;
  margin-bottom: 24px !important;
}

.sobre-actions {
  display:     flex;
  align-items: center;
  gap:         14px;
  flex-wrap:   wrap;
  margin-top:  8px;
}

/* Yellow circular arrow icon */
.sobre-arrow {
  display:         inline-flex;
  align-items:     center;
  justify-content: center;
  width:           46px;
  height:          46px;
  border-radius:   50%;
  background:      #FFCC01;
  flex-shrink:     0;
  transition:      transform var(--tr), background var(--tr);
  cursor:          default;
}
.sobre-arrow:hover { background: #f5be00; transform: translateX(3px); }

/* ============================================================
   MISSÃO & ESPECIALIDADE
   ============================================================ */
#missao-especialidade {
  background: var(--bg-white);
  padding:    10px 0 60px 0;
}

.me-container {
  display:         flex;
  justify-content: center;
  gap:             80px;
  max-width:       860px;
  margin:          0 auto;
  padding:         0 24px;
}

.me-card {
  display:        flex;
  flex-direction: column;
  align-items:    center;
  text-align:     center;
  max-width:      320px;
  flex:           1;
}

.me-icon {
  margin-bottom: 18px;
  line-height:   0;
}

.me-title {
  font-family:   var(--font-heading);
  font-size:     32px;
  font-weight:   600;
  color:         var(--color-primary);
  margin-bottom: 18px;
  line-height:   1.2;
}

.me-text {
  font-family: var(--font-body);
  font-size:   16px;
  font-weight: 400;
  color:       var(--color-text-body);
  line-height: 1.7;
  text-align:  center;
}

@media (max-width: 640px) {
  .me-container { flex-direction: column; align-items: center; gap: 48px; }
}

/* ============================================================
   SERVIÇOS — padding: 10px 0 | bg: branco
   ============================================================ */
#servicos {
  padding:    var(--section-services-padding);
  background: var(--bg-white);
}

.services-grid {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   28px;
  padding:               40px 0;
}

.service-card {
  background:    var(--bg-white);
  border-radius: var(--radius-lg);
  padding:       36px 28px 32px;
  text-align:    center;
  border:        1px solid rgba(14,171,216,.15);
  box-shadow:    var(--shadow);
  transition:    transform var(--tr), box-shadow var(--tr);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }

.service-img {
  width:         120px;
  height:        120px;
  margin:        0 auto 20px;
  border-radius: 50%;
  overflow:      hidden;
  border:        3px solid var(--color-cta);
  box-shadow:    0 4px 16px rgba(14,171,216,.20);
}
.service-img img { width: 100%; height: 100%; object-fit: cover; }

/* H3 cards — Raleway 16px 700 #74B6AC (regra global h3) */
.service-card h3 { margin-bottom: 10px; }

/* P cards */
.service-card p { line-height: 1.65; }

.services-cta { text-align: center; margin-top: 52px; }

/* ============================================================
   DEPOIMENTOS — renderizado pelo componente React
   Padding/background controlados pelo próprio componente.
   ============================================================ */
#depoimentos { padding: 0; background: transparent; }

.testimonials-grid {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   28px;
}

.testimonial-card {
  background:    var(--bg-white);
  border-radius: var(--radius-lg);
  padding:       36px 28px;
  border:        1px solid rgba(116,182,172,.20);
  transition:    box-shadow var(--tr), transform var(--tr);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.stars {
  display:       flex;
  gap:           4px;
  color:         var(--amber);
  font-size:     17px;
  margin-bottom: 16px;
}

.testimonial-card p {
  font-style:    italic;
  margin-bottom: 24px;
}

.testimonial-author { display: flex; align-items: center; gap: 12px; }

.avatar {
  width:           46px;
  height:          46px;
  border-radius:   50%;
  color:           var(--white);
  display:         flex;
  align-items:     center;
  justify-content: center;
  font-family:     var(--font-heading);
  font-weight:     800;
  font-size:       18px;
  flex-shrink:     0;
}
.testimonial-author strong {
  display:     block;
  font-size:   15px;
  font-weight: 700;
  color:       var(--color-dark);
}
.testimonial-author span { font-size: 13px; color: var(--color-text-body); }

/* ============================================================
   CONTATO — bg: #F6B2B5 (--bg-accent-pink)
   ============================================================ */
#contato {
  padding:    50px 0;
  background: var(--bg-white);
}

.contato-container {
  display:               grid;
  grid-template-columns: 1fr 1.3fr;
  gap:                   64px;
  align-items:           start;
}

/* H2 "Venha fazer uma visita!" herda regra global h2 */
.contato-info h2 { margin-bottom: 6px; }

/* Nome clínica — Handlee (herda h3 mas com override de cor) */
.clinica-nome {
  font-family:  var(--font-heading);
  font-size:    22px;
  font-weight:  700;
  color:        var(--color-primary);
  margin-bottom:32px;
}

.contato-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }

.contato-icon {
  width:           44px;
  height:          44px;
  background:      rgba(14,171,216,.12);
  border-radius:   10px;
  display:         flex;
  align-items:     center;
  justify-content: center;
  font-size:       18px;
  color:           var(--color-cta);
  flex-shrink:     0;
}

.contato-item strong {
  display:       block;
  font-size:     14px;
  font-weight:   700;
  color:         var(--color-dark);
  margin-bottom: 2px;
}
.contato-item p { font-size: 15px; line-height: 1.5; }

.contato-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* ============================================================
   BANNER CTA
   ============================================================ */
#cta-banner {
  background: var(--bg-white);
  padding:    20px 0 60px 0;
}

.cta-card {
  width:           1100px;
  max-width:       calc(100% - 48px);
  margin:          0 auto;
  background:      var(--color-primary);
  border-radius:   24px;
  padding:         60px;
  display:         flex;
  flex-direction:  column;
  align-items:     center;
  gap:             24px;
  text-align:      center;
}

.cta-title {
  font-family:  var(--font-heading);
  font-size:    46px;
  font-weight:  600;
  color:        var(--color-text-white);
  line-height:  1.2;
  margin:       0;
}

.cta-desc {
  font-family: var(--font-body);
  font-size:   18px;
  font-weight: 400;
  color:       var(--color-text-white);
  max-width:   600px;
  margin:      0;
}

.cta-btn {
  background:    var(--color-cta);
  border-color:  var(--color-cta);
  color:         var(--color-text-white);
  font-size:     18px;
  padding:       11px 25px;
  border-radius: var(--btn-radius);
}
.cta-btn:hover {
  background:   var(--btn-bg-hover);
  border-color: var(--btn-bg-hover);
  transform:    translateY(-2px);
}

/* ============================================================
   FOOTER — barra de copyright simples
   ============================================================ */
#footer {
  background:  var(--bg-white);
}

.footer-copyright {
  display:         flex;
  justify-content: space-between;
  align-items:     center;
  padding:         16px 40px;
  border-top:      1px solid #F7F7F7;
  font-family:     var(--font-body);
  font-size:       14px;
  font-weight:     400;
  color:           var(--color-text-body);
}

.footer-copyright a {
  color:      #46C6B2;
  transition: color var(--tr);
}
.footer-copyright a:hover { color: var(--color-primary); }

/* ── WHATSAPP FLUTUANTE ─────────────────────────────────────── */
.whatsapp-float {
  position:      fixed;
  bottom:        28px;
  right:         28px;
  z-index:       9999;
  width:         62px;
  height:        62px;
  background:    #25d366;
  border-radius: 50%;
  display:       flex;
  align-items:   center;
  justify-content:center;
  font-size:     30px;
  color:         var(--white);
  box-shadow:    0 4px 24px rgba(37,211,102,.5);
  transition:    transform var(--tr), box-shadow var(--tr);
  animation:     wapulse 2.8s infinite;
}
.whatsapp-float:hover {
  transform:  scale(1.12);
  box-shadow: 0 8px 36px rgba(37,211,102,.65);
  animation:  none;
}
@keyframes wapulse {
  0%,100% { box-shadow: 0 4px 24px rgba(37,211,102,.5); }
  50%     { box-shadow: 0 4px 38px rgba(37,211,102,.8); }
}

/* ── ANIMAÇÕES DE ENTRADA ───────────────────────────────────── */
[data-anim] {
  opacity:    0;
  transform:  translateY(32px);
  transition: opacity .65s ease, transform .65s ease;
}
[data-anim].in-view { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVO ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid     { grid-template-columns: repeat(2,1fr); }
  .testimonials-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }

  #navMenu {
    display:       none;
    position:      absolute;
    top:           var(--nav-height);
    left:          0; right: 0;
    background:    var(--bg-white);
    border-bottom: 1px solid var(--border);
    box-shadow:    0 12px 32px rgba(0,0,0,.07);
    padding:       16px 24px 28px;
  }
  #navMenu.open  { display: block; }
  #navMenu ul    { flex-direction: column; align-items: flex-start; gap: 4px; }
  #navMenu ul li { width: 100%; }
  #navMenu a     { display: block; width: 100%; padding: 10px 12px; }
  #navMenu li:last-child a { margin-top: 8px; text-align: center; padding: 12px 22px; }

  h1, h2              { font-size: 34px; }
  #hero               { background-position: 80% center; min-height: 500px; }
  .hero-text          { width: 60%; padding-bottom: 40px; }
  .sobre-container    { grid-template-columns: 1fr; gap: 40px; }
  .sobre-image        { max-width: 340px; margin: 0 auto; }
  .services-grid      { grid-template-columns: 1fr; }
  .testimonials-grid  { grid-template-columns: 1fr; }
  .contato-container  { grid-template-columns: 1fr; gap: 40px; }
  .logo img           { width: 165px; max-width: 165px; }
  .cta-card           { padding: 30px; border-radius: 16px; }
  .cta-title          { font-size: 32px; }
  .footer-copyright   { flex-direction: column; text-align: center; gap: 8px; padding: 16px 24px; }
}

@media (max-width: 540px) {
  #hero      { background-position: 85% center; padding-top: 90px; min-height: 420px; }
  .hero-text { width: 100%; padding-bottom: 32px;
               background: rgba(255,255,255,.84); border-radius: var(--radius); padding: 24px; }
}

@media (max-width: 480px) {
  .sobre-actions,
  .contato-buttons    { flex-direction: column; }
  .sobre-actions .btn,
  .contato-buttons .btn { width: 100%; justify-content: center; }
}
