/* ══════════════════════════════════════════
   CHARLITON MÜLLER ADVOGADOS — style.css
════════════════════════════════════════════ */

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

:root {
  --navy:      #001e3e;
  --navy2:     #00274f;
  --navy-deep: #000d1a;
  --gold:      #b89a5a;
  --gold2:     #d4b97a;
  --cream:     #f5f0e8;
  --offwhite:  #faf8f4;
  --text:      #1a1a1a;
  --muted:     #5f5f5f;
  --border:    rgba(184,154,90,0.25);
  --line:      rgba(0,30,62,.1);
  --gutter:    5vw;
  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'Montserrat', sans-serif;
  --ease: cubic-bezier(.22,.61,.36,1);
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: var(--font-body); background: var(--offwhite); color: var(--text); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
/* no iPhone o overflow só no body não impede a página de deslizar para o lado */
html { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
.tabbar, .deslize-pontos, .cta-fixo { display: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }
ul { list-style: none; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--gold); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--gold); color: var(--navy); padding: .8rem 1.2rem; font-size: .75rem; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 1rem; }

/* ══════════════════════════════
   LOGO (SVG vetorial dourado, redesenhado a partir do logo-chm.png)
══════════════════════════════ */
.logo-mark {
  display: block; flex-shrink: 0;
  width: 42px; height: 53px;
  background: url(../images/logo-chm.svg) no-repeat center / contain;
}

/* ══════════════════════════════
   HEADER / NAV
══════════════════════════════ */
#header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .4s, box-shadow .4s; }
#header.scrolled { background: rgba(0,30,62,.97); backdrop-filter: blur(12px); box-shadow: 0 4px 30px rgba(0,0,0,.25); }

.topbar {
  display: flex; justify-content: space-between; align-items: center;
  height: 38px; padding: 0 var(--gutter);
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: .66rem; letter-spacing: .08em; color: rgba(255,255,255,.6);
  overflow: hidden; transition: height .4s var(--ease), opacity .3s;
}
#header.scrolled .topbar { height: 0; opacity: 0; border: 0; }
.topbar-cities { text-transform: uppercase; letter-spacing: .22em; color: var(--gold); }
.topbar-cities i { font-style: normal; color: rgba(255,255,255,.3); padding: 0 .3rem; }
.topbar-links { display: flex; align-items: center; gap: 1.6rem; }
.topbar-links a { color: inherit; text-decoration: none; transition: color .3s; }
.topbar-links a:hover { color: #fff; }
.topbar-social { display: inline-flex; align-items: center; font-weight: 600; }

nav {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 0 var(--gutter); height: 84px;
  transition: height .4s var(--ease);
}
#header.scrolled nav { height: 72px; }

.nav-logo { display: flex; align-items: center; gap: 1rem; text-decoration: none; }
.nav-logo-text { display: flex; flex-direction: column; gap: 3px; }
.logo-name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; color: #fff; letter-spacing: .04em; line-height: 1; }
.logo-sub { font-size: .58rem; font-weight: 500; color: var(--gold); letter-spacing: .32em; text-transform: uppercase; }

.nav-links { display: flex; gap: 2.2rem; }
.nav-links a {
  font-size: .66rem; font-weight: 500; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(255,255,255,.78);
  text-decoration: none; transition: color .3s; position: relative; padding: .4rem 0;
}
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background: var(--gold); transition: width .3s; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta {
  font-size: .66rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; padding: .75rem 1.5rem;
  border: 1px solid var(--gold); color: var(--gold);
  text-decoration: none; transition: all .3s; white-space: nowrap;
}
.nav-cta:hover { background: var(--gold); color: var(--navy); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: .5rem; }
.hamburger span { width: 24px; height: 1.5px; background: #fff; display: block; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 200;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu ul { text-align: center; display: flex; flex-direction: column; gap: 1.6rem; }
.mobile-menu a { font-family: var(--font-display); font-size: 2.1rem; font-weight: 300; color: #fff; text-decoration: none; transition: color .3s; }
.mobile-menu a:hover { color: var(--gold); }
.mobile-close { position: absolute; top: 1.6rem; right: 1.6rem; background: none; border: none; color: rgba(255,255,255,.6); font-size: 1.5rem; cursor: pointer; }
.mobile-close:hover { color: #fff; }

/* ══════════════════════════════
   HERO
══════════════════════════════ */
#hero {
  min-height: 100vh; min-height: 100svh; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0; background: var(--navy);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 40%; animation: heroZoom 18s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,20,42,.94) 0%, rgba(0,30,62,.78) 45%, rgba(0,30,62,.35) 100%),
    linear-gradient(0deg, rgba(0,13,26,.9) 0%, transparent 40%);
}

.hero-content { position: relative; z-index: 2; padding: 160px var(--gutter) 4rem; max-width: 960px; }
.hero-tag { display: inline-flex; align-items: center; gap: 1rem; font-size: .64rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: 2rem; animation: fadeUp .9s .1s var(--ease) both; }
.hero-tag::before { content: ''; width: 40px; height: 1px; background: var(--gold); }
.hero-h1 { font-family: var(--font-display); font-size: clamp(2.9rem, 6.6vw, 6.4rem); font-weight: 300; line-height: 1.02; color: #fff; margin-bottom: 1.8rem; animation: fadeUp .9s .25s var(--ease) both; }
.hero-h1 em { font-style: italic; color: var(--gold2); }
.hero-desc { font-size: .95rem; font-weight: 300; line-height: 1.85; color: rgba(255,255,255,.72); max-width: 540px; margin-bottom: 2.8rem; animation: fadeUp .9s .4s var(--ease) both; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2.2rem; animation: fadeUp .9s .55s var(--ease) both; }

.btn-primary { display: inline-flex; align-items: center; gap: .8rem; padding: 1.1rem 2.3rem; background: var(--gold); color: var(--navy); font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; transition: all .3s; }
.btn-primary:hover { background: var(--gold2); transform: translateY(-2px); }
.btn-primary svg { transition: transform .3s; }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-ghost { font-size: .7rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.75); text-decoration: none; transition: color .3s; }
.btn-ghost:hover { color: #fff; }

.hero-areas {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.12);
  background: rgba(0,13,26,.35); backdrop-filter: blur(6px);
  animation: fadeUp .9s .75s var(--ease) both;
}
.hero-area {
  display: flex; align-items: baseline; gap: .9rem; text-align: left;
  padding: 1.8rem var(--gutter) 1.8rem 2rem; cursor: pointer;
  background: none; border: none; border-right: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.85); font-family: var(--font-display); font-size: 1.25rem; font-weight: 400;
  position: relative; transition: background .3s, color .3s;
}
.hero-area:first-child { padding-left: var(--gutter); }
.hero-area:last-child { border-right: 0; }
.hero-area span { font-family: var(--font-body); font-size: .6rem; font-weight: 600; letter-spacing: .15em; color: var(--gold); }
.hero-area::before { content: ''; position: absolute; top: -1px; left: 0; height: 2px; width: 0; background: var(--gold); transition: width .4s var(--ease); }
.hero-area:hover { background: rgba(184,154,90,.1); color: #fff; }
.hero-area:hover::before { width: 100%; }

/* ══════════════════════════════
   COMMONS
══════════════════════════════ */
section { padding: 8rem var(--gutter); }
.section-tag { display: inline-flex; align-items: center; gap: 1rem; font-size: .62rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.4rem; }
.section-tag::before { content: ''; width: 30px; height: 1px; background: var(--gold); }
.section-h2 { font-family: var(--font-display); font-size: clamp(2.2rem, 4.2vw, 3.8rem); font-weight: 300; line-height: 1.08; color: var(--navy); margin-bottom: 1.5rem; }
.section-h2 em { font-style: italic; color: var(--gold); }
.section-lead { font-size: .9rem; font-weight: 300; line-height: 1.9; color: var(--muted); max-width: 560px; }
.section-lead + .section-lead { margin-top: 1rem; }

/* ══════════════════════════════
   SOBRE
══════════════════════════════ */
#sobre { background: #fff; display: grid; grid-template-columns: 1fr 1.1fr; gap: 7rem; align-items: center; }
.about-visual { position: relative; padding: 0 2rem 2rem 0; }
.about-visual::before { content: ''; position: absolute; right: 0; bottom: 0; width: 70%; height: 70%; border: 1px solid var(--gold); }
.about-photo-wrap { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--navy); }
.about-photo { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about-visual:hover .about-photo { transform: scale(1.04); }
.about-badge { position: absolute; left: -1.5rem; bottom: 4rem; width: 140px; padding: 1.4rem 1rem; background: var(--navy); border-left: 3px solid var(--gold); display: flex; flex-direction: column; gap: .4rem; }
.about-badge span:first-child { font-family: var(--font-display); font-size: 2.4rem; font-weight: 500; color: var(--gold2); line-height: 1; }
.about-badge span:last-child { font-size: .56rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.75); line-height: 1.5; }

.about-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 3rem; border-top: 1px solid var(--line); }
.about-facts li { display: flex; gap: 1rem; align-items: flex-start; padding: 1.5rem 1rem 1.5rem 0; border-bottom: 1px solid var(--line); }
.about-facts svg { width: 28px; height: 28px; color: var(--gold); flex-shrink: 0; }
.about-facts strong { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); margin-bottom: .3rem; }
.about-facts span { font-size: .8rem; font-weight: 300; color: var(--muted); }

/* ══════════════════════════════
   ÁREAS — CARROSSEL
══════════════════════════════ */
#areas { background: var(--navy); padding-right: 0; }
#areas .section-h2 { color: #fff; }
.areas-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 3.5rem; padding-right: var(--gutter); }
.carousel-nav { display: flex; gap: .6rem; }
.carousel-btn { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; background: transparent; border: 1px solid rgba(184,154,90,.45); color: var(--gold); cursor: pointer; transition: all .3s; }
.carousel-btn:hover:not(:disabled) { background: var(--gold); color: var(--navy); }
.carousel-btn:disabled { opacity: .3; cursor: default; }

.areas-track {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - var(--gutter) - 3 * 1.2rem) / 3.6);
  gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-right: var(--gutter); padding-bottom: .5rem; scrollbar-width: none;
}
.areas-track::-webkit-scrollbar { display: none; }

.area-card {
  position: relative; aspect-ratio: 3/4; overflow: hidden; scroll-snap-align: start;
  border: none; padding: 0; cursor: pointer; text-align: left; background: var(--navy2); color: #fff;
}
.area-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.area-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,13,26,.96) 8%, rgba(0,30,62,.45) 55%, rgba(0,30,62,.15) 100%); transition: background .5s; }
.area-card:hover img { transform: scale(1.07); }
.area-card:hover::after { background: linear-gradient(to top, rgba(0,13,26,.98) 15%, rgba(0,30,62,.65) 70%, rgba(0,30,62,.35) 100%); }
.area-body { position: absolute; inset: auto 0 0 0; z-index: 1; padding: 2rem 1.8rem; display: flex; flex-direction: column; }
.area-num { font-size: .62rem; font-weight: 600; letter-spacing: .2em; color: var(--gold); margin-bottom: .9rem; }
.area-title { font-family: var(--font-display); font-size: 1.75rem; font-weight: 400; line-height: 1.1; padding-bottom: 1rem; border-bottom: 1px solid rgba(184,154,90,.4); }
.area-short { font-size: .78rem; font-weight: 300; line-height: 1.7; color: rgba(255,255,255,.75); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s, margin .4s; }
.area-card:hover .area-short, .area-card:focus-visible .area-short { max-height: 6rem; opacity: 1; margin-top: 1rem; }
.area-link { margin-top: 1rem; font-size: .62rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); transition: transform .3s; }
.area-card:hover .area-link { transform: translateX(4px); }

/* MODAL DE ÁREA */
.area-modal {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: 2rem; opacity: 0; visibility: hidden;
  transition: opacity .4s ease, visibility .4s;
}
.area-modal.open { opacity: 1; visibility: visible; }
.area-modal-backdrop { position: absolute; inset: 0; background: rgba(0,10,25,.85); backdrop-filter: blur(8px); }
.area-modal-content {
  position: relative; background: #fff;
  max-width: 640px; width: 100%; max-height: 90vh; overflow-y: auto;
  padding: 4rem 3.5rem 3rem;
  border-top: 4px solid var(--gold);
  transform: translateY(30px); transition: transform .5s var(--ease);
}
.area-modal.open .area-modal-content { transform: translateY(0); }
.area-modal-close { position: absolute; top: 1.5rem; right: 1.5rem; width: 38px; height: 38px; border: 1px solid var(--border); background: transparent; color: var(--navy); font-size: .9rem; cursor: pointer; transition: all .3s; }
.area-modal-close:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.area-modal-tag { font-size: .62rem; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.area-modal-title { font-family: var(--font-display); font-size: 2.4rem; font-weight: 300; color: var(--navy); line-height: 1.15; margin-bottom: 1.5rem; }
.area-modal-desc { font-size: .88rem; font-weight: 300; line-height: 1.85; color: var(--muted); margin-bottom: 2rem; }
.area-modal-subtitle { font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--navy); margin-bottom: 1.2rem; padding-bottom: .8rem; border-bottom: 1px solid var(--border); }
.area-modal-list { display: flex; flex-direction: column; gap: .8rem; margin-bottom: 2.5rem; }
.area-modal-list li { position: relative; padding-left: 1.5rem; font-size: .85rem; font-weight: 300; line-height: 1.7; color: var(--text); }
.area-modal-list li::before { content: ''; position: absolute; left: 0; top: .7rem; width: 8px; height: 1px; background: var(--gold); }
.area-modal-cta { display: inline-flex; align-items: center; gap: .8rem; padding: 1rem 2rem; background: var(--navy); color: #fff; font-size: .7rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; text-decoration: none; transition: all .3s; }
.area-modal-cta:hover { background: var(--gold); color: var(--navy); }

/* ══════════════════════════════
   SETOR PÚBLICO
══════════════════════════════ */
#setor-publico { position: relative; overflow: hidden; background: var(--navy-deep); padding-top: 9rem; padding-bottom: 9rem; }
.sp-bg { position: absolute; inset: 0; }
.sp-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.sp-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,13,26,.95) 30%, rgba(0,13,26,.6)); }
.sp-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 6rem; align-items: center; }
#setor-publico .section-h2 { color: #fff; }
#setor-publico .section-lead { color: rgba(255,255,255,.65); }
.sp-list { border-top: 1px solid rgba(184,154,90,.3); }
.sp-list li { display: grid; grid-template-columns: 140px 1fr; gap: 1.5rem; align-items: baseline; padding: 1.5rem 0; border-bottom: 1px solid rgba(184,154,90,.3); font-size: .85rem; font-weight: 300; color: rgba(255,255,255,.8); }
.sp-list span { font-family: var(--font-display); font-size: 1.35rem; color: var(--gold2); }

/* ══════════════════════════════
   EQUIPE
══════════════════════════════ */
#equipe { background: var(--cream); }
.team-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 4rem; }
.team-header .section-lead { max-width: 340px; }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
/* número ímpar de cards: o último fica centralizado na linha */
@media (min-width: 1101px) { .team-grid > .member-card:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 1rem); } }
.member-card { display: grid; grid-template-columns: 42% 1fr; background: #fff; align-items: stretch; }
.member-photo { position: relative; min-height: 380px; overflow: hidden; background: linear-gradient(160deg, var(--navy), var(--navy2)); }
.member-photo::before {
  content: attr(data-initials); position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 4.5rem; font-weight: 300; letter-spacing: .05em; color: rgba(184,154,90,.45);
}
.member-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.member-card:hover .member-img { transform: scale(1.04); }
.member-info { padding: 2.4rem 2.2rem; display: flex; flex-direction: column; }
.member-role { font-size: .6rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: .6rem; }
.member-name { font-family: var(--font-display); font-size: 1.9rem; font-weight: 400; color: var(--navy); line-height: 1.1; }
.member-oab { font-size: .7rem; color: var(--muted); margin-top: .4rem; }
.member-spec { font-size: .8rem; font-weight: 300; line-height: 1.75; color: var(--muted); margin-top: 1.2rem; }
.member-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.2rem; }
.member-tags li { font-size: .58rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); padding: .35rem .7rem; border: 1px solid var(--border); }

.member-toggle {
  display: inline-flex; align-items: center; justify-content: space-between; gap: .6rem;
  margin-top: 1.6rem; padding: .9rem 0;
  background: transparent; border: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  color: var(--navy); font-size: .64rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; cursor: pointer; transition: color .3s;
}
.member-toggle:hover { color: var(--gold); }
.member-toggle .toggle-icon { color: var(--gold); transition: transform .4s ease; }
.member-toggle[aria-expanded="true"] .toggle-icon { transform: rotate(180deg); }
.member-historico { max-height: 0; overflow: hidden; transition: max-height .5s ease; }
.member-historico.open { max-height: 600px; }
.member-historico ul { display: flex; flex-direction: column; gap: .7rem; padding: 1.2rem 0 .4rem; }
.member-historico li { position: relative; padding-left: 1.4rem; font-size: .78rem; font-weight: 300; line-height: 1.6; color: var(--muted); }
.member-historico li::before { content: ''; position: absolute; left: 0; top: .6rem; width: 8px; height: 1px; background: var(--gold); }
.member-contact { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-top: auto; padding-top: 1.6rem; }
.member-contact a { font-size: .72rem; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--border); padding-bottom: 2px; transition: border-color .3s, color .3s; }
.member-contact a:hover { color: var(--gold); border-color: var(--gold); }

/* ══════════════════════════════
   COMO ATUAMOS
══════════════════════════════ */
#diferenciais { background: var(--offwhite); }
.diff-header { max-width: 640px; margin-bottom: 4rem; }
.diff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; }
.diff-item { padding-top: 2rem; border-top: 1px solid var(--navy); position: relative; }
.diff-item::before { content: ''; position: absolute; top: -1px; left: 0; width: 40px; height: 3px; background: var(--gold); transition: width .5s var(--ease); }
.diff-item:hover::before { width: 100%; }
.diff-num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 300; color: var(--gold); line-height: 1; margin-bottom: 1.2rem; }
.diff-item h3 { font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); margin-bottom: .8rem; }
.diff-item p { font-size: .82rem; font-weight: 300; line-height: 1.8; color: var(--muted); }

/* ══════════════════════════════
   PUBLICAÇÕES
══════════════════════════════ */
#artigos { background: #fff; }
.artigos-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 4rem; }
.link-all { font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: .3rem; transition: color .3s; white-space: nowrap; }
.link-all:hover { color: var(--gold); }

.artigos-grid { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: repeat(3, auto); gap: 1.6rem 3rem; }
.artigo-card { display: grid; grid-template-columns: 38% 1fr; gap: 1.5rem; align-items: center; }
.artigo-card + .artigo-card { padding-top: 1.6rem; border-top: 1px solid var(--line); }
.artigo-card.destaque + .artigo-card { padding-top: 0; border-top: 0; }
.artigo-card.destaque { grid-row: 1 / span 3; grid-template-columns: 1fr; align-items: start; gap: 0; }

.artigo-thumb { display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--navy); }
.artigo-card.destaque .artigo-thumb { aspect-ratio: 16/10; }
.artigo-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.artigo-card:hover .artigo-thumb img { transform: scale(1.05); }

.artigo-card.destaque .artigo-body { padding-top: 2rem; }
.artigo-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: .8rem; }
.artigo-categoria { font-size: .56rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #fff; background: var(--navy); padding: .3rem .7rem; }
.artigo-data { font-size: .68rem; font-weight: 300; color: var(--muted); }
.artigo-titulo { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; color: var(--navy); line-height: 1.25; text-decoration: none; transition: color .3s; }
.artigo-card.destaque .artigo-titulo { font-size: 2rem; font-weight: 400; }
.artigo-titulo:hover { color: var(--gold); }
.artigo-resumo { font-size: .84rem; font-weight: 300; line-height: 1.85; color: var(--muted); margin-top: 1rem; }
.artigo-autor { font-size: .7rem; font-weight: 500; color: var(--navy); margin-top: .8rem; }
.artigo-autor span { font-weight: 300; color: var(--muted); }

/* ══════════════════════════════
   UNIDADES
══════════════════════════════ */
#unidades { background: var(--cream); }
.unidades-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 2.5rem; }
.unidade-card { background: #fff; overflow: hidden; }
.unidade-photo { aspect-ratio: 16/8; overflow: hidden; background: var(--navy); }
.unidade-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.unidade-card:hover .unidade-photo img { transform: scale(1.05); }
.unidade-body { padding: 2rem 2.2rem 2.2rem; border-top: 3px solid var(--gold); }
.unidade-body h3 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 400; color: var(--navy); margin-bottom: .8rem; }
.unidade-body h3 span { font-family: var(--font-body); font-size: .62rem; font-weight: 600; letter-spacing: .2em; color: var(--gold); vertical-align: middle; margin-left: .4rem; }
.unidade-body p { font-size: .84rem; font-weight: 300; line-height: 1.7; color: var(--muted); margin-bottom: 1rem; }
.unidade-body a { font-size: .78rem; font-weight: 500; color: var(--navy); text-decoration: none; }
.unidade-body a:hover { color: var(--gold); }

/* ══════════════════════════════
   CONTATO
══════════════════════════════ */
#contato { background: var(--navy); position: relative; overflow: hidden; }
#contato::before { content: ''; position: absolute; top: 0; right: 0; width: 50%; height: 100%; background: rgba(255,255,255,.02); clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%); }
#contato .section-h2 { color: #fff; }
#contato .section-lead { color: rgba(255,255,255,.6); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 7rem; position: relative; z-index: 1; }
.contact-info { margin-top: 3rem; display: flex; flex-direction: column; gap: 1.8rem; }
.contact-info li { display: flex; gap: 1.2rem; align-items: flex-start; font-size: .9rem; color: rgba(255,255,255,.85); }
.contact-info svg { width: 42px; height: 42px; padding: 10px; flex-shrink: 0; border: 1px solid rgba(184,154,90,.4); color: var(--gold); }
.contact-label { display: block; font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: .35rem; }
.contact-info a { color: inherit; text-decoration: none; }
.contact-info a:hover { color: var(--gold); }

.contact-form { display: flex; flex-direction: column; gap: 1.2rem; background: rgba(255,255,255,.03); border: 1px solid rgba(184,154,90,.2); padding: 2.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: .5rem; }
.form-group label { font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.form-group input, .form-group select, .form-group textarea { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); color: #fff; padding: .9rem 1rem; font-family: var(--font-body); font-size: .85rem; outline: none; transition: border-color .3s; resize: vertical; border-radius: 0; }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,.3); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group select option { background: var(--navy); }
.form-group .invalid { border-color: #f87171; }
.form-consent { display: flex; gap: .8rem; align-items: flex-start; font-size: .74rem; font-weight: 300; line-height: 1.6; color: rgba(255,255,255,.65); cursor: pointer; }
.form-consent input { margin-top: .2rem; accent-color: var(--gold); width: 16px; height: 16px; flex-shrink: 0; }
.form-consent a { color: var(--gold2); }
.form-submit { display: inline-flex; align-items: center; gap: 1rem; padding: 1.1rem 2.5rem; align-self: flex-start; background: var(--gold); color: var(--navy); font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; border: none; cursor: pointer; transition: all .3s; margin-top: .5rem; }
.form-submit:hover { background: var(--gold2); transform: translateY(-2px); }
.success-msg, .error-msg { display: none; padding: 1rem 1.5rem; font-size: .8rem; }
.success-msg { background: rgba(184,154,90,.12); border: 1px solid var(--gold); color: var(--gold2); }
.error-msg { background: rgba(200,50,50,.1); border: 1px solid rgba(200,50,50,.4); color: #f87171; }
.success-msg.show, .error-msg.show { display: block; }

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
footer { background: var(--navy-deep); padding: 5rem var(--gutter) 2rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 4rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 2rem; }
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-logo-name { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; color: #fff; line-height: 1; margin-bottom: .35rem; }
.footer-logo-sub { font-size: .58rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }
.footer-desc { font-size: .8rem; font-weight: 300; line-height: 1.8; color: rgba(255,255,255,.5); margin-top: 1.5rem; max-width: 300px; }
.footer-col h2 { font-size: .62rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .8rem; }
.footer-col a { font-size: .8rem; font-weight: 300; color: rgba(255,255,255,.55); text-decoration: none; transition: color .3s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; font-size: .68rem; color: rgba(255,255,255,.4); }

/* WHATSAPP */
.whatsapp-float {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #25d366; color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.25);
  transition: transform .3s;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ══════════════════════════════
   REVEAL / ANIMATIONS
══════════════════════════════ */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 1200px) {
  .nav-links { gap: 1.4rem; }
  .areas-track { grid-auto-columns: calc((100% - var(--gutter) - 2 * 1.2rem) / 2.6); }
}
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .team-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  #sobre, .sp-inner, .contact-grid { grid-template-columns: 1fr; gap: 4rem; }
  .about-visual { max-width: 520px; }
  .artigos-grid { grid-template-columns: 1fr; }
  .artigo-card.destaque { grid-row: auto; }
  .artigo-card.destaque + .artigo-card { padding-top: 1.6rem; border-top: 1px solid var(--line); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .hero-areas { grid-template-columns: repeat(2, 1fr); }
  .hero-area, .hero-area:first-child { padding: 1.3rem 1.5rem 1.3rem var(--gutter); border-bottom: 1px solid rgba(255,255,255,.08); }
  .hero-area:nth-child(even) { padding-left: 1.5rem; border-right: 0; }
}
@media (max-width: 768px) {
  :root { --gutter: 1.25rem; }
  section { padding: 5rem var(--gutter); }
  .topbar { display: none; }
  nav, #header.scrolled nav { height: 68px; }
  .nav-cta { display: none; }
  .logo-name { font-size: 1.2rem; }
  .hero-content { padding-top: 120px; padding-bottom: 2.5rem; }
  .hero-tag { letter-spacing: .16em; font-size: .58rem; gap: .7rem; }
  .hero-tag::before { width: 24px; }
  .hero-desc { font-size: .88rem; }
  .hero-area { font-size: 1.05rem; }
  .areas-header, .team-header, .artigos-header { flex-direction: column; align-items: flex-start; }
  .areas-track { grid-auto-columns: 78%; }
  .area-short { max-height: 6rem; opacity: 1; margin-top: 1rem; }
  .about-visual { padding: 0 1rem 1rem 0; }
  .about-badge { left: 0; bottom: 2.5rem; }
  .about-facts { grid-template-columns: 1fr; }
  .sp-list li { grid-template-columns: 1fr; gap: .3rem; }
  .member-card { grid-template-columns: 1fr; }
  .member-photo { aspect-ratio: 4/3; min-height: 0; }
  .member-info { padding: 2rem 1.5rem; }
  .diff-grid { grid-template-columns: 1fr; }
  .artigo-card { grid-template-columns: 1fr; }
  .artigo-card.destaque .artigo-titulo { font-size: 1.6rem; }
  .unidades-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .area-modal { padding: 1rem; }
  .area-modal-content { padding: 3rem 1.5rem 2rem; }
  .area-modal-title { font-size: 1.8rem; }
  .whatsapp-float { width: 52px; height: 52px; right: 1rem; bottom: 1rem; }
}
