/* ====================================================
   SANTANA OLIVEIRA CONSTRUTORA — CSS
   Paleta: Areia #F6F2EC | Verde Petróleo #16313C
   Tipografia: Playfair Display + Inter
   ==================================================== */

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

:root {
  --bg-main:    #F6F2EC;
  --bg-surface: #FFFDFC;
  --text-main:  #1F1F1C;
  --text-soft:  #8B8177;
  --brand:      #16313C;
  --brand-hover:#214654;
  --border:     #E6DED4;
  --sand-alt:   #EFE8DF;
  --white:      #FFFDFC;

  --font-display: 'Playfair Display', serif;
  --font-body:    'Inter', sans-serif;

  --radius-sm:  10px;
  --radius-md:  16px;
  --radius-lg:  24px;

  --shadow-sm:  0 4px 16px rgba(31,31,28,.06);
  --shadow-md:  0 8px 30px rgba(31,31,28,.09);
  --shadow-lg:  0 16px 48px rgba(31,31,28,.13);

  --transition: 220ms ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-surface);
  color: var(--text-main);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- UTILITÁRIOS ---- */
.overline {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}

.section {
  padding: 100px 0;
}

.section--sand { background: var(--bg-main); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p  { color: var(--text-soft); }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; }
h1 { font-size: clamp(34px, 5vw, 60px); }
h2 { font-size: clamp(28px, 4vw, 44px); }
h3 { font-family: var(--font-body); font-size: 22px; font-weight: 600; }
h4 { font-family: var(--font-body); font-size: 17px; font-weight: 600; }

/* ---- BOTÕES ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}
.btn-primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); }

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.7);
}
.btn-secondary:hover { background: rgba(255,255,255,.12); border-color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}
.btn-outline:hover { background: var(--brand); color: var(--white); }

.btn-ghost {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}
.btn-ghost:hover { background: rgba(255,255,255,.22); }

.btn-lg { padding: 17px 36px; font-size: 16px; }
.btn-full { width: 100%; justify-content: center; }

.link-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  transition: gap var(--transition);
}
.link-cta:hover { gap: 10px; }

/* ===================================================
   LANGUAGE SWITCHER
   =================================================== */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 4px 10px;
  flex-shrink: 0;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-soft);
  padding: 4px 8px;
  border-radius: 50px;
  transition: background var(--transition), color var(--transition);
  letter-spacing: .04em;
}
.lang-btn:hover { color: var(--brand); }
.lang-btn.active {
  background: var(--brand);
  color: var(--white);
}
.lang-flag { font-size: 14px; line-height: 1; }
.lang-divider { color: var(--border); font-size: 14px; }

/* ---- ANIMAÇÕES ---- */
.animate-up {
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp .7s ease forwards;
}
.animate-up:nth-child(1) { animation-delay: .1s; }
.animate-up:nth-child(2) { animation-delay: .25s; }
.animate-up:nth-child(3) { animation-delay: .4s; }
.animate-up:nth-child(4) { animation-delay: .55s; }
.animate-up:nth-child(5) { animation-delay: .7s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===================================================
   HEADER
   =================================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,253,252,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 80px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-so {
  width: 44px; height: 44px;
  background: var(--brand);
  color: var(--white);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .02em;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1.3;
  color: var(--text-main);
}
.logo-text small { font-family: var(--font-body); font-size: 11px; color: var(--text-soft); }

.header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.header__nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  transition: color var(--transition);
  white-space: nowrap;
}
.header__nav a:hover { color: var(--brand); }

.header__cta { margin-left: 12px; white-space: nowrap; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all .3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ===================================================
   HERO
   =================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(22,49,60,.85) 0%,
    rgba(22,49,60,.55) 50%,
    rgba(22,49,60,.2) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 60px 24px;
}

.hero__content .overline { color: rgba(255,255,255,.75); }

.hero__content h1 {
  color: var(--white);
  margin-bottom: 20px;
}

.hero__content p {
  color: rgba(255,255,255,.82);
  font-size: 18px;
  margin-bottom: 32px;
  max-width: 560px;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero__note {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  font-style: italic;
}

/* ===================================================
   TRUST BAR
   =================================================== */
.trust-bar {
  background: var(--brand);
  padding: 40px 0;
}

.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px;
  background: var(--brand);
  gap: 4px;
}

.trust-number {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
}

.trust-label {
  font-size: 12px;
  color: rgba(255,255,255,.65);
  font-weight: 500;
}

/* ===================================================
   QUEM SOMOS
   =================================================== */
.quem-somos__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.quem-somos__text h2 { margin-bottom: 20px; }
.quem-somos__text p  { color: var(--text-soft); margin-bottom: 16px; }

.quem-somos__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 32px;
}

.pill {
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: var(--bg-main);
  color: var(--text-main);
}

.quem-somos__cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-pillar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}
.card-pillar i {
  font-size: 22px;
  color: var(--brand);
  margin-bottom: 4px;
}
.card-pillar h4 { color: var(--brand); margin-bottom: 4px; }
.card-pillar p  { font-size: 15px; color: var(--text-soft); }

/* ===================================================
   SERVIÇOS
   =================================================== */
.servicos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card-servico {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card-servico:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-servico__img {
  height: 200px;
  overflow: hidden;
}
.card-servico__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.card-servico:hover .card-servico__img img { transform: scale(1.05); }

.card-servico__body {
  padding: 24px;
}
.card-servico__body h3 { margin-bottom: 10px; }
.card-servico__body p  { font-size: 15px; color: var(--text-soft); }

.servicos__note {
  text-align: center;
  color: var(--text-soft);
  font-size: 15px;
  margin-top: 40px;
  font-style: italic;
}

/* ===================================================
   DIFERENCIAIS
   =================================================== */
.diferenciais__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card-diferencial {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card-diferencial:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.card-diferencial__icon {
  width: 48px; height: 48px;
  background: var(--bg-main);
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.card-diferencial__icon i {
  font-size: 20px;
  color: var(--brand);
}

.card-diferencial h4 { margin-bottom: 8px; }
.card-diferencial p  { font-size: 15px; color: var(--text-soft); }

/* ===================================================
   PORTFÓLIO
   =================================================== */
.portfolio__featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.portfolio__featured-img {
  position: relative;
  height: 440px;
  overflow: hidden;
}
.portfolio__featured-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.portfolio__featured:hover .portfolio__featured-img img { transform: scale(1.04); }

.portfolio__badge {
  position: absolute;
  top: 20px; left: 20px;
  background: var(--brand);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  letter-spacing: .06em;
}

.portfolio__featured-info {
  padding: 40px 40px 40px 0;
}
.portfolio__featured-info h3 {
  font-family: var(--font-display);
  font-size: 28px;
  margin-bottom: 16px;
}
.portfolio__featured-info p { color: var(--text-soft); margin-bottom: 24px; }

.portfolio__specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}
.portfolio__specs li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-soft);
}
.portfolio__specs li i { color: var(--brand); width: 16px; }

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

.card-portfolio {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card-portfolio:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-portfolio__img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.card-portfolio__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.card-portfolio:hover .card-portfolio__img img { transform: scale(1.06); }

.card-portfolio__overlay {
  position: absolute;
  inset: 0;
  background: rgba(22,49,60,.55);
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.card-portfolio__overlay span {
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  border: 2px solid var(--white);
  padding: 8px 20px;
  border-radius: var(--radius-sm);
}
.card-portfolio:hover .card-portfolio__overlay { opacity: 1; }

.card-portfolio__info { padding: 20px 24px 24px; }

/* Placeholder sem foto */
.card-portfolio__img--placeholder {
  background: var(--bg-main);
  border-bottom: 1px solid var(--border);
}
.card-portfolio__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-soft);
}
.card-portfolio__placeholder i {
  font-size: 36px;
  opacity: .35;
  color: var(--brand);
}
.card-portfolio__placeholder span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .5;
}

.portfolio__category {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--brand);
}

.card-portfolio__info h4 {
  font-family: var(--font-display);
  font-size: 20px;
  margin: 6px 0 8px;
}
.card-portfolio__info p { font-size: 14px; color: var(--text-soft); }

/* Galeria clínica */
.portfolio__clinic-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}

.clinic-gallery__item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
  background: var(--text-main);
}

.clinic-gallery__item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform .5s ease, opacity .4s ease;
  opacity: .92;
}
.clinic-gallery__item:hover img {
  transform: scale(1.05);
  opacity: 1;
}

.clinic-gallery__caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(22,49,60,.88) 0%, transparent 100%);
  padding: 32px 16px 14px;
}
.clinic-gallery__caption span {
  font-size: 12px;
  color: rgba(255,255,255,.9);
  font-weight: 500;
  line-height: 1.4;
  display: block;
}

/* Título "Outros Projetos" */
.portfolio__other-title {
  margin-bottom: 24px;
}
.portfolio__other-title h3 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--text-main);
  border-left: 4px solid var(--brand);
  padding-left: 16px;
}

.portfolio__cta {
  text-align: center;
  margin-top: 48px;
}

/* ===================================================
   ARQUITETOS
   =================================================== */
.arquitetos {
  background: var(--bg-main);
}

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

.arquitetos__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 480px;
}
.arquitetos__img img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.arquitetos__text h2 { margin-bottom: 20px; }
.arquitetos__text p  { color: var(--text-soft); margin-bottom: 16px; }

.arquitetos__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px 0 32px;
}
.arquitetos__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-main);
}
.arquitetos__list li i {
  color: var(--brand);
  font-size: 14px;
  width: 18px;
  flex-shrink: 0;
}

/* ===================================================
   CTA BANNER
   =================================================== */
.cta-banner {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
.cta-banner__bg {
  position: absolute;
  inset: 0;
}
.cta-banner__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.cta-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(22,49,60,.8);
}
.cta-banner__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 660px;
  margin: 0 auto;
}
.cta-banner__content h2 {
  color: var(--white);
  margin-bottom: 16px;
}
.cta-banner__content p {
  color: rgba(255,255,255,.78);
  margin-bottom: 36px;
  font-size: 18px;
}
.cta-banner__btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===================================================
   CONTATO
   =================================================== */
.contato__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.contato__info h2 { margin-bottom: 16px; }
.contato__info > p { color: var(--text-soft); margin-bottom: 32px; }

.contato__items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.contato__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contato__item-icon {
  width: 44px; height: 44px;
  background: var(--bg-main);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--brand);
  font-size: 18px;
  flex-shrink: 0;
}

.contato__item strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 2px;
}

.contato__item a {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-main);
  transition: color var(--transition);
}
.contato__item a:hover { color: var(--brand); }

.whatsapp-big {
  margin-top: 8px;
  font-size: 16px;
}

/* FORMULÁRIO */
.contato__form {
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-main);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(22,49,60,.1);
}
.form-group textarea { resize: vertical; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-soft);
  margin-top: 12px;
}

/* ===================================================
   RODAPÉ
   =================================================== */

/* ===================================================
   ATUAÇÃO GEOGRÁFICA
   =================================================== */
.atuacao__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.card-atuacao {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card-atuacao:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.card-atuacao__icon {
  width: 48px; height: 48px;
  background: var(--bg-main);
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: var(--brand);
  font-size: 20px;
}

.card-atuacao h4 { margin-bottom: 10px; color: var(--brand); }
.card-atuacao p  { font-size: 14px; color: var(--text-soft); line-height: 1.6; }

/* Bloco de tags de cidades */
.atuacao__mapa {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  box-shadow: var(--shadow-sm);
}

.atuacao__mapa-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--brand);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 50px;
}
.atuacao__mapa-badge i { font-size: 15px; }

.atuacao__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.atuacao__tag {
  font-size: 13px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: var(--bg-main);
  color: var(--text-main);
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}
.atuacao__tag:hover {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--white);
}
.atuacao__tag--brand {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}

/* Info de localização no rodapé */
.footer__location {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.footer__location-item {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer__location-item i { color: rgba(255,255,255,.4); font-size: 12px; }

/* Info de contato adicional no item */
.contato__item span {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-main);
}

/* Responsivo atuação */
@media (max-width: 1024px) {
  .atuacao__grid { grid-template-columns: repeat(2, 1fr); }
  .atuacao__mapa { padding: 28px 24px; }
}
@media (max-width: 768px) {
  .atuacao__grid { grid-template-columns: 1fr; }
}

.footer {
  background: var(--brand);
  color: var(--white);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 72px 0 56px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.logo-text--light {
  color: var(--white);
}
.logo-text--light small { color: rgba(255,255,255,.6); }

.footer__brand p {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 280px;
}

.footer__whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.footer__whatsapp i { font-size: 18px; color: #25D366; }
.footer__whatsapp:hover { background: rgba(255,255,255,.2); }

.footer__col h5 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.5);
  margin-bottom: 20px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition);
}
.footer__col ul li a:hover { color: var(--white); }
.footer__col ul li a i { font-size: 13px; color: rgba(255,255,255,.4); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
}
.footer__bottom p {
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.4);
}

/* ===================================================
   BOTÃO FLUTUANTE WHATSAPP
   =================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: var(--white);
  border-radius: 50px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 6px 24px rgba(37,211,102,.4);
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}
.whatsapp-float i { font-size: 22px; flex-shrink: 0; }
.whatsapp-float__label {
  white-space: nowrap;
  overflow: hidden;
  max-width: 160px;
  transition: max-width .4s ease;
}
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 32px rgba(37,211,102,.5);
}

/* ===================================================
   RESPONSIVE
   =================================================== */

/* Tablet */
@media (max-width: 1024px) {
  .header__nav { display: none; }
  .header__cta { display: none; }
  .hamburger { display: flex; }
  .lang-switcher { margin-left: 0; }

  /* nav mobile */
  .header__nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 80px; left: 0; right: 0;
    background: var(--white);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  .header__nav.open a { font-size: 17px; }

  .quem-somos__grid,
  .arquitetos__grid { grid-template-columns: 1fr; gap: 40px; }
  .servicos__grid { grid-template-columns: repeat(2, 1fr); }
  .diferenciais__grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio__featured { grid-template-columns: 1fr; }
  .portfolio__featured-info { padding: 32px; }
  .portfolio__featured-img { height: 300px; }
  .portfolio__clinic-gallery { grid-template-columns: 1fr; gap: 12px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .trust-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .contato__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .hero { min-height: 100svh; }
  .servicos__grid { grid-template-columns: 1fr; }
  .diferenciais__grid { grid-template-columns: 1fr; }
  .portfolio__grid { grid-template-columns: 1fr; }
  .portfolio__clinic-gallery { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero__ctas { flex-direction: column; }
  .cta-banner__btns { flex-direction: column; align-items: center; }
  .whatsapp-float__label { display: none; }
  .whatsapp-float { border-radius: 50%; padding: 16px; }
  .lang-btn .lang-code { display: none; }
  .lang-switcher { padding: 4px 6px; }
}
