/* ============================================================
   Brand fonts, CSS variables & reset
   ============================================================ */
@font-face {
  font-family: 'Recoleta';
  src: url('../assets/fonts/recoleta-regular.otf') format('opentype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Recoleta';
  src: url('../assets/fonts/recoleta-semibold.otf') format('opentype');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: 'Recoleta';
  src: url('../assets/fonts/recoleta-bold.otf') format('opentype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --primary:        #BD4C6B;
  --primary-dark:   #BD4C6B;
  --primary-light:  #F7EBEB;
  --accent:         #E298A5;
  --secondary:      #619191;
  --secondary-dark: #619191;
  --secondary-light:#F7EBEB;
  --bg:             #F7EBEB;
  --bg-alt:         #F7EBEB;
  --white:          #FFFFFF;
  --text:           #3A3A3A;
  --text-light:     #6B6B6B;
  --text-lighter:   #9B9B9B;

  --font-heading:    'Recoleta', Georgia, serif;
  --font-sub:        'Recoleta', Georgia, serif;
  --font-body:       'Recoleta', Georgia, serif;

  --radius-sm:   8px;
  --radius:      14px;
  --radius-lg:   24px;
  --radius-full: 9999px;

  --shadow-sm:      0 2px 8px rgba(0,0,0,.06);
  --shadow:         0 4px 24px rgba(0,0,0,.09);
  --shadow-lg:      0 8px 40px rgba(0,0,0,.13);
  --shadow-primary: 0 4px 18px rgba(189,76,107,.32);

  --transition: .3s ease;

  --header-h: 88px;
  --container: 1200px;
  --pad:       1.5rem;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
ol   { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
[hidden] { display: none !important; }

/* ---- Container ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section { padding: 5rem 0; }

/* ---- Decorative brand watermark ---- */
.sobre,
.abordagem,
.contacto {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.sobre::before,
.abordagem::before,
.contacto::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: clamp(320px, 42vw, 620px);
  aspect-ratio: 1;
  background: url('../assets/images/MARCADAGUA26.png') center / contain no-repeat;
  opacity: .16;
  filter: brightness(0) saturate(100%) invert(41%) sepia(32%) saturate(1546%) hue-rotate(291deg) brightness(91%) contrast(90%);
  pointer-events: none;
}
.sobre::before {
  right: -9%;
  bottom: -14%;
  transform: rotate(-8deg);
}
.abordagem::before {
  left: -11%;
  top: 8%;
  transform: rotate(10deg);
}
.contacto::before {
  right: -10%;
  top: 5%;
  transform: rotate(-6deg);
}
.sobre > .container,
.abordagem > .container,
.contacto > .container {
  position: relative;
  z-index: 1;
}

/* ============================================================
   Typography helpers
   ============================================================ */
.section-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-family: var(--font-sub);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.especialidades .section-badge,
.em-breve .section-badge,
.abordagem .section-badge,
.faq .section-badge,
.contacto .section-badge {
  background: var(--secondary);
  color: var(--white);
  font-size: .9rem;
  padding: .45rem 1.15rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: .9rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 580px;
  margin: 0 auto;
}
.section-subtitle strong {
  display: block;
  margin-bottom: .35rem;
  color: var(--primary);
  font-weight: 600;
}

.section-header { text-align: center; margin-bottom: 3rem; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-sub);
  font-size: .95rem;
  font-weight: 700;
  border: 2px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn--primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  filter: brightness(.9);
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

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

.btn--large { padding: 1rem 2.25rem; font-size: 1rem; }
.btn--small { padding: .5rem 1.25rem; font-size: .875rem; }
.btn--full  { width: 100%; justify-content: center; }

/* ============================================================
   Fade-in scroll animations
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Cookie Banner
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: var(--white);
  border-top: 3px solid var(--primary);
  box-shadow: 0 -4px 20px rgba(0,0,0,.1);
  transform: translateY(100%);
  transition: transform .4s ease;
}
.cookie-banner.show { transform: translateY(0); }

.cookie-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.1rem var(--pad);
  max-width: var(--container);
  margin: 0 auto;
  flex-wrap: wrap;
}

.cookie-text {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  flex: 1;
  min-width: 240px;
}
.cookie-text i { color: var(--primary); font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.cookie-text p { font-size: .875rem; color: var(--text-light); line-height: 1.5; }
.cookie-link { color: var(--primary); text-decoration: underline; }

.cookie-buttons { display: flex; gap: .65rem; flex-wrap: wrap; }

.btn-cookie {
  padding: .5rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: .85rem;
  font-weight: 600;
  font-family: var(--font-sub);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-cookie--primary  { background: var(--primary); color: var(--white); border: 2px solid var(--primary); }
.btn-cookie--primary:hover { background: var(--primary-dark); filter: brightness(.9); }
.btn-cookie--secondary{ background: var(--secondary); color: var(--white); border: 2px solid var(--secondary); }
.btn-cookie--secondary:hover { background: var(--secondary-dark); filter: brightness(.85); }
.btn-cookie--outline  { background: transparent; color: var(--text-light); border: 2px solid var(--bg-alt); }
.btn-cookie--outline:hover { border-color: var(--text-light); }

/* ============================================================
   Header
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.header.scrolled {
  border-bottom-color: rgba(0,0,0,.08);
  box-shadow: var(--shadow);
}

.nav {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 1.5rem;
}

.nav-logo { flex-shrink: 0; }
.logo-img  { height: 68px; width: auto; max-width: 240px; object-fit: contain; }

.nav-links {
  display: flex;
  align-items: center;
  gap: .15rem;
  margin-left: auto;
}

.nav-link {
  font-family: var(--font-sub);
  font-size: .98rem;
  font-weight: 600;
  color: var(--text);
  padding: .45rem .85rem;
  border-radius: var(--radius-full);
  transition: all var(--transition);
}
.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-cta { flex-shrink: 0; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.hamburger:hover { background: var(--bg); }
.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger.open .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: .25rem;
  padding: 1rem var(--pad) 1.5rem;
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
}
.mobile-menu.open { display: flex; }

.mobile-links { display: flex; flex-direction: column; gap: .15rem; margin-bottom: .75rem; }

.mobile-link {
  display: block;
  padding: .7rem 1rem;
  font-family: var(--font-sub);
  font-size: .975rem;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.mobile-link:hover { color: var(--primary); background: var(--primary-light); }

.mobile-cta { justify-content: center; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: var(--header-h);
  background: var(--bg);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: '';
  position: absolute;
  z-index: 0;
  width: clamp(520px, 62vw, 920px);
  aspect-ratio: 1;
  right: -10%;
  top: 1%;
  background: url('../assets/images/MARCADAGUA26.png') center / contain no-repeat;
  opacity: .15;
  filter: brightness(0) saturate(100%) invert(41%) sepia(32%) saturate(1546%) hue-rotate(291deg) brightness(91%) contrast(90%);
  pointer-events: none;
}

/* Two-column inner layout */
.hero-inner {
  flex: 1;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 3.5rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: var(--white);
  color: var(--secondary);
  font-family: var(--font-sub);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .38rem 1.1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.4rem;
  box-shadow: var(--shadow-sm);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4vw, 3.35rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.hero-title em { font-style: italic; color: var(--primary); }

.hero-specialties {
  max-width: 620px;
  margin-bottom: 1.25rem;
  color: var(--secondary);
  font-family: var(--font-sub);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.55;
}
.hero-specialties span {
  padding: 0 .25rem;
  color: var(--accent);
}

.hero-description {
  max-width: 620px;
  margin-bottom: 1.75rem;
  color: var(--text-light);
  font-size: .96rem;
  line-height: 1.65;
}
.hero-description p + p {
  margin-top: .75rem;
}

.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Photo */
.hero-photo-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-photo-bg {
  position: absolute;
  width: 88%;
  aspect-ratio: 3/4;
  background: transparent;
  border-radius: var(--radius-lg);
  top: 20px;
  right: -12px;
  z-index: 0;
}
.hero-photo {
  position: relative;
  z-index: 1;
  width: 88%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Stats bar */
.hero-stats {
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,.05);
  box-shadow: 0 -2px 20px rgba(0,0,0,.06);
  position: relative;
  z-index: 1;
}
.hero-stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 0;
  flex-wrap: wrap;
  gap: 0;
}
.hero-stat {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .5rem 2rem;
  font-family: var(--font-sub);
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-light);
}
.hero-stat i { color: var(--primary); font-size: 1rem; }
.hero-stat-divider { width: 1px; height: 28px; background: rgba(0,0,0,.1); flex-shrink: 0; }

/* ============================================================
   Sobre Mim
   ============================================================ */
.sobre { background: var(--white); }

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 4rem;
  align-items: start;
}

.sobre-img-wrapper {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

.sobre-photo {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
  margin: 0 auto;
}

.sobre-img-decoration {
  position: absolute;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 3/4;
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  top: 18px;
  left: 18px;
  z-index: 0;
}

.sobre-img-badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1rem;
  z-index: 2;
  background: var(--white);
  border-radius: var(--radius);
  padding: .6rem 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-sub);
  font-size: .8rem;
  font-weight: 700;
  color: var(--secondary);
  box-shadow: var(--shadow);
}
.sobre-img-badge i { color: var(--primary); }

.sobre-role {
  font-family: var(--font-sub);
  color: var(--secondary);
  font-size: .95rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.sobre-bio {
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 1rem;
  text-align: justify;
}

.sobre-destaque {
  position: relative;
  margin: 1.75rem 0;
  padding: 1.4rem 1.5rem 1.4rem 1.75rem;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-light), var(--bg-alt));
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
}
.sobre-destaque::after {
  content: '“';
  position: absolute;
  top: -.55rem;
  right: .75rem;
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 6rem;
  line-height: 1;
  opacity: .4;
}
.sobre-destaque p {
  position: relative;
  z-index: 1;
  margin-bottom: .45rem;
  color: var(--text-light);
  font-size: .93rem;
  line-height: 1.6;
}
.sobre-destaque strong {
  position: relative;
  z-index: 1;
  display: block;
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.3;
}

.sobre-valores {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin: 0 0 1.75rem;
}
.sobre-valores li {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-width: 0;
  padding: .7rem .8rem;
  background: var(--white);
  border: 1px solid var(--primary-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  color: var(--text-light);
  font-family: var(--font-sub);
  font-size: .8rem;
  font-weight: 600;
}
.sobre-valores i {
  width: 1rem;
  flex-shrink: 0;
  color: var(--primary);
  text-align: center;
}

.sobre-qualificacoes {
  margin: 0 0 1.5rem;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--primary-light);
  border-radius: var(--radius);
}
.sobre-qualificacoes summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  color: var(--text);
  font-family: var(--font-sub);
  font-size: 1.02rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.sobre-qualificacoes summary::-webkit-details-marker { display: none; }
.sobre-qualificacoes summary span {
  display: flex;
  align-items: center;
  gap: .65rem;
}
.sobre-qualificacoes summary span i { color: var(--primary); }
.qualificacoes-chevron {
  color: var(--secondary);
  transition: transform var(--transition);
}
.sobre-qualificacoes[open] .qualificacoes-chevron { transform: rotate(180deg); }
.qualificacoes-list {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  padding: 0 1.2rem 1.2rem;
  border-top: 1px solid rgba(189,76,107,.12);
}
.qualificacoes-list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--text-light);
  font-size: .84rem;
  line-height: 1.55;
}
.qualificacoes-list li:first-child { margin-top: 1rem; }
.qualificacoes-list li::before {
  content: '';
  position: absolute;
  top: .58em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

/* ============================================================
   Especialidades
   ============================================================ */
.especialidades { background: var(--bg); }

.especialidades-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 5.2rem 2rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid transparent;
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: .9rem;
  transition: all var(--transition);
  overflow: hidden;
}
.card > * { position: relative; z-index: 1; }
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.card::before {
  content: '';
  position: absolute;
  width: 170px;
  aspect-ratio: 1;
  background: url('../assets/images/MARCADAGUA24.webp') center / contain no-repeat;
  opacity: .48;
  pointer-events: none;
  z-index: 0;
}
.card:nth-child(1)::before {
  right: -8px;
  bottom: -18px;
  filter: brightness(0) saturate(100%) invert(58%) sepia(10%) saturate(1091%) hue-rotate(131deg) brightness(89%) contrast(82%);
  transform: rotate(-16deg);
}
.card:nth-child(2)::before {
  width: 185px;
  right: -4px;
  top: -42px;
  filter: brightness(0) saturate(100%) invert(75%) sepia(16%) saturate(732%) hue-rotate(303deg) brightness(97%) contrast(87%);
  transform: rotate(92deg);
}
.card:nth-child(3)::before {
  right: -10px;
  bottom: -18px;
  filter: brightness(0) saturate(100%) invert(58%) sepia(10%) saturate(1091%) hue-rotate(131deg) brightness(89%) contrast(82%);
  transform: rotate(-12deg);
}
.card-title {
  color: var(--text);
  font-family: var(--font-sub);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
}

.card-desc { color: var(--text-light); font-size: .9rem; line-height: 1.7; }

.card-list { display: flex; flex-direction: column; gap: .3rem; }
.card-list li {
  font-size: .85rem;
  color: var(--text-light);
  padding-left: 1rem;
  position: relative;
}
.card-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.2;
}

.card-cta { align-self: flex-start; margin-top: auto; }

@media (max-width: 1024px) {
  .especialidades-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .especialidades-grid .card:last-child {
    grid-column: 1 / -1;
    width: calc((100% - 1.5rem) / 2);
    justify-self: center;
  }
}

/* ============================================================
   Em Breve
   ============================================================ */
.em-breve {
  position: relative;
  overflow: hidden;
  background: var(--white);
}
.em-breve-card {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 3.5rem;
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--primary-light);
  border: 1px solid rgba(189,76,107,.14);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.em-breve-card::before {
  content: '';
  position: absolute;
  width: 420px;
  aspect-ratio: 1;
  right: -14%;
  bottom: -38%;
  background: url('../assets/images/MARCADAGUA26.png') center / contain no-repeat;
  opacity: .55;
  pointer-events: none;
}
.em-breve-content,
.em-breve-form {
  position: relative;
  z-index: 1;
}
.em-breve-content .section-title {
  text-align: left;
}
.em-breve-content > p {
  max-width: 560px;
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.75;
}
.em-breve-note {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-top: 1.5rem;
  color: var(--primary) !important;
  font-size: .85rem !important;
  font-weight: 600;
}
.em-breve-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.75rem;
  background: rgba(255,255,255,.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   Abordagem
   ============================================================ */
.abordagem { background: var(--white); }

.abordagem-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.modalidades { display: flex; flex-direction: column; gap: 1.25rem; }

.abordagem-image {
  position: relative;
  width: 100%;
  max-width: 470px;
  margin: 0 auto;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.abordagem-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(189,76,107,.12);
  border-radius: inherit;
  pointer-events: none;
}
.abordagem-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
}

.modalidade-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 2px solid transparent;
  transition: all var(--transition);
}
.modalidade-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow); }

.modalidade-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.modalidade-card--presencial .modalidade-icon { background: var(--secondary-light); color: var(--secondary); }
.modalidade-card--online     .modalidade-icon { background: var(--primary-light);   color: var(--primary); }

.modalidade-card h3 { font-family: var(--font-sub); font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.modalidade-card p  { color: var(--text-light); font-size: .9rem; line-height: 1.65; margin-bottom: 1rem; }

.modalidade-card--full {
  grid-column: 1 / -1;
  width: 100%;
  text-align: center;
}
.modalidade-card--full .modalidade-icon { margin-left: auto; margin-right: auto; }
.modalidade-card--full p { max-width: 680px; margin-left: auto; margin-right: auto; }
.modalidade-card--full .modalidade-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 900px;
  margin: 0 auto;
  gap: 1rem;
}
.modalidade-card--full .modalidade-list li { justify-content: center; }

.modalidade-list { display: flex; flex-direction: column; gap: .4rem; }
.modalidade-list li { display: flex; align-items: center; gap: .5rem; font-size: .87rem; color: var(--text-light); }
.modalidade-list li i { color: var(--secondary); font-size: .75rem; flex-shrink: 0; }

/* Timeline */
.processo-title { font-family: var(--font-sub); font-size: 1.1rem; font-weight: 700; margin-bottom: 2rem; }

.abordagem .section-title {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.timeline { display: flex; flex-direction: column; }

.timeline-step {
  display: flex;
  gap: 1.25rem;
  padding-bottom: 2rem;
  position: relative;
}
.timeline-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 46px;
  width: 2px;
  height: calc(100% - 22px);
  background: var(--primary-light);
}

.timeline-num {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
}

.timeline-content h4 { font-family: var(--font-sub); font-size: 1rem; font-weight: 700; margin-bottom: .35rem; }
.timeline-content p  { color: var(--text-light); font-size: .9rem; line-height: 1.65; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--bg); }

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid transparent;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--primary-light); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.2rem 1.5rem;
  font-family: var(--font-sub);
  font-size: .965rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--bg); }

.faq-icon {
  color: var(--primary);
  font-size: .85rem;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .38s ease;
}
.faq-answer p {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-light);
  font-size: .9rem;
  line-height: 1.8;
}

/* ============================================================
   Contacto
   ============================================================ */
.contacto { background: var(--white); }

.contacto-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contacto-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contacto-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.contacto-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 47%;
}

/* Form */
.contacto-form { display: flex; flex-direction: column; gap: 1.2rem; }

.form-group { display: flex; flex-direction: column; gap: .4rem; }

.form-label {
  font-family: var(--font-sub);
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
}

.form-input {
  padding: .75rem 1rem;
  border: 2px solid var(--bg-alt);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: all var(--transition);
  outline: none;
  width: 100%;
}
.form-input::placeholder { color: var(--text-lighter); }
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(189,76,107,.12); }
.form-input.error { border-color: #E53E3E; }

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236B6B6B' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-textarea { resize: vertical; min-height: 110px; }

.form-error { font-size: .8rem; color: #E53E3E; font-family: var(--font-sub); min-height: 1.1em; }

.form-checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: .7rem;
  flex-wrap: wrap;
}
.form-checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  accent-color: var(--primary);
  cursor: pointer;
  margin-top: 2px;
}
.form-label-check { font-size: .875rem; color: var(--text-light); cursor: pointer; line-height: 1.45; }
.form-link { color: var(--primary); text-decoration: underline; }

.form-feedback {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: .9rem;
  font-family: var(--font-sub);
}
.form-feedback i { font-size: 1.05rem; flex-shrink: 0; margin-top: 2px; }

.form-feedback--success { background: #F0FFF4; color: #276749; border: 1px solid #C6F6D5; }
.form-feedback--success i { color: #38A169; }
.form-feedback--error   { background: #FFF5F5; color: #C53030; border: 1px solid #FED7D7; }
.form-feedback--error i { color: #E53E3E; }

/* Info card */
.info-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.info-title { font-family: var(--font-sub); font-size: 1.05rem; font-weight: 700; }

.info-item { display: flex; align-items: flex-start; gap: 1rem; }
.info-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
}
.info-content { display: flex; flex-direction: column; gap: .2rem; }
.info-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--text-lighter);
  font-family: var(--font-sub);
}
.info-value { font-size: .9rem; font-weight: 500; color: var(--text); transition: color var(--transition); }
a.info-value:hover { color: var(--primary); }

.redes-title {
  font-family: var(--font-sub);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--text-lighter);
  margin-bottom: .7rem;
}
.redes-links { display: flex; gap: .7rem; flex-wrap: wrap; }
.rede-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .48rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: .85rem;
  font-weight: 600;
  font-family: var(--font-sub);
  color: var(--white);
  transition: all var(--transition);
}
.rede-link--instagram { background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.rede-link--facebook  { background: #1877F2; }
.rede-link:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.2); }

.whatsapp-cta {
  margin: .15rem 0 .35rem;
  color: #1f6f56;
  border-color: #1f6f56;
}

.whatsapp-cta:hover {
  background: #1f6f56;
  color: var(--white);
}

.info-note {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  padding: .85rem 1rem;
  background: var(--white);
  border-radius: var(--radius);
  border-left: 3px solid var(--secondary);
}
.info-note i { color: var(--secondary); flex-shrink: 0; margin-top: 2px; font-size: .875rem; }
.info-note p { font-size: .8rem; color: var(--text-light); line-height: 1.45; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--bg);
  color: var(--text);
  padding: 3.5rem 0 0;
  border-top: 3px solid var(--primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(42,34,36,.18);
}

.footer-logo {
  height: 82px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.footer-social { display: flex; gap: .85rem; }
.footer-social-link {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.35rem;
  transition: all var(--transition);
}
.footer-social-link:hover { background: var(--secondary); color: var(--white); transform: translateY(-2px); }

.footer-credentials {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin-top: 1.2rem;
  max-width: 330px;
}

.footer-credentials li {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-size: .84rem;
  line-height: 1.5;
  color: var(--text);
}

.footer-credentials i {
  width: 16px;
  margin-top: .2rem;
  flex-shrink: 0;
  color: var(--primary);
}

.footer-credentials a { transition: color var(--transition); }
.footer-credentials a:hover { color: var(--primary); }

.footer-heading {
  font-family: var(--font-sub);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--primary);
  margin-bottom: 1.2rem;
}

.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a { font-size: .875rem; color: var(--text); transition: color var(--transition); }
.footer-links a:hover { color: var(--primary); }

.footer-contact-list { display: flex; flex-direction: column; gap: .75rem; }
.footer-contact-list li { display: flex; align-items: center; gap: .6rem; font-size: .875rem; color: var(--text); }
.footer-contact-list i { color: var(--primary); font-size: .875rem; width: 16px; flex-shrink: 0; }
.footer-contact-list a { transition: color var(--transition); }
.footer-contact-list a:hover { color: var(--primary); }
.footer-contact-list .footer-complaints-link {
  display: inline-flex;
  padding: .45rem .7rem;
  border: 1px solid var(--primary);
  border-radius: var(--radius-full);
  color: var(--primary);
  font-weight: 600;
  line-height: 1.25;
}
.footer-contact-list .footer-complaints-link:hover { background: var(--primary); color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0;
  flex-wrap: wrap;
}

.footer-policies {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .8rem;
  color: var(--text);
  flex-wrap: wrap;
}
.footer-policies a { transition: color var(--transition); }
.footer-policies a:hover { color: var(--primary); }
.footer-policies span { color: rgba(42,34,36,.42); }

.footer-copy { font-size: .8rem; color: var(--text); }
.footer-copy a { color: var(--text); font-weight: 700; transition: color var(--transition); }
.footer-copy a:hover { color: var(--primary); }

/* ============================================================
   Legal modals
   ============================================================ */
body.modal-open { overflow: hidden; }

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.legal-modal[hidden] { display: none; }

.legal-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(42, 34, 36, .68);
  backdrop-filter: blur(4px);
}

.legal-modal__panel {
  position: relative;
  width: min(880px, 100%);
  max-height: min(86vh, 900px);
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 70px rgba(42, 34, 36, .28);
  overflow: hidden;
  outline: none;
}

.legal-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 1.75rem 1.25rem;
  border-bottom: 1px solid rgba(189, 76, 107, .16);
  background: var(--bg);
}

.legal-modal__header .section-badge { margin-bottom: .55rem; }
.legal-modal__header h2 { color: var(--primary); font-size: clamp(1.55rem, 3vw, 2.1rem); }

.legal-modal__close {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary);
  font-size: 1.15rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: color var(--transition), background var(--transition);
}

.legal-modal__close:hover,
.legal-modal__close:focus-visible {
  color: var(--white);
  background: var(--primary);
}

.legal-modal__body {
  padding: 1.5rem 1.75rem 2rem;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.legal-modal__body section + section { margin-top: 1.5rem; }
.legal-modal__body h3 { margin-bottom: .55rem; color: var(--text); font-size: 1.05rem; }
.legal-modal__body p,
.legal-modal__body li { color: var(--text-light); font-size: .92rem; line-height: 1.75; }
.legal-modal__body p + p { margin-top: .65rem; }
.legal-modal__body ul { padding-left: 1.2rem; display: grid; gap: .35rem; }
.legal-modal__body a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.legal-updated { margin-bottom: 1.35rem; font-size: .8rem !important; color: var(--text-lighter) !important; }

.legal-table-wrap { overflow-x: auto; margin: .75rem 0; }
.legal-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.legal-table th,
.legal-table td {
  padding: .75rem;
  border: 1px solid rgba(189, 76, 107, .18);
  text-align: left;
  vertical-align: top;
  font-size: .84rem;
  line-height: 1.5;
}
.legal-table th { background: var(--bg); color: var(--primary); }

/* ============================================================
   Back to top
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 800;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .875rem;
  box-shadow: var(--shadow-primary);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: all var(--transition);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover   { background: var(--primary-dark); filter: brightness(.9); transform: translateY(-2px); }

/* ============================================================
   Responsive — Tablet (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .sobre-grid { grid-template-columns: 1fr 1.1fr; gap: 2.5rem; }
  .abordagem-content { gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero-stat { padding: .5rem 1.25rem; }
}

/* ============================================================
   Responsive — Mobile (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root { --pad: 1.1rem; }
  .section { padding: 3.5rem 0; }
  .sobre::before,
  .abordagem::before,
  .contacto::before {
    width: 360px;
    opacity: .12;
  }
  .sobre::before { right: -48%; bottom: 2%; }
  .abordagem::before { left: -52%; top: 28%; }
  .contacto::before { right: -52%; top: 12%; }

  /* Nav */
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .logo-img { height: 58px; max-width: 210px; }

  /* Hero */
  .hero {
    min-height: 100svh;
  }
  .hero::before {
    width: 540px;
    right: -65%;
    top: 12%;
    opacity: .12;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: 0;
    align-content: start;
    gap: 1.25rem;
    padding-top: 1.5rem;
    padding-bottom: 2rem;
  }
  .hero-badge {
    font-size: .7rem;
    padding: .3rem .85rem;
    margin-bottom: .65rem;
  }
  .hero-title {
    font-size: clamp(1.75rem, 6vw, 2.35rem);
    line-height: 1.08;
    margin-bottom: .75rem;
  }
  .hero-specialties,
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-specialties {
    font-size: .92rem;
    margin-bottom: .9rem;
  }
  .hero-description {
    font-size: .88rem;
    line-height: 1.5;
    margin-bottom: 1.15rem;
  }
  .hero-description p + p {
    margin-top: .55rem;
  }
  .hero-buttons  { justify-content: center; gap: .65rem; }
  .hero-buttons .btn--large { padding: .7rem 1.15rem; font-size: .9rem; }
  .hero-photo-wrapper { order: -1; margin-bottom: .45rem; }
  .hero-photo, .hero-photo-bg { width: min(58vw, 250px); }
  .hero-photo-bg { top: 10px; right: auto; left: 50%; transform: translateX(-50%) translate(10px, 0); }

  .hero-stats {
    display: block;
    position: static;
    flex-shrink: 0;
  }
  .hero-stats-inner {
    gap: .25rem .45rem;
    padding: .45rem var(--pad);
  }
  .hero-stat {
    padding: .2rem .35rem;
    font-size: .68rem;
    gap: .35rem;
  }
  .hero-stat i { font-size: .8rem; }
  .hero-stat-divider { display: none; }

  /* Sobre */
  .sobre-grid { grid-template-columns: 1fr; gap: 2rem; }
  .sobre-image { order: -1; }
  .sobre-img-wrapper { position: relative; top: auto; }
  .sobre-photo, .sobre-img-decoration { max-width: 280px; }
  .sobre-img-decoration { top: 12px; left: 12px; }
  .sobre-valores { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* Especialidades */
  .especialidades-grid { grid-template-columns: 1fr; }
  .especialidades-grid .card:last-child {
    grid-column: auto;
    width: 100%;
  }

  /* Em breve */
  .em-breve-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.5rem;
  }
  .em-breve-card::before {
    width: 340px;
    right: -42%;
    bottom: -12%;
    opacity: .42;
  }
  .em-breve-form { padding: 1.25rem; }

  /* Abordagem */
  .abordagem-content { grid-template-columns: 1fr; gap: 2rem; }
  .abordagem-image {
    width: min(100%, 520px);
    margin: 0 auto;
    aspect-ratio: 3 / 4;
  }
  .modalidade-card--full { grid-column: auto; }
  .modalidade-card--full .modalidade-list {
    grid-template-columns: 1fr;
    width: fit-content;
    text-align: left;
    gap: .5rem;
  }
  .modalidade-card--full .modalidade-list li { justify-content: flex-start; }

  /* Contacto */
  .contacto-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contacto-image { aspect-ratio: 4 / 3; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-policies { justify-content: center; }

  /* Legal modals */
  .legal-modal { padding: .75rem; }
  .legal-modal__panel { max-height: 92vh; }
  .legal-modal__header { padding: 1.1rem 1.15rem 1rem; }
  .legal-modal__body { padding: 1.15rem 1.15rem 1.5rem; }

  /* Back to top */
  .back-to-top { bottom: 1rem; right: 1rem; }
}

/* ============================================================
   Responsive — Small mobile (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  :root { --header-h: 80px; }
  .logo-img { height: 50px; max-width: 185px; }

  .hero-inner {
    gap: 1rem;
    padding-top: 1.25rem;
    padding-bottom: 1.5rem;
  }
  .hero-badge { margin-bottom: .5rem; }
  .hero-title {
    font-size: clamp(1.5rem, 7.6vw, 1.9rem);
    margin-bottom: .65rem;
  }
  .hero-specialties {
    font-size: .84rem;
    line-height: 1.4;
    margin-bottom: .7rem;
  }
  .hero-description {
    font-size: .82rem;
    line-height: 1.42;
    margin-bottom: .85rem;
  }
  .hero-buttons .btn--large { padding: .62rem .85rem; font-size: .82rem; }
  .hero-photo, .hero-photo-bg { width: min(60vw, 235px); }
  .hero-stats-inner { flex-wrap: wrap; justify-content: center; gap: .2rem .35rem; }
  .hero-stat { padding: .15rem .25rem; font-size: .64rem; }

  .sobre-valores { gap: .55rem; }
  .sobre-valores li { padding: .6rem .65rem; font-size: .74rem; }

  .cookie-content { flex-direction: column; }
  .cookie-buttons { width: 100%; justify-content: stretch; }
  .btn-cookie { flex: 1; text-align: center; }

  .redes-links { flex-direction: column; }
  .rede-link { justify-content: center; }
}
