/* =========================================================
   DR. LAEL SILVA
   CSS PRINCIPAL
========================================================= */


/* =========================================================
   RESET
========================================================= */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  min-height: 100vh;

  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;

  color: #163843;
  background: #ffffff;

  line-height: 1.6;

  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}


/* =========================================================
   VARIÁVEIS
========================================================= */

:root {
  --primary: #075468;
  --primary-dark: #053d4c;

  --navy: #062f4d;
  --navy-dark: #04273f;

  --cyan: #00aabc;
  --cyan-light: #d9f5f6;

  --green-whatsapp: #25d366;

  --background: #ffffff;
  --background-soft: #f5faf9;
  --background-blue: #eef7f8;

  --text: #163843;
  --text-light: #657c84;

  --border: #dbe8e8;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 30px;

  --shadow:
    0 20px 50px rgba(7, 84, 104, 0.11);

  --shadow-small:
    0 8px 24px rgba(7, 84, 104, 0.1);

  --container: 1100px;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}


/* =========================================================
   HEADER
========================================================= */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;

  width: 100%;

  background: rgba(255, 255, 255, 0.96);

  border-bottom: 1px solid var(--border);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-content {
  min-height: 88px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;
}

.logo {
  display: flex;
  flex-direction: column;

  flex-shrink: 0;

  line-height: 1.15;
}

.logo-name {
  color: var(--primary);

  font-size: 1.02rem;
  font-weight: 800;
}

.logo-crm {
  margin-top: 5px;

  color: var(--text-light);

  font-size: 0.7rem;
  font-weight: 500;

  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;

  gap: 32px;
}

.nav > a:not(.button) {
  color: var(--text-light);

  font-size: 0.92rem;
  font-weight: 500;

  transition:
    color 0.2s ease;
}

.nav > a:not(.button):hover {
  color: var(--primary);
}


/* =========================================================
   BOTÕES
========================================================= */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 52px;

  padding: 0 28px;

  border: 0;
  border-radius: 999px;

  background: var(--primary);

  color: #ffffff;

  font-size: 0.95rem;
  font-weight: 700;

  cursor: pointer;

  box-shadow:
    0 9px 25px rgba(7, 84, 104, 0.15);

  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);

  background: var(--primary-dark);

  box-shadow:
    0 13px 30px rgba(7, 84, 104, 0.2);
}

.button-small {
  min-height: 42px;

  padding-inline: 22px;

  font-size: 0.86rem;
}

.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 52px;

  padding: 0 8px;

  color: var(--primary);

  font-size: 0.95rem;
  font-weight: 700;

  transition:
    color 0.2s ease;
}

.button-secondary:hover {
  color: var(--cyan);
}


/* =========================================================
   HERO
========================================================= */

.hero {
  position: relative;

  overflow: hidden;

  padding: 85px 0 100px;

  background:
    radial-gradient(
      circle at 85% 10%,
      rgba(0, 170, 188, 0.09),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #f9fcfc 0%,
      #ffffff 50%,
      #eef8f7 100%
    );
}

.hero-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1.15fr)
    minmax(350px, 0.85fr);

  gap: 70px;

  align-items: center;
}

.hero-content {
  min-width: 0;
}

.eyebrow {
  display: inline-block;

  margin-bottom: 18px;

  color: var(--cyan);

  font-size: 0.77rem;
  font-weight: 800;

  text-transform: uppercase;

  letter-spacing: 0.14em;
}

.hero h1 {
  max-width: 720px;

  color: var(--primary);

  font-size: clamp(2.7rem, 5vw, 4.65rem);
  font-weight: 800;

  line-height: 1.03;

  letter-spacing: -0.045em;
}

.hero h1 span {
  display: block;

  color: var(--navy);
}

.hero-description {
  max-width: 670px;

  margin-top: 28px;

  color: var(--text-light);

  font-size: 1.11rem;

  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 25px;

  margin-top: 34px;
}

.hero-note {
  max-width: 640px;

  margin-top: 3px;

  color: var(--text-light);

  font-size: 0.85rem;
}

.hero-info {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 22px;

  margin-top: 56px;
}

.hero-info > div {
  padding-top: 18px;

  border-top: 1px solid var(--border);
}

.hero-info strong {
  display: block;

  color: var(--primary);

  font-size: 0.88rem;
  font-weight: 750;

  line-height: 1.4;
}

.hero-info span {
  display: block;

  margin-top: 7px;

  color: var(--text-light);

  font-size: 0.78rem;

  line-height: 1.5;
}


/* =========================================================
   HERO - IMAGEM
========================================================= */

.hero-image-wrapper {
  position: relative;

  width: 100%;

  max-width: 470px;

  margin-left: auto;
}

.hero-image {
  position: relative;

  overflow: hidden;

  width: 100%;

  aspect-ratio: 1 / 1;

  border-radius: var(--radius-lg);

  background: var(--background-blue);

  box-shadow: var(--shadow);
}

.hero-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}

.doctor-card {
  position: absolute;

  left: -40px;
  bottom: 42px;

  width: 240px;

  padding: 23px;

  border: 1px solid
    rgba(219, 232, 232, 0.65);

  border-radius: var(--radius-md);

  background:
    rgba(255, 255, 255, 0.96);

  box-shadow: var(--shadow-small);

  backdrop-filter: blur(10px);
}

.doctor-card span {
  display: block;

  color: var(--text-light);

  font-size: 0.74rem;
}

.doctor-card strong {
  display: block;

  margin: 6px 0 4px;

  color: var(--primary);

  font-size: 1.04rem;
}

.doctor-card small {
  display: block;

  color: var(--text-light);

  font-size: 0.75rem;
}


/* =========================================================
   SERVIÇOS
========================================================= */

.services-strip {
  padding: 36px 0;

  background:
    linear-gradient(
      135deg,
      var(--navy-dark),
      var(--navy)
    );

  color: #ffffff;
}

.services-grid {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 28px;
}

.service-item {
  display: flex;
  align-items: center;

  min-width: 0;

  gap: 15px;
}

.service-icon {
  flex: 0 0 50px;

  width: 50px;
  height: 50px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid
    rgba(0, 202, 216, 0.7);

  border-radius: 50%;

  background:
    rgba(0, 202, 216, 0.12);

  color: #ffffff;

  font-size: 1.25rem;
}

.service-item > div {
  min-width: 0;
}

.service-item strong {
  display: block;

  color: #ffffff;

  font-size: 0.87rem;
  font-weight: 700;

  line-height: 1.35;
}

.service-item span:not(.service-icon) {
  display: block;

  margin-top: 4px;

  color:
    rgba(255, 255, 255, 0.67);

  font-size: 0.74rem;

  line-height: 1.4;
}


/* =========================================================
   SEÇÕES
========================================================= */

.section {
  padding: 100px 0;
}

.section-light {
  background: var(--background-soft);
}

.section-heading {
  max-width: 710px;

  margin: 0 auto 56px;

  text-align: center;
}

.section-heading h2,
.about-content h2,
.info-grid h2,
.cta h2 {
  color: var(--primary);

  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 800;

  line-height: 1.12;

  letter-spacing: -0.035em;
}

.section-heading p {
  max-width: 650px;

  margin: 18px auto 0;

  color: var(--text-light);

  font-size: 1rem;

  line-height: 1.65;
}


/* =========================================================
   COMO FUNCIONA
========================================================= */

.steps {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 25px;
}

.step-card {
  padding: 36px 32px;

  border: 1px solid var(--border);

  border-radius: var(--radius-md);

  background: #ffffff;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.step-card:hover {
  transform: translateY(-5px);

  border-color:
    rgba(0, 170, 188, 0.35);

  box-shadow: var(--shadow-small);
}

.step-number {
  width: 48px;
  height: 48px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 28px;

  border-radius: 50%;

  background: var(--cyan-light);

  color: var(--primary);

  font-size: 0.88rem;
  font-weight: 800;
}

.step-card h3 {
  margin-bottom: 13px;

  color: var(--primary);

  font-size: 1.18rem;

  line-height: 1.35;
}

.step-card p {
  color: var(--text-light);

  font-size: 0.93rem;

  line-height: 1.65;
}


/* =========================================================
   TELEMEDICINA / TEXTO
========================================================= */

.info-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(0, 1.1fr);

  gap: 90px;

  align-items: start;
}

.info-text {
  color: var(--text-light);

  font-size: 1.04rem;

  line-height: 1.8;
}

.info-text p + p {
  margin-top: 24px;
}


/* =========================================================
   SOBRE
========================================================= */

.about-grid {
  display: grid;

  grid-template-columns:
    minmax(320px, 0.88fr)
    minmax(0, 1.12fr);

  gap: 85px;

  align-items: center;
}

.about-image {
  overflow: hidden;

  width: 100%;

  border-radius: var(--radius-lg);

  box-shadow: var(--shadow);
}

.doctor-photo {
  width: 100%;

  aspect-ratio: 1 / 1;

  object-fit: cover;

  object-position: center;
}

.about-content {
  max-width: 590px;
}

.doctor-specialty {
  margin: 10px 0 29px;

  color: var(--cyan);

  font-size: 0.92rem;
  font-weight: 700;
}

.about-content > p:not(.doctor-specialty) {
  margin-bottom: 18px;

  color: var(--text-light);

  font-size: 0.98rem;

  line-height: 1.7;
}


/* =========================================================
   VALORES
========================================================= */

.values {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 15px;

  margin-top: 35px;
}

.values > div {
  padding: 18px;

  border: 1px solid var(--border);

  border-radius: var(--radius-sm);

  background: #ffffff;
}

.values strong {
  display: block;

  margin-bottom: 7px;

  color: var(--primary);

  font-size: 0.82rem;

  line-height: 1.3;
}

.values span {
  display: block;

  color: var(--text-light);

  font-size: 0.74rem;

  line-height: 1.45;
}


/* =========================================================
   FAQ
========================================================= */

.faq-container {
  max-width: 850px;
}

.faq {
  display: flex;
  flex-direction: column;

  gap: 13px;
}

details {
  overflow: hidden;

  border: 1px solid var(--border);

  border-radius: var(--radius-sm);

  background: #ffffff;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

details[open] {
  border-color:
    rgba(0, 170, 188, 0.3);

  box-shadow:
    0 7px 24px rgba(7, 84, 104, 0.07);
}

summary {
  cursor: pointer;

  padding: 22px 25px;

  color: var(--primary);

  font-size: 0.95rem;
  font-weight: 700;

  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";

  float: right;

  margin-left: 15px;

  color: var(--cyan);

  font-size: 1.4rem;
  font-weight: 400;
}

details[open] summary::after {
  content: "−";
}

details p {
  padding:
    0 25px 22px;

  color: var(--text-light);

  font-size: 0.91rem;

  line-height: 1.65;
}

details p + p {
  padding-top: 0;
}


/* =========================================================
   CTA
========================================================= */

.cta {
  padding: 78px 0;

  background:
    linear-gradient(
      135deg,
      var(--navy-dark),
      var(--primary)
    );

  color: #ffffff;
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 55px;
}

.cta-content > div {
  max-width: 700px;
}

.cta h2 {
  color: #ffffff;
}

.cta p {
  max-width: 650px;

  margin-top: 17px;

  color:
    rgba(255, 255, 255, 0.78);

  font-size: 0.96rem;

  line-height: 1.65;
}

.eyebrow-light {
  color: #70e3ea;
}

.button-light {
  flex-shrink: 0;

  background: #ffffff;

  color: var(--primary);
}

.button-light:hover {
  background: #eefafa;

  color: var(--primary);
}

.scheduling-note {
  margin-top: 22px;

  color:
    rgba(255, 255, 255, 0.65);

  text-align: center;

  font-size: 0.78rem;
}


/* =========================================================
   AVISO
========================================================= */

.notice {
  padding: 32px 0;

  border-top: 1px solid var(--border);

  background: #ffffff;
}

.notice p {
  max-width: 880px;

  margin-inline: auto;

  color: var(--text-light);

  text-align: center;

  font-size: 0.84rem;

  line-height: 1.6;
}

.notice strong {
  color: var(--primary);
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
  padding: 60px 0 25px;

  background: var(--navy-dark);

  color:
    rgba(255, 255, 255, 0.82);
}

.footer-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 60px;
}

.footer strong {
  display: block;

  margin-bottom: 10px;

  color: #ffffff;
}

.footer p,
.footer a {
  color:
    rgba(255, 255, 255, 0.68);

  font-size: 0.86rem;

  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;

  gap: 30px;

  margin-top: 48px;

  padding-top: 24px;

  border-top:
    1px solid rgba(255, 255, 255, 0.1);

  color:
    rgba(255, 255, 255, 0.48);

  font-size: 0.76rem;
}


/* =========================================================
   RESPONSIVO - TABLET
========================================================= */

@media (max-width: 1024px) {

  .hero-grid {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(320px, 0.75fr);

    gap: 45px;
  }

  .doctor-card {
    left: -15px;
  }

  .services-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    row-gap: 30px;
  }

  .about-grid {
    gap: 55px;
  }

  .values {
    grid-template-columns: 1fr;
  }

}


/* =========================================================
   RESPONSIVO - 900px
========================================================= */

@media (max-width: 900px) {

  html {
    scroll-padding-top: 75px;
  }

  .header-content {
    min-height: 76px;
  }

  .nav > a:not(.button) {
    display: none;
  }

  .hero {
    padding:
      65px 0 80px;
  }

  .hero-grid {
    grid-template-columns: 1fr;

    gap: 55px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-description,
  .hero-note {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-info {
    max-width: 720px;

    margin-left: auto;
    margin-right: auto;

    text-align: left;
  }

  .hero-image-wrapper {
    max-width: 540px;

    margin-inline: auto;
  }

  .doctor-card {
    left: 20px;
    bottom: 25px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step-card {
    max-width: 700px;

    width: 100%;

    margin-inline: auto;
  }

  .info-grid {
    grid-template-columns: 1fr;

    gap: 35px;
  }

  .about-grid {
    grid-template-columns: 1fr;

    gap: 45px;
  }

  .about-image {
    max-width: 560px;

    margin-inline: auto;
  }

  .about-content {
    max-width: 700px;

    margin-inline: auto;
  }

  .cta-content {
    flex-direction: column;

    text-align: center;
  }

}


/* =========================================================
   RESPONSIVO - CELULAR
========================================================= */

@media (max-width: 650px) {

  .container {
    width: min(calc(100% - 30px), var(--container));
  }

  .section {
    padding: 72px 0;
  }

  .header-content {
    min-height: 68px;

    gap: 15px;
  }

  .logo-name {
    font-size: 0.88rem;
  }

  .logo-crm {
    font-size: 0.61rem;
  }

  .button-small {
    min-height: 39px;

    padding-inline: 15px;

    font-size: 0.76rem;
  }

  .hero {
    padding:
      50px 0 65px;
  }

  .hero h1 {
    font-size: clamp(
      2.35rem,
      12vw,
      3.35rem
    );
  }

  .hero-description {
    margin-top: 23px;

    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;

    width: 100%;

    gap: 10px;

    margin-top: 28px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .button-secondary {
    width: 100%;
  }

  .hero-note {
    margin-top: 7px;
  }

  .hero-info {
    grid-template-columns: 1fr;

    gap: 14px;

    margin-top: 42px;
  }

  .hero-info > div {
    padding-top: 14px;
  }

  .hero-image-wrapper {
    width: 100%;
  }

  .hero-image {
    border-radius: 22px;
  }

  .doctor-card {
    left: 14px;
    right: 14px;
    bottom: 14px;

    width: auto;

    padding: 18px;
  }

  .services-strip {
    padding: 32px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;

    gap: 25px;
  }

  .service-item {
    align-items: flex-start;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .step-card {
    padding: 29px 25px;
  }

  .about-content {
    text-align: left;
  }

  .doctor-photo {
    aspect-ratio: 1 / 1;
  }

  .cta {
    padding: 65px 0;
  }

  .cta .button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;

    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;

    gap: 12px;
  }

}