@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@font-face {
  font-family: 'destaque';
  src: url('/fonts/Stoner-Regular.woff2') format('woff');
}
:root {
  /* Cores principais */
  --azul:#8EBBD0;
  --white:#FDFCF8;
  --black:#323334;
  --text-light: #57585A;
  --rosa:#F8AA9D;
  --azul2:#116389;
  --text-dark:#090101;
  --star-color: #10B981;
  --max-width: 1200px;
}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html, body {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

html {
  height: -webkit-fill-available;
}

h2 {
  font-family: 'destaque';
}

body {
    background-color: var(--white);
    font-family: 'Poppins', sans-serif;
    -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

ul {
    list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: url('/img/bg.webp'); /* só fundo, sem a dra. */
  background-size: 120%;
  background-position: top center;
  background-repeat: no-repeat;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 0;
  position: relative;
}

/* LOGO */
.navbar__logo img {
  height: 80px;
  position: relative;
  left: -200px;
}

/* MENU */
.navbar__nav {
  display: flex;
  gap: 40px;
  list-style: none;
  padding: 14px 40px;
  background-color: #8ebbd048;
  border-radius: 40px;
  border: 1px solid #32333450;
}

.navbar__toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--black);
}

/* LINKS */
.navbar__nav a {
  text-decoration: none;
  color: var(--black);
  font-weight: 400;
  transition: 0.3s;
}

/* ========================================
   HERO CONTENT
   ======================================== */
.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: calc(100vh - 140px);
  padding-top: 60px;
  padding-bottom: 60px;
}

/* ========================================
   HERO TEXT
   ======================================== */
.hero-text {
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding-bottom: 60px; /* compensar o padding-bottom 0 do container */
}

.hero-text h1 {
  font-size: 2.1rem;
  line-height: 1.2;
  color: var(--black);
  font-weight: bold;
  max-width: 435px;
  letter-spacing: 1.2px;
  font-family: 'destaque';
}

.hero-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--black);
  max-width: 500px;
  font-weight: 300;
}

/* ======================================
   HERO IMAGE — div com <img> real
   ====================================== */
.hero-image {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
}

.hero-image img {
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
  object-position: bottom;
  display: block;
}

/* ========================================
   BUTTONS
   ======================================== */
.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.btn-primary,
.btn-secondary {
  padding: 16px 20px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  cursor: pointer;
  border: 1px solid var(--white);
}

.btn-primary {
  background: linear-gradient(to left, #87b4c9, #116389);
  color: var(--white);
  box-shadow: 0 4px 28px rgba(107, 171, 201, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--azul2);
  border-color: var(--azul);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(107, 171, 201, 0.3);
}

/* ========================================
   RATING
   ======================================== */
.hero-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.stars {
  display: flex;
  gap: 3px;
}

.stars svg {
  color: var(--star-color);
  width: 20px;
  height: 20px;
}

.hero-rating span {
  font-size: 0.95rem;
  color: var(--text-light);
}

/*Sintomas*/

.sintomas {
  padding: 60px 20px;
}

.img-sintomas .img-mob {
  display: none;
}

.texto-sintomas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.descricao {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.texto-sintomas h2 {
  color: var(--black);
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  font-size: 1.8rem;
  font-family: 'destaque';
}

.img-sintomas {
  flex: 1;
  position: relative;
}

.img-sintomas img {
  width: 100%;
  max-width: 1000px;
  height: auto;
  flex: 1;
  display: block;
}

.descricao p {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--black);
  max-width: 610px;
  text-align: center;
  margin-top: 6px;
}

/* ===== SEÇÃO TRATAMENTOS ===== */

.tratamentos {
  padding: 100px 0;
  text-align: center;
  max-width: 1000px;
}

.tratamentos h2 {
  font-size: 1.8rem;
  margin-bottom: 60px;
  font-weight: 600;
  color: var(--black);
  font-family: 'destaque';
}

/* ===== CARROSSEL ===== */

.carousel {
  position: relative;
  display: flex;
  align-items: center;
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 30px;
  transition: transform 0.4s ease;
}

/* ===== CARD ===== */

.tratamentos-card {
  position: relative;
  flex: 0 0 calc(100% / 3 - 20px);
  flex-shrink: 0;
  padding: 35px;
  border-radius: 24px;
  border: 1px solid var(--azul2);
  text-align: left;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

/* Linha decorativa superior */
.tratamentos-card .line {
  position: absolute;
  top: -2px;
  left: 35px;
  width: 55px;
  height: 7px;
  background: var(--azul2);
}

/* Ícone */
.tratamentos-card img {
  background: var(--rosa);
  padding: 8px;
  border-radius: 14px;
  margin-bottom: 22px;
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.img img {
  width: 65px;
  height: 65px;
}

/* Título */
.title-tratamento {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 14px;
  color: var(--text-dark);
  font-family: 'destaque';
}

/* Descrição */
.desc-tratamento {
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 22px;
  font-weight: 300;
  flex-grow: 1; /* mantém botão alinhado */
}

/* Link */
.tratamentos-card a {
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  color: var(--text-dark);
  transition: 0.2s;
}

.tratamentos-card a:hover {
  color: var(--azul2);
}

/* ===== SETAS ===== */

.seta {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 1px solid var(--azul2);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  z-index: 2;
  transition: 0.2s;
}

.seta svg {
  font-size: 22px;
  color: var(--azul2);
}

.seta:hover {
  background: var(--azul2);
}

.seta:hover svg {
  color: var(--white);
}

.seta-esquerda {
  left: -60px;
}

.seta-direita {
  right: -60px;
}

/* ===== BOTÃO FINAL ===== */



.tratamentos .hero-buttons, .atendimento .hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 50px;
}

/*atendimento*/
.atendimento {
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.atendimento-container {
  background: var(--azul);
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  max-width: 900px;
}

.atendimento-content h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.atendimento-content img {
  margin-bottom: 50px;
}

.atendimento-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.atendimento-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 25px;
  width: 300px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  text-align: center;
}

.atendimento-card img {
  width: 50px;
  margin-bottom: 20px;
  padding: 10px;
  margin-top: -100px;
  background-color: var(--rosa);
  border-radius: 12px;
  z-index: 1;
}

.atendimento-card h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--text-dark);
  font-family: 'destaque';
  letter-spacing: .5px;
}

.atendimento-card h3 span {
  display: block;
  font-size: 14px;
  font-weight: 400;
}

.atendimento-card p {
  font-size: 14px;
  line-height: 1.4;
  font-weight: 300;
  color: var(--text-dark);
}

.atendimento .btn-secondary {
  background-color: var(--white);
  border: 1px solid var(--white);
}

.atendimento .btn-secondary:hover {
  background: linear-gradient(to left, #87b4c9, #116389);
  color: var(--white);
}

/*depoimentos*/
.depoimentos {
  padding: 60px 0;
  display: flex;
  justify-content: space-between;
  gap: 60px;
  align-items: center;
}

.depoimentos-text {
  flex: 1;
}

.depoimentos-text h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  max-width: 350px;
}

.depoimentos .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.depoimentos .btn-primary svg {
  width: 32px;
  height: 32px;
}

.depoimentos-grid {
  flex: 1;
  overflow: hidden;
  width: 100%;
  cursor: grab;
}

.depoimentos-grid:active {
  cursor: grabbing;
}

.depoimentos-cards {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scrollDep 25s linear infinite;
}

@keyframes scrollDep {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.depoimentos-cards:hover {
    animation-play-state: paused;
}

.depoimentos-cards img {
  width: 300px;
  height: auto;
  border-radius: 12px;
  border: 1.5px solid var(--azul2);
  flex-shrink: 0;
  object-fit: contain;
  pointer-events: none;
}

/*Sobre mim*/
.sobre-mim {
  padding: 60px 20px;
}

.sobre {
  display: flex;
  justify-content: space-between;
  gap: 85px;
}

.sobre img {
  width: 500px;
}

.sobre .title-p {
  color: var(--text-dark);
  font-weight: 300;
  font-size: 14px;
}

.sobre .text-sobre {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  gap: 15px;
}

.text-sobre h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
}

.text-sobre p {
  color: var(--black);
  font-size: 16px;
  font-weight: 400;
}

.text-sobre b {
  font-weight: 600;
}

/*agendamento*/

.agendamento {
  padding: 60px 100px;
  background-color: #FBD1C0;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  border-radius: 20px;
  border: 1px solid var(--text-dark);
  position: relative;
  z-index: 2;
  margin-bottom: -80px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.agendamento h2 {
  margin-bottom: 20px;
}

.card-agenda {
    background: #E8F4F4;
    border-radius: 16px;
    padding: 1.8rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(74,124,126,.15);
  }

  .card-agenda__left {
    flex: 0 0 250px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.1);
    padding: .9rem;
  }

  .doctor-row {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: .5rem;
  }

  .doctor-avatar img {
    width: 38px; height: 40px;
    object-fit: cover;
    border-radius: 50%;
    background: linear-gradient(135deg, #b8d8d8, #7fb3b3);
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
  }

  .doctor-name { font-size: .75rem; font-weight: 600; color: var(--black); line-height: 1.2; }
  .doctor-spec { font-size: .65rem; color: var(--text-light); }
  .starss { color: var(--star-color); font-size: .65rem; margin-bottom: .6rem; }

  .mock-calendar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 3px;
    margin-bottom: .4rem;
    font-family: 'Poppins', sans-serif;
  }

  .mock-calendar .day-label {
    font-size: .5rem; color: #aaa; text-align: center; padding: 2px 0;
  }

  .mock-slot {
    height: 20px;
    border-radius: 3px;
    background: #e8f4f4;
    font-size: .5rem;
    display: flex; align-items: center; justify-content: center;
    color: #4a7c7e;
  }

  .mock-slot.avail { background: #007c68; color: white; }
  .mock-slot.taken { background: #f0e8e8; color: #c9a; }
  .mock-slot.empty { background: #f5f5f5; }

  .card-agenda__right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .card-agenda__right p {
    font-size: 1rem;
    color: var(--black);
    line-height: 1.55;
    font-weight: 400;
  }

  /* THE BUTTON - stronger version */
  .card-agenda__right .btn-primary {
    padding: .85rem 1.6rem;
    display: flex;
    align-items: center;
  }

  /* ─── Unidades ─── */
  .card-units {
    background: var(--white);
    border-radius: 16px;
    padding: 1.6rem 1.8rem;
    border: 1px solid rgba(0,0,0,.07);
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
  }

  .units-heading { font-size: 1.05rem; font-weight: 600; color: var(--black); margin-bottom: .2rem; }
  .units-sub { font-size: .85rem; color: var(--black); margin-bottom: 1.2rem; line-height: 1.4; max-width: 350px;}

  .units-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

  .unit {
    display: flex;
    gap: .65rem;
    align-items: flex-start;
  }

  .unit-pin {
    background: var(--azul);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: .9rem;
    margin-top: 2px;
    width: 30px;
    height: 30px;
  }

  .unit-pin svg {
    width: 20px; height: 20px;
    color: var(--text-light);
  }

  .unit-info { font-size: .82rem; line-height: 1.5; color: var(--black); }
  .unit-info strong { font-size: .88rem; color: var(--black); display: block; margin-bottom: .9rem;; }

  .unit-info a { color: var(--azul2); text-decoration: none; }
  .unit-info a:hover { text-decoration: underline; }

  /* anim */
  .card-agenda { animation: up .45s ease both; }
  .card-units { animation: up .45s .1s ease both; }

  @keyframes up {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @media (max-width: 520px) {
    .card-agenda { flex-direction: column; }
    .card-agenda__left { flex: unset; width: 100%; }
    .units-grid { grid-template-columns: 1fr; }
  }

/*faq*/

.faq {
  display: flex;
  flex-direction: column;
  padding: 5rem;
  border-radius: 16px;
  text-align: center;
  align-items: center;
  margin: 2rem auto;
}

.faq h2 {
  color: var(--black);
  margin-bottom: 3rem;
  font-size: 1.8rem;
  font-weight: 600;
}

.faq-container {
    margin: 0 auto;
    max-width: 800px;
}

.faq-item {
    border: 1px solid var(--azul);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    background-color: var(--white);
    justify-content: space-between;
    align-items: center;
    border: 1px solid #8ebbd050;
    cursor: pointer;
    text-align: left;
    transition: 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.faq-question span {
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 400;
    flex: 1;
    font-family: 'Poppins', sans-serif;
}

.faq-question i {
    color: var(--text-dark);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 1.5rem 1.5rem;
    color: var(--text-darkdark);
    line-height: 1.4;
    font-size: 16px;
    font-weight: 400;
    text-align: left;
}

/* Estado ativo (aberto) */
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-question {
  background-color: #8ebbd034;
}

.faq-item.active .faq-answer {
    max-height: 400px;
}

.faq h3 {
  color: var(--verde);
  margin-top: 25px;
  margin-bottom: 10px;
}

.faq .faq-final {
  color: var(--verde);
  max-width: 500px;
  margin-bottom: 20px;
}

/* footer */
footer {
  background: var(--azul);
  padding: 120px 40px 40px;
  color: var(--white);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.footer-col h4 {
  margin-bottom: 15px;
  font-size: 16px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.footer-logo {
  max-width: 200px;
}

.footer-social .social-icons svg {
  width: 30px;
  height: 30px;
  color: var(--white);
}

.footer-social a {
  text-decoration: none;
  transition: 0.3s;
}

.footer-line {
  height: 1px;
  background: rgba(255,255,255,0.3);
  margin: 30px auto;
  max-width: 1200px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 13px;
}

.footer-bottom a {
  color: var(--white);
}

strong {
  font-weight: 400;
}

/*animaçoes*/
.hero-text h1, .hero-text p, .hero-text .btn,
.hero-infos span, 
.tratamentos,
.atendimento {
    transform: translateY(50px);
    opacity: 0;
}

/*subpaginas tratamentos*/
.hero-tratamentos{
  display: flex;
  flex-direction: column;
}

.herot-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.trat {
  margin-top: -5px;
}

.img-tratamento {
  flex: 1;
  display: flex;
  justify-content: center; /* centraliza horizontal */
  align-items: center;     /* centraliza vertical */
}

.img-tratamento img {
  max-width: 100%;
  width: 450px; /* controla tamanho */
  height: auto;
  object-fit: contain;
  border-radius: 15px;
  border: 1px solid var(--text-light);
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

/* SEÇÃO EXPLICAÇÃO */

.explicacao {
  padding: 60px 0;
  max-width: 1000px; /* controla largura do texto */
}

/* Título */
.explicacao h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}

/* Linha azul */
.explicacao .linha {
  width: 60px;
  height: 4px;
  background: var(--azul2);
  margin-bottom: 30px;
}

/* Parágrafos */
.explicacao p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--black);
  font-weight: 400;
  margin-bottom: 22px;
}

/* SINTOMAS MAIS COMUNS */

.sintomascomuns {
  background: var(--azul);
  padding: 60px 0;
  border-radius: 0;
  width: 100%;
}

.sintomascomuns .container {
  max-width: 1050px; /* controla largura do texto */
}

/* Título */
.sintomascomuns h2 {
  font-size: 1.8rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}

/* Linha branca */
.linha2 {
  width: 60px;
  height: 3px;
  background: var(--white);
  margin-bottom: 40px;
}

/* Grid */
.sintomascomuns .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px 40px;
}

/* Card */
.sintomascomuns .cards {
  background: var(--white);
  padding: 14px 22px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid rgba(0,0,0,0.05);
  border: 1px solid var(--azul2);
}

/* Ícone */
.sintomascomuns .cards i {
  font-size: 24px;
  color: var(--white);
  background: var(--azul); /* azul mais claro do exemplo */
  padding: 12px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Texto */
.sintomascomuns .cards p {
  margin: 0;
  font-size: 17px;
  color: var(--text-dark);
  font-weight: 400;
}

.explicacao b {
  font-weight: normal;
  text-decoration:underline;
}

/* SEÇÃO OTORRINO */

.otorrino {
  display: flex;
 align-items: flex-start;
  gap: 70px;
  padding: 60px 0;
  max-width: 1000px;
  margin-bottom: 60px;
}


.img-otorrino img {
  width: 400px;
  border-radius: 22px;
  display: block;
}

.otorrino-text h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: var(--text-dark);
  max-width: 500px;
}

.otorrino-text .linha {
  width: 60px;
  height: 4px;
  background: var(--azul2);
  margin-bottom: 28px;
}

.otorrino-text p {
  font-size: 17px;
  line-height: 1.8;
  font-weight: 400;
  margin-bottom: 22px;
  max-width: 520px;
  color: var(--black);
}

.otorrino-text {
  align-items: start;
}

/*cookies*/
#cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: var(--black);
  color: var(--white);
  padding: 15px;
  z-index: 9999;
}

.cookie-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.cookie-container p {
  font-size: 14px;
}

.cookie-container a {
  color: var(--white);
  text-decoration: underline;
}

#acceptCookies {
  background: var(--white);
  border: none;
  border-radius: 3px;
  padding: 10px 16px;
  cursor: pointer;
  color: var(--azul2);
  font-weight: bold;
}

/*politica*/ 
.politica h2 {
margin-top: 20px;
}

.politica {
  padding-top:30px ;
  max-width: 900px;
}

@media (max-width: 768px) {
  /* Hero background mobile */
  .hero {
    min-height: auto;
    background-image: url('/img/bgg.webp');
  }

  /* Navbar mobile */
  .navbar {
    padding: 20px 0;
  }

  .navbar__logo img {
    height: 60px;
    left: 0;
  }

  /* Botão hamburguer */
  .navbar__toggle {
    display: block;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
  }

  body.menu-open .navbar__toggle {
  position: fixed;
  right: 25px;
  top: 54px;
}

  /* Menu mobile */
  .navbar__nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 80%;
    max-width: 300px;
    flex-direction: column;
    padding: 100px 30px 30px;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 0;
    border: none;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    gap: 30px;
    z-index: 1000;
  }

  .navbar__nav.active {
    right: 0;
  }

  .navbar__nav li {
    width: 100%;
  }

  .navbar__nav a {
    display: block;
    padding: 12px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  /* Hero container - coluna única */
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 30px;
    padding-bottom: 40px;
    min-height: auto;
  }

  /* Hero text mobile */
  .hero-text {
    gap: 20px;
    text-align: center;
    align-items: center;
  }

  .hero-text h1 {
    font-size: 1.6rem;
    max-width: 100%;
  }

  .hero-text p {
    font-size: 0.95rem;
    max-width: 100%;
    margin-bottom: -40px;
  }

  /* Botões mobile */
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    margin-top: 40px;
  }

  .btn-primary,
  .btn-secondary {
    text-align: center;
    padding: 14px 24px;
  }

  /* Rating mobile */
  .hero-rating {
    justify-content: center;
    flex-direction: column;
  }

  .texto-sintomas h2 {
    font-size: 1.5rem;
    max-width: 250px;
  }

  .tabs {
    flex-direction: column;
  }

  .agendamento-card {
    padding: 25px;
  }

  .img-sintomas .img-mob {
  display: block;
  width: 380px;
}

.img-sintomas .img {
  display: none;
}

.tratamentos {
    padding: 70px 0;
  }

.tratamentos h2 {
  font-size: 1.5rem
}

   /* Carousel com padding lateral para dar margem */
  .carousel {
    padding: 0 50px; /* Espaço para as setas */
  }

  .carousel-viewport {
    overflow: hidden;
    border-radius: 24px; /* Opcional: arredondar viewport */
  }

  /* Card ocupa 100% do viewport menos as margens */
  .tratamentos-card {
    flex: 0 0 100%;
    min-width: 100%;
    padding: 30px 25px;
  }

  /* Linha decorativa menor no mobile */
  .tratamentos-card .line {
    left: 25px;
    width: 45px;
    height: 6px;
  }

  /* Ícone menor */
  .tratamentos-card img {
    width: 50px;
    height: 50px;
    margin-bottom: 18px;
  }

  .img img {
    width: 55px;
    height: 55px;
  }

  /* Títulos e textos menores */
  .title-tratamento {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .desc-tratamento {
    font-size: 14px;
    margin-bottom: 18px;
  }

  .tratamentos-card a {
    font-size: 14px;
  }

  /* Setas menores e posicionadas dentro do padding */
  .seta {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--azul2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .seta svg {
    font-size: 20px;
  }

  .seta-esquerda {
    left: 5px; /* Dentro do padding do carousel */
  }

  .seta-direita {
    right: 5px; /* Dentro do padding do carousel */
  }

  /* Gap menor entre cards no mobile */
  .carousel-track {
    gap: 20px;
  }
  .seta-direita {
    right: 3px;
  }

   .atendimento-container {
    padding: 40px 20px;
  }

  .atendimento h2 {
    font-size: 1.5rem;
  }

  .atendimento-grid {
    flex-direction: column;
    align-items: center;
  }

  .atendimento-card {
    max-width: 350px;
  }

  .depoimentos {
    flex-direction: column;
    gap: 40px;
  }

  .depoimentos h2 {
    font-size: 1.5rem;
  }

  .depoimentos-text {
    text-align: center;
  }

  .depoimentos-grid {
    width: 100%;
  }

  .depoimentos-cards img {
    width: 200px;
  }

  .depoimentos .btn-primary {
    margin-top: -20px;
  }

            .sobre {
              flex-direction: column-reverse;
            }

            .sobre h2 {
              font-size: 1.5rem;
            }

            .text-sobre p {
              font-size: 14px;
              line-height: 1.6;
            }

            .sobre img {
              width: 100%;
            }

            .faq h2 {
              font-size: 1.5rem;
            }

            .faq h2 {
    width: 300px;
  }

  .faq {
    padding: 1rem;
  }

  .faq-container {
    margin-bottom: 60px;
  }

  .faq-question span {
    font-size: 16px;
  }

  .faq-question i {
    font-size: 1.2rem;
  }

  .faq-question {
    padding: 1rem;
  }

  .faq h3 {
    max-width: 250px;
  }

  .agendamento {
    margin: 15px;
    margin-bottom: -70px;
    padding: 60px 20px;
  }

  .card-agenda__right p {
    text-align: center;
  }

  .card-agenda__right .btn-primary {
    font-size: 0.8rem;
    padding: .85rem 1rem;
  }

  .agendamento h2 {
    font-size: 1.5rem;
  }

  .mapa {
    width: 100%;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .footer-center {
    order: -1;
    margin-bottom: 30px;
  }

  /* Links */
  .footer-col:first-child {
    order: 1;
    margin-bottom: 25px;
  }

  .hero-text:first-child {
    order: 1;
  }

  .hero-image {
    order: 2;
  }

  /* Redes */
  .footer-social {
    order: 2;
  }

  .trat {
    margin-top: 50px;
  }

  .explicacao {
    padding: 60px 20px;
  }

  .explicacao h2 {
    font-size: 22px;
  }

  .explicacao p {
    font-size: 15px;
    line-height: 1.7;
  }

  .sintomascomuns {
    padding: 60px 20px;
  }

  .sintomascomuns .grid {
    grid-template-columns: 1fr;
  }

  .sintomascomuns h2 {
    font-size: 22px;
  }

  .sintomascomuns .cards {
    padding: 16px;
  }

  .sintomascomuns .cards p {
    font-size: 14px;
  }

  .otorrino {
    flex-direction: column;
    gap: 40px;
    padding: 70px 20px;
  }

  .img-otorrino img {
    width: 350px;
    left: 10px;
  }

  .otorrino-text h2 {
    font-size: 24px;
  }

  .otorrino-text p {
    font-size: 15px;
    line-height: 1.7;
  }

  .otorrino .hero-buttons {
    align-items: center;
  }

}

@media (max-width: 1024px) {
  .hero-text h1 {
    font-size: 1.5rem;
    }

    .navbar__logo img {
    left: 0;
    height: 70px;
  }

  .hero-container {
    gap: 40px;
    padding-top: 40px;
  }

  .navbar__nav {
    gap: 25px;
  }
  
  .hero .container, .hero-tratamentos .container {
      margin: 0;
    }


  @media (max-width: 480px) {
    .hero .container, .hero-tratamentos .container {
      margin: 0;
    }

            .hero-text h1 {
                font-size: 1.5rem;
            }

            .hero-infos span {
                font-size: 0.9rem;
                padding: 12px 16px;
            }
        }
      }

@media (min-width: 769px) and (max-width: 1024px) {

    .hero-container {
    grid-template-columns: 1fr;
    padding-top: 20px;
    min-height: auto;
  }

  .hero-text {
    text-align: center;
    align-items: center;
  }

  .hero-text h1 {
    font-size: 1.85rem;
    max-width: 600px;
  }

  .hero-text p {
    max-width: 560px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-rating {
    justify-content: center;
  }
  }

@media (width:1024px) {
  .otorrino {
      flex-direction: row;
    }
}

@media (min-width: 674px) and (max-width: 764px) { 
  .hero-image img {
    margin-top: 175px; /* desce a imagem */
  }
}