@charset "UTF-8";

/* ================================================================
   LS — FISIOTERAPIA PRIVADA
   CSS puro, sem frameworks e organizado na mesma ordem do HTML.
   ================================================================ */


/* ================================================================
   00. FONTES LOCAIS
   ================================================================ */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-regular-400.ttf") format("truetype");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-medium-500.ttf") format("truetype");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-italic-400.ttf") format("truetype");
}

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/jost-light-300.ttf") format("truetype");
}

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/jost-regular-400.ttf") format("truetype");
}

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/jost-medium-500.ttf") format("truetype");
}


/* ================================================================
   01. VARIÁVEIS, RESET E ESTILOS COMPARTILHADOS
   ================================================================ */

:root {
  --color-background: #f8f6f1;
  --color-foreground: #1c2935;
  --color-card: #fbfaf7;
  --color-primary: #179098;
  --color-primary-complement: #6cc3c4;
  --color-primary-foreground: #fdfcf9;
  --color-secondary: #f0ede6;
  --color-muted-foreground: #596672;
  --color-border: #ddd9d0;
  --color-accent-foreground: #327b82;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Jost", Arial, sans-serif;
  --shadow-soft: 0 18px 40px -18px rgb(23 144 152 / 55%);
}

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

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

body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body,
h1,
h2,
h3,
p,
figure,
blockquote {
  margin: 0;
}

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

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

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 5px;
}

::selection {
  background: var(--color-primary-complement);
  color: var(--color-foreground);
}

.svg-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 64px;
}

.section {
  padding-block: 112px;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 2.4fr;
  gap: 56px;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  line-height: 1.7;
  text-transform: uppercase;
}

.eyebrow-with-line {
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgb(28 41 53 / 80%);
}

.eyebrow-line {
  flex: 0 0 auto;
  width: 56px;
  height: 1px;
  background: rgb(23 144 152 / 60%);
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 400;
}

h2 {
  margin-top: 32px;
  font-size: 3rem;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.short-rule {
  display: block;
  width: 48px;
  height: 1px;
  margin-top: 40px;
  background: var(--color-primary);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 2px;
  background: var(--color-primary);
  box-shadow: var(--shadow-soft);
  color: var(--color-primary-foreground);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  line-height: 1.4;
  text-transform: uppercase;
  transition: background-color 180ms ease, transform 180ms ease;
}

.button:hover {
  background: #127c83;
}

.button-large {
  padding: 16px 32px;
}

.whatsapp-icon {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}


/* ================================================================
   02. CABEÇALHO
   ================================================================ */

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 20px;
}

.monogram {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 3rem;
  font-style: italic;
  line-height: 1;
  white-space: nowrap;
}

.monogram span {
  margin-left: -8px;
  vertical-align: -0.15em;
}

.brand-description {
  padding-left: 20px;
  border-left: 1px solid rgb(28 41 53 / 20%);
  color: rgb(28 41 53 / 70%);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  line-height: 1.65;
  text-transform: uppercase;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 40px;
}

.main-navigation a {
  color: rgb(28 41 53 / 85%);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.main-navigation a:hover,
.footer-navigation a:hover {
  color: var(--color-primary);
}

.button-header {
  gap: 8px;
  padding: 12px 20px;
  box-shadow: none;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
}


/* ================================================================
   03. ABERTURA / HERO
   ================================================================ */

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 70% center;
}

.hero-overlay {
  background: linear-gradient(
    90deg,
    rgb(248 246 241 / 97%) 0%,
    rgb(248 246 241 / 85%) 38%,
    rgb(248 246 241 / 0%) 65%
  );
}

.hero-inner {
  position: relative;
  padding-top: 176px;
  padding-bottom: 96px;
}

.hero-content {
  max-width: 672px;
}

.hero h1 {
  margin-top: 32px;
  font-size: 4.5rem;
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.hero-subtitle {
  max-width: 512px;
  margin-top: 32px;
  color: rgb(28 41 53 / 85%);
  font-family: var(--font-serif);
  font-size: 1.875rem;
  line-height: 1.25;
}

.hero-service-description {
  margin-top: 32px;
  color: rgb(28 41 53 / 75%);
  line-height: 2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
  margin-top: 40px;
}

.experience-seal {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-left: 24px;
  border-left: 1px solid rgb(28 41 53 / 20%);
}

.experience-seal strong {
  color: var(--color-primary);
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 400;
  line-height: 1;
}

.experience-seal .eyebrow {
  color: rgb(28 41 53 / 70%);
}

.hero-quote {
  position: absolute;
  right: 64px;
  bottom: 64px;
  max-width: 224px;
  color: rgb(28 41 53 / 80%);
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.65;
  text-align: right;
}


/* ================================================================
   04. ESPECIALIDADES
   ================================================================ */

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px;
}

.specialty-number {
  color: var(--color-primary);
  font-family: var(--font-serif);
  font-size: 1.875rem;
  line-height: 1.2;
}

.specialty h3 {
  margin-top: 20px;
  font-size: 1.5rem;
  line-height: 1.25;
}

.specialty-rule {
  display: block;
  width: 40px;
  height: 1px;
  margin-top: 20px;
  background: var(--color-primary);
}

.specialty > p:last-child {
  margin-top: 20px;
  color: var(--color-muted-foreground);
  font-size: 0.875rem;
  line-height: 1.65;
}


/* ================================================================
   05. HIDROTERAPIA E HIDROGINÁSTICA
   ================================================================ */

.hydrotherapy {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
}

.hydrotherapy-image-panel {
  position: relative;
  min-height: 460px;
}

.hydrotherapy-image-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-words {
  position: absolute;
  top: 48px;
  left: 40px;
  color: var(--color-primary-foreground);
  line-height: 2.4;
  text-shadow: 0 1px 4px rgb(0 0 0 / 35%);
}

.hydrotherapy-content {
  position: relative;
  padding: 80px 56px;
  background: var(--color-card);
}

.hydrotherapy-water-line {
  position: absolute;
  inset: 0 0 0 auto;
  width: 64px;
  background: linear-gradient(
    180deg,
    var(--color-primary-complement),
    var(--color-primary)
  );
}

.hydrotherapy-content-inner {
  max-width: 576px;
  padding-right: 64px;
}

.hydrotherapy-intro {
  margin-top: 24px;
  color: rgb(28 41 53 / 80%);
  font-family: var(--font-serif);
  font-size: 1.125rem;
  line-height: 1.65;
}

.hydrotherapy-types {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.hydrotherapy-type {
  padding-top: 20px;
  border-top: 1px solid rgb(23 144 152 / 40%);
}

.hydrotherapy-type .eyebrow {
  color: var(--color-primary);
}

.hydrotherapy-type > p:last-child {
  margin-top: 12px;
  color: var(--color-muted-foreground);
  font-size: 0.875rem;
  line-height: 1.65;
}

.hydrotherapy-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 40px;
}

.hydrotherapy-features p {
  padding-inline: 12px;
  border-left: 1px solid var(--color-border);
  font-size: 0.58rem;
  line-height: 1.65;
}

.hydrotherapy-features p:first-child {
  padding-left: 0;
  border-left: 0;
}

.hydrotherapy-button {
  margin-top: 40px;
}


/* ================================================================
   06. DIFERENCIAIS DO CUIDADO CONCIERGE
   ================================================================ */

.concierge {
  background: var(--color-secondary);
}

.concierge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 48px;
  row-gap: 48px;
}

.concierge-number {
  color: var(--color-accent-foreground);
  font-family: var(--font-serif);
  font-size: 0.875rem;
  font-style: italic;
}

.concierge-item h3 {
  margin-top: 12px;
  font-size: 1.5rem;
  line-height: 1.25;
}

.concierge-item > p:last-child {
  margin-top: 12px;
  color: var(--color-muted-foreground);
  font-size: 0.875rem;
  line-height: 1.65;
}


/* ================================================================
   07. DEPOIMENTOS
   ================================================================ */

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

.testimonial {
  padding-inline: 32px;
  border-left: 1px solid var(--color-border);
}

.testimonial:first-child {
  padding-left: 0;
  border-left: 0;
}

.testimonial blockquote {
  color: rgb(28 41 53 / 85%);
  font-family: var(--font-serif);
  font-size: 1.125rem;
  line-height: 1.65;
}

.testimonial figcaption {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  color: var(--color-muted-foreground);
  font-family: var(--font-serif);
  font-size: 0.875rem;
  line-height: 1.6;
}

.testimonial figcaption > span {
  flex: 0 0 auto;
  width: 16px;
  height: 1px;
  margin-top: 8px;
  background: var(--color-foreground);
}


/* ================================================================
   08. PERGUNTAS FREQUENTES
   ================================================================ */

.faq {
  border-top: 1px solid var(--color-border);
}

.faq-list {
  border-top: 1px solid var(--color-border);
}

.faq-list details {
  padding-block: 24px;
  border-bottom: 1px solid var(--color-border);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  flex: 0 0 auto;
  color: var(--color-primary);
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 180ms ease;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details > p {
  max-width: 672px;
  margin-top: 16px;
  color: var(--color-muted-foreground);
  font-size: 0.875rem;
  line-height: 1.65;
}


/* ================================================================
   09. CHAMADA FINAL / CONTATO
   ================================================================ */

.contact {
  display: grid;
  grid-template-columns: 1fr 2fr;
  background: var(--color-secondary);
}

.contact-image-panel {
  position: relative;
  min-height: 320px;
}

.contact-image-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-image-words {
  position: absolute;
  bottom: 48px;
  left: 40px;
  color: var(--color-primary-foreground);
  line-height: 2.2;
  text-shadow: 0 1px 4px rgb(0 0 0 / 35%);
}

.contact-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 80px 64px;
}

.contact-content h2 {
  margin-top: 24px;
}

.contact-subtitle {
  margin-top: 20px;
  color: rgb(28 41 53 / 75%);
  font-family: var(--font-serif);
  font-size: 1.125rem;
}

.contact-action {
  flex: 0 0 auto;
}

.contact-action > p {
  margin-top: 20px;
  color: rgb(28 41 53 / 70%);
  font-size: 0.6rem;
}


/* ================================================================
   10. RODAPÉ E BOTÃO FLUTUANTE
   ================================================================ */

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 20px;
}

.monogram-small {
  font-size: 2.5rem;
}

.footer-brand p,
.footer-location {
  color: rgb(28 41 53 / 70%);
  font-size: 0.6rem;
}

.footer-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-navigation a {
  font-size: 0.6rem;
  transition: color 180ms ease;
}

.footer-location {
  text-align: right;
}

.floating-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: var(--shadow-soft);
  color: var(--color-primary-foreground);
  outline: 4px solid rgb(108 195 196 / 40%);
  transition: transform 180ms ease;
}

.floating-whatsapp:hover {
  transform: scale(1.05);
}

.floating-whatsapp svg {
  width: 28px;
  height: 28px;
}


/* ================================================================
   11. AJUSTES PARA TELAS MÉDIAS
   ================================================================ */

@media (max-width: 1279px) {
  .specialties-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-quote,
  .hydrotherapy-water-line {
    display: none;
  }

  .hydrotherapy-content-inner {
    padding-right: 0;
  }

  .contact-content {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* ================================================================
   12. AJUSTES PARA TABLETS
   ================================================================ */

@media (max-width: 1023px) {
  .main-navigation {
    display: none;
  }

  .split-layout {
    grid-template-columns: 1fr;
  }

  .section-introduction {
    max-width: 620px;
  }

  .hydrotherapy,
  .contact {
    grid-template-columns: 1fr;
  }

  .hydrotherapy-image-panel {
    min-height: 520px;
  }

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

  .testimonials-grid {
    gap: 40px;
  }

  .testimonial {
    padding-inline: 0;
    border-left: 0;
  }

  .contact-content {
    align-items: center;
    flex-direction: row;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-location {
    text-align: left;
  }
}


/* ================================================================
   13. AJUSTES PARA CELULARES
   ================================================================ */

@media (max-width: 767px) {
  .container {
    padding-inline: 24px;
  }

  .section {
    padding-block: 80px;
  }

  h2 {
    font-size: 2.25rem;
  }

  .hero-inner {
    padding-top: 152px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .hero-overlay {
    background: linear-gradient(
      90deg,
      rgb(248 246 241 / 97%) 0%,
      rgb(248 246 241 / 88%) 55%,
      rgb(248 246 241 / 45%) 100%
    );
  }

  .hydrotherapy-content {
    padding: 64px 32px;
  }

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

  .contact-content {
    align-items: flex-start;
    flex-direction: column;
    padding: 64px 32px;
  }

  .faq-list summary {
    font-size: 1.25rem;
  }
}

@media (max-width: 639px) {
  .brand-description,
  .button-header-label {
    display: none;
  }

  .button-header {
    padding: 14px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .experience-seal {
    margin-left: 4px;
  }

  .specialties-grid,
  .hydrotherapy-types,
  .concierge-grid {
    grid-template-columns: 1fr;
  }

  .hydrotherapy-image-panel {
    min-height: 420px;
  }

  .hydrotherapy-features {
    gap: 0;
  }

  .contact-action,
  .contact-action .button {
    width: 100%;
  }

  .contact-action .button {
    padding-inline: 20px;
    font-size: 0.65rem;
    letter-spacing: 0.18em;
  }

  .contact-action > p {
    max-width: 100%;
    font-size: 0.52rem;
    letter-spacing: 0.18em;
    line-height: 1.9;
    text-align: center;
  }

  .footer-navigation {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 390px) {
  .hero h1 {
    font-size: 2.65rem;
  }

  .eyebrow-with-line {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero .eyebrow-with-line {
    flex-direction: row;
  }

  .button-large {
    padding-inline: 20px;
    font-size: 0.64rem;
    letter-spacing: 0.16em;
  }

  .hydrotherapy-features {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hydrotherapy-features p,
  .hydrotherapy-features p:first-child {
    padding: 0 0 12px;
    border-bottom: 1px solid var(--color-border);
    border-left: 0;
  }
}


/* ================================================================
   14. ACESSIBILIDADE: MOVIMENTO REDUZIDO
   ================================================================ */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
