/* ─────────────────────────────────────────
   VARIABLES & RESET
───────────────────────────────────────── */
:root {
  --sage:         #8C9CAD;
  --sage-light:   #C9D3D6;
  --sage-dark:    #284659;
  --sage-pale:    #EEF1F4;
  --gold:         #C9D3D6;
  --gold-light:   #DDE4E7;
  --cream:        #F4F5F6;
  --beige:        #E8ECED;
  --text:         #1E3344;
  --text-muted:   #6B7C8D;
  --white:        #ffffff;
  --border:       #C9D3D6;
  --shadow:       0 4px 24px rgba(40,70,89,.12);
  --shadow-lg:    0 12px 48px rgba(40,70,89,.18);
  --radius:       14px;
  --radius-sm:    8px;
  --transition:   .25s ease;
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Lato', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%; /* impede iOS de aumentar fonte ao rotacionar */
  overflow-x: hidden; /* bloqueia scroll horizontal no nível raiz */
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Remove delay de toque em botões e links */
a, button, [role="button"] {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

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

/* ─────────────────────────────────────────
   UTILITIES
───────────────────────────────────────── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }
.section--alt { background: var(--beige); }

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section__label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 16px;
}

.section__desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ─────────────────────────────────────────
   BUTTONS
───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

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

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

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover {
  background: var(--white);
  border-color: var(--sage-light);
}

.btn--full { width: 100%; justify-content: center; }

/* ─────────────────────────────────────────
   NAVIGATION
───────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: rgba(244,245,246,.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(40,70,89,.1);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav__logo-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  transition: color var(--transition);
  line-height: 1.2;
}

.nav.scrolled .nav__logo-name { color: var(--text); }

.nav__logo-sub {
  font-size: .7rem;
  color: rgba(255,255,255,.75);
  letter-spacing: .06em;
  transition: color var(--transition);
}

.nav.scrolled .nav__logo-sub { color: var(--text-muted); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  font-size: .9rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  transition: color var(--transition);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav__links a:hover::after { width: 100%; }

.nav.scrolled .nav__links a { color: var(--text); }

.nav__links .btn--outline {
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}

.nav__links .btn--outline:hover {
  background: rgba(255,255,255,.18);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

.nav.scrolled .nav__links .btn--outline {
  color: var(--sage);
  border-color: var(--sage);
}

.nav.scrolled .nav__links .btn--outline:hover {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--white);
}

.nav__links .btn--outline::after { display: none; }

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--white);
  padding: 4px;
}

.nav.scrolled .nav__toggle { color: var(--text); }


/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #284659 0%, #8C9CAD 50%, #C9D3D6 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 120px 0 60px;
}

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

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,.25);
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero__title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero__desc {
  color: rgba(255,255,255,.85);
  font-size: 1.1rem;
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero__actions .btn--ghost {
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}

.hero__actions .btn--ghost:hover {
  background: rgba(255,255,255,.15);
}

.hero__stats {
  display: flex;
  gap: 36px;
}

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

.hero__stat strong {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1;
}

.hero__stat span {
  font-size: .78rem;
  color: rgba(255,255,255,.7);
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-top: 4px;
}

.hero__image {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__image-frame {
  width: 380px;
  height: 480px;
  border-radius: 200px 200px 140px 140px;
  overflow: hidden;
  background: rgba(255,255,255,.1);
  border: 3px solid rgba(255,255,255,.2);
  box-shadow: var(--shadow-lg);
}

.hero__image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero__image-badge {
  position: absolute;
  bottom: 24px;
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.hero__image-badge i {
  width: 36px;
  height: 36px;
  color: var(--sage);
  flex-shrink: 0;
}

.hero__wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 80px;
}

.hero__wave svg { height: 100%; width: 100%; }

/* ─────────────────────────────────────────
   SOBRE
───────────────────────────────────────── */
.sobre__inner {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 72px;
  align-items: center;
}

.sobre__image {
  position: relative;
}

.sobre__image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
  border-radius: 180px 180px 100px 100px;
  box-shadow: var(--shadow-lg);
}

.sobre__card {
  position: absolute;
  bottom: 24px;
  right: -24px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .85rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 220px;
  border-left: 4px solid var(--sage);
}

.sobre__card i { color: var(--sage); flex-shrink: 0; margin-top: 2px; }

.sobre__content .section__title { text-align: left; margin-bottom: 6px; }

.sobre__crp {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  color: var(--sage);
  letter-spacing: .08em;
  margin-bottom: 24px;
  padding: 4px 12px;
  background: var(--sage-pale);
  border-radius: 50px;
}

.sobre__content p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.sobre__content p strong { color: var(--text); }

.sobre__abordagens {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 32px;
}

.sobre__abordagens span {
  font-size: .82rem;
  font-weight: 700;
  color: var(--sage-dark);
  background: var(--sage-pale);
  padding: 6px 14px;
  border-radius: 50px;
  border: 1px solid var(--sage-light);
}

/* ─────────────────────────────────────────
   ÁREAS DE ATUAÇÃO
───────────────────────────────────────── */
.areas__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.area-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all var(--transition);
  border: 1px solid var(--border);
}

.area-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sage-light);
}

.area-card__icon {
  width: 48px;
  height: 48px;
  background: var(--sage-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--sage);
  transition: all var(--transition);
}

.area-card:hover .area-card__icon {
  background: var(--sage);
  color: var(--white);
}

.area-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}

.area-card p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─────────────────────────────────────────
   SERVIÇOS
───────────────────────────────────────── */
.servicos__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.servico-item {
  background: var(--white);
  padding: 28px 32px;
  display: flex;
  gap: 20px;
  transition: background var(--transition);
}

.servico-item:hover { background: var(--sage-pale); }

/* Último item ímpar: ocupa a linha completa */
.servico-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.servico-item__num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--sage-light);
  flex-shrink: 0;
  line-height: 1;
  padding-top: 4px;
}

.servico-item__content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.servico-item__content p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─────────────────────────────────────────
   PÚBLICO
───────────────────────────────────────── */
.publico__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.publico-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.publico-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.publico-card i {
  width: 48px;
  height: 48px;
  color: var(--sage);
  margin: 0 auto 16px;
}

.publico-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.publico-card p {
  font-size: .88rem;
  color: var(--text-muted);
}

/* ─────────────────────────────────────────
   ONLINE
───────────────────────────────────────── */
.online {
  background: linear-gradient(135deg, var(--sage-dark) 0%, var(--sage) 100%);
  position: relative;
}

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

.online .section__label { color: rgba(255,255,255,.7); }

/* Todos os ícones da seção em branco */
.online i { color: var(--white); }

/* Exceto o ícone do botão, que fica sobre fundo branco */
.online .btn--primary i { color: var(--sage-dark); }

.online .section__title { color: var(--white); }

.online p {
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.online p strong { color: var(--white); }

.online__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.online__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.9);
  font-size: .95rem;
}

.online__list li i {
  color: var(--white);
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.online .btn--primary {
  background: var(--white);
  color: var(--sage-dark);
  border-color: var(--white);
}

.online .btn--primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.online__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.online__icon-box {
  width: 140px;
  height: 140px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border-radius: 32px;
  border: 2px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.online__icon-box i { width: 64px; height: 64px; }

.online__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
}

.online__feature {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  border: 1px solid rgba(255,255,255,.15);
}

.online__feature i { color: var(--white); width: 24px; height: 24px; }

.online__feature span {
  font-size: .82rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}

/* ─────────────────────────────────────────
   FAQ
───────────────────────────────────────── */
.faq__list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  text-align: left;
  transition: color var(--transition);
}

.faq__question:hover { color: var(--sage); }

.faq__question[aria-expanded="true"] { color: var(--sage); }

.faq__question i {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--sage);
  transition: transform var(--transition);
}

.faq__question[aria-expanded="true"] i { transform: rotate(180deg); }

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}

.faq__answer.open {
  max-height: 400px;
  padding-bottom: 24px;
}

.faq__answer p,
.faq__answer ul {
  padding: 0 28px;
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.7;
}

.faq__answer ul {
  padding-left: 44px;
  list-style: disc;
  margin-top: 8px;
}

.faq__answer li { margin-bottom: 4px; }

.faq__answer strong { color: var(--text); }

/* ─────────────────────────────────────────
   CONTATO
───────────────────────────────────────── */
.contato__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.contato__info h3,
.contato__form-box h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 28px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.info-item__icon {
  width: 44px;
  height: 44px;
  background: var(--sage-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage);
  flex-shrink: 0;
}

.info-item > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-item strong {
  font-size: .82rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.info-item span {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.info-item a { color: var(--sage); transition: color var(--transition); }
.info-item a:hover { color: var(--sage-dark); }

.contato__map { margin-top: 28px; }

/* Form */
.contato__form-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: .85rem;
  font-weight: 700;
  color: var(--text);
}

.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-sans);
  font-size: .95rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #b0bcc6; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(140,156,173,.12);
  background: var(--white);
}

/* ─────────────────────────────────────────
   PÁGINAS LEGAIS (termos / privacidade)
───────────────────────────────────────── */
.legal-header {
  background: linear-gradient(135deg, var(--sage-dark) 0%, var(--sage) 100%);
  padding: 120px 0 56px;
  text-align: center;
}

.legal-header__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.75);
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 20px;
  transition: color var(--transition);
}

.legal-header__back:hover { color: var(--white); }

.legal-header__back i { width: 16px; height: 16px; }

.legal-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 12px;
}

.legal-header p {
  color: rgba(255,255,255,.75);
  font-size: .95rem;
}

.legal-body {
  padding: 64px 0 96px;
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-content h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text);
  margin: 40px 0 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--sage-pale);
}

.legal-content h2:first-of-type { margin-top: 0; }

.legal-content p {
  color: var(--text-muted);
  font-size: .97rem;
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-content p strong { color: var(--text); }

.legal-content ul, .legal-content ol {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content ol { list-style: decimal; }

.legal-content li {
  color: var(--text-muted);
  font-size: .97rem;
  line-height: 1.8;
  margin-bottom: 6px;
}

.legal-content li strong { color: var(--text); }

.legal-content a {
  color: var(--sage);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content a:hover { color: var(--sage-dark); }

.legal-highlight {
  background: var(--sage-pale);
  border-left: 4px solid var(--sage);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 20px 0;
}

.legal-highlight p {
  margin-bottom: 0;
  font-size: .92rem;
  color: var(--text);
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.footer {
  background: var(--text);
  color: rgba(255,255,255,.7);
  padding: 24px 0 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.footer__brand .nav__logo-name { color: var(--white); font-size: 1.1rem; }

.footer__brand .nav__logo-sub {
  color: rgba(255,255,255,.5);
  font-size: .68rem;
}

.footer__brand p {
  font-size: .8rem;
  font-style: italic;
  color: rgba(255,255,255,.35);
  margin-top: 4px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 24px;
}

.footer__links a {
  font-size: .84rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}

.footer__links a:hover { color: var(--white); }

.footer__bottom {
  padding: 12px 0;
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 16px;
}

.footer__bottom p {
  font-size: .78rem;
  color: rgba(255,255,255,.3);
}

.footer__legal-links {
  display: flex;
  gap: 16px;
}

.footer__legal-links a {
  font-size: .78rem;
  color: rgba(255,255,255,.3);
  transition: color var(--transition);
}

.footer__legal-links a:hover { color: rgba(255,255,255,.7); }

/* ─────────────────────────────────────────
   WHATSAPP FAB
───────────────────────────────────────── */
.whatsapp-fab {
  position: fixed;
  bottom: max(28px, calc(env(safe-area-inset-bottom) + 16px));
  right: max(28px, calc(env(safe-area-inset-right) + 16px));
  width: 58px;
  height: 58px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.4);
  z-index: 90;
  transition: all var(--transition);
}

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

.whatsapp-fab:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 10px 32px rgba(37,211,102,.5);
}


/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
/* ── 1024px ── */
@media (max-width: 1024px) {
  .areas__grid { grid-template-columns: repeat(4, 1fr); }
  .hero__image-frame { width: 320px; height: 400px; }
  .sobre__inner { grid-template-columns: 340px 1fr; gap: 48px; }
}

/* ── 900px — layout mobile principal ── */
@media (max-width: 900px) {
  /* Seções */
  .section { padding: 72px 0; }

  /* Nav mobile — sem menu */
  .nav__links { display: none; }
  .nav__toggle { display: none; }

  /* Hero */
  .hero { padding: 100px 0 52px; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__image { display: none; }
  .hero__badge { margin-bottom: 20px; }
  .hero__desc { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__stats { justify-content: center; }

  /* Sobre */
  .sobre__inner { grid-template-columns: 1fr; }
  .sobre__image { max-width: 320px; margin: 0 auto; }
  .sobre__image img { height: 420px; }
  .sobre__card { right: 0; bottom: 0; }
  .sobre__content .section__title { text-align: center; }
  .sobre__crp { display: block; text-align: center; }
  .sobre__abordagens { justify-content: center; }
  .sobre__content { text-align: center; }
  .sobre__content .btn { margin: 0 auto; }

  /* Grids */
  .areas__grid { grid-template-columns: repeat(3, 1fr); }
  .servicos__grid { grid-template-columns: 1fr; }
  .publico__grid { grid-template-columns: repeat(2, 1fr); }

  /* Online */
  .online__inner { grid-template-columns: 1fr; }
  .online__visual { display: flex; margin-top: 8px; }
  .online__icon-box { display: none; }
  .online__features { grid-template-columns: repeat(2, 1fr); }

  /* Contato */
  .contato__inner { grid-template-columns: 1fr; }
  .contato__form-box { order: -1; }


  /* Footer */
  .footer__inner { gap: 20px; }

  /* Seção header */
  .section__header { margin-bottom: 44px; }
}

/* ── 600px — smartphones ── */
@media (max-width: 600px) {

  /* ─ Base ─ */
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .section__header { margin-bottom: 40px; max-width: 100%; }
  .section__label { font-size: .72rem; }
  .section__title { font-size: clamp(1.75rem, 6.5vw, 2.2rem); line-height: 1.18; }
  .section__desc { font-size: .95rem; }

  /* ─ Nav ─ */
  .nav__inner { height: 60px; justify-content: flex-start; }
  .nav__logo-name { font-size: 1.05rem; }
  .nav__logo-sub { font-size: .63rem; }

  /* ─ Hero ─ */
  .hero { padding: 92px 0 48px; min-height: auto; }
  .hero__badge { font-size: .7rem; padding: 5px 13px; margin-bottom: 18px; }
  .hero__title { font-size: clamp(1.9rem, 7.5vw, 2.6rem); margin-bottom: 16px; }
  .hero__desc {
    font-size: .96rem;
    line-height: 1.65;
    margin-bottom: 28px;
    max-width: 100%;
  }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 36px;
  }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__stats {
    justify-content: center;
    gap: 0;
  }
  .hero__stat {
    padding: 0 clamp(6px, 2vw, 18px); /* escala com a tela; 18px em ≥900px, ~7px em 375px */
    text-align: center;
  }
  .hero__stat + .hero__stat {
    border-left: 1px solid rgba(255,255,255,.22);
  }
  .hero__stat strong { font-size: 1.4rem; }
  .hero__stat span { font-size: .7rem; }
  .hero__wave { height: 40px; }

  /* ─ Sobre ─ */
  .sobre__image { max-width: 280px; }
  .sobre__image img {
    height: 340px;
    border-radius: 120px 120px 70px 70px;
  }
  .sobre__card {
    position: static;
    margin: 14px auto 0;
    max-width: 280px;
    right: auto;
    border-left-width: 3px;
  }
  .sobre__content p { font-size: .95rem; }
  .sobre__abordagens { gap: 8px; }
  .sobre__abordagens span { font-size: .78rem; }

  /* ─ Áreas ─ */
  .areas__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .area-card { padding: 18px 14px; }
  .area-card__icon { width: 38px; height: 38px; margin-bottom: 10px; }
  .area-card h3 { font-size: .85rem; margin-bottom: 6px; }
  .area-card p { font-size: .78rem; line-height: 1.5; }

  /* ─ Serviços ─ */
  .servico-item { padding: 18px 16px; gap: 14px; }
  .servico-item__num { font-size: 1.2rem; }
  .servico-item__content h3 { font-size: .95rem; }
  .servico-item__content p { font-size: .85rem; }
  /* Último item ímpar: ocupa linha completa */
  .servico-item:last-child:nth-child(odd) { max-width: 100%; }

  /* ─ Público ─ */
  .publico__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .publico-card { padding: 24px 14px; }
  .publico-card i { width: 36px; height: 36px; margin-bottom: 12px; }
  .publico-card h3 { font-size: .92rem; }
  .publico-card p { font-size: .8rem; line-height: 1.5; }

  /* ─ Online ─ */
  .online__visual { display: flex; }
  .online__features { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .online__feature { padding: 14px 10px; }
  .online__feature span { font-size: .78rem; }
  .online__list li { font-size: .92rem; }
  .online .btn--primary { width: 100%; justify-content: center; }

  /* ─ FAQ ─ */
  .faq__list { gap: 8px; }
  .faq__question { padding: 16px 18px; font-size: .93rem; }
  .faq__answer p,
  .faq__answer ul { padding: 0 18px; font-size: .9rem; }
  .faq__answer ul { padding-left: 34px; }

  /* ─ Contato ─ */
  .contato__info h3,
  .contato__form-box h3 { font-size: 1.3rem; }
  .info-item { gap: 12px; }
  .info-item__icon { width: 38px; height: 38px; flex-shrink: 0; }
  .info-item span { font-size: .9rem; }
  .contato__map { margin-top: 20px; }
  .contato__map iframe { height: 170px; border-radius: 10px; }
  .contato__form-box { padding: 22px 16px; }
  .form-group { margin-bottom: 12px; }
  .form-group label { font-size: .82rem; }
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px;
    padding: 12px 13px;
  }

  /* ─ Botões ─ */
  .btn { padding: 13px 20px; font-size: .9rem; min-height: 48px; }

  /* ─ Footer ─ */
  .footer { padding: 20px 0 0; }
  .footer__inner { gap: 10px; padding-bottom: 16px; }
  .footer__brand p { font-size: .78rem; }
  .footer__links { gap: 4px 16px; }
  .footer__links a { font-size: .8rem; }
  .footer__bottom p { font-size: .72rem; }
  .footer__bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }
  .footer__legal-links {
    justify-content: center;
    gap: 20px;
  }
}

/* ── 380px — iPhone SE e similares ── */
@media (max-width: 380px) {
  .container { padding: 0 16px; }
  /* hero__stat padding: coberto pelo clamp() no breakpoint 600px — não sobrescrever aqui */
  .hero__stat strong { font-size: 1.25rem; }
  .areas__grid { gap: 8px; }
  .area-card { padding: 16px 12px; }
  .publico__grid { gap: 8px; }
  .section__title { font-size: 1.65rem; }
  .contato__form-box { padding: 18px 14px; }
}
