:root {
  --ink: #10233f;
  --forest: #0b3d73;
  --forest-2: #062a52;
  --cream: #eef5fb;
  --paper: #f7fbff;
  --white: #ffffff;
  --line: #d8e5f1;
  --muted: #62748a;
  --accent: #2f80c9;
  --shadow: 0 24px 70px rgba(16, 35, 63, .12);
  --radius: 3px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 48px), var(--container)); margin: 0 auto; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 47px; height: 47px; display: grid; place-items: center;
  border: 1px solid currentColor; font-family: "Libre Caslon Display", Georgia, serif;
  font-size: 17px; letter-spacing: -.04em;
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-copy strong { font-family: "Libre Caslon Display", Georgia, serif; font-weight: 400; font-size: 20px; }
.brand-copy small { margin-top: 5px; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; opacity: .66; }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: 13px; }
.main-nav > a:not(.nav-cta) { opacity: .82; transition: opacity .2s ease; }
.main-nav > a:not(.nav-cta):hover { opacity: 1; }
.nav-cta { border: 1px solid rgba(255,255,255,.72); padding: 12px 16px; transition: .2s ease; }
.nav-cta:hover { background: var(--white); color: var(--forest); }
.menu-toggle { display: none; border: 0; padding: 10px; background: transparent; }
.menu-toggle span { width: 24px; height: 1px; background: currentColor; display: block; margin: 6px 0; }

.hero { position: relative; overflow: hidden; background: var(--forest); color: var(--white); padding: 170px 0 90px; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 80% 20%, rgba(184,154,97,.18), transparent 22%),
    linear-gradient(115deg, transparent 0 58%, rgba(255,255,255,.035) 58% 59%, transparent 59% 100%);
}
.hero::after { content: ""; position: absolute; width: 520px; height: 520px; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; top: -130px; right: -130px; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .75fr; gap: 80px; align-items: end; }
.eyebrow { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: #8fc5f2; }
.eyebrow.dark { color: #2d6597; }
.hero h1, .section h2, .contact-section h2, .editorial-copy h2 {
  font-family: "Libre Caslon Display", Georgia, serif;
  font-weight: 400; letter-spacing: -.035em; line-height: .98;
}
.hero h1 { max-width: 760px; margin: 24px 0 26px; font-size: clamp(52px, 6.1vw, 88px); }
.hero h1 em { font-weight: 400; color: #8fc5f2; }
.hero-lead { max-width: 690px; margin: 0; color: rgba(255,255,255,.77); font-size: 18px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin: 37px 0 52px; }
.button { min-height: 52px; display: inline-flex; justify-content: center; align-items: center; gap: 28px; padding: 0 22px; border: 1px solid transparent; border-radius: var(--radius); font-weight: 600; font-size: 13px; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #ffffff; background: #1976c9; }
.button-primary:hover { background: #328bd6; }
.button-light { width: 100%; color: var(--forest); background: var(--white); }
.text-link { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,.34); font-size: 13px; }
.text-link.light { color: var(--white); }
.hero-trust { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 680px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 24px; }
.hero-trust div { padding-right: 20px; }
.hero-trust div + div { border-left: 1px solid rgba(255,255,255,.14); padding-left: 26px; }
.hero-trust strong { display: block; font-family: "Libre Caslon Display", Georgia, serif; font-size: 25px; font-weight: 400; }
.hero-trust span { display: block; margin-top: 4px; color: rgba(255,255,255,.58); font-size: 11px; }
.hero-card { box-shadow: var(--shadow); background: #e9e1d0; color: var(--ink); transform: translateY(28px); }
.hero-card-top, .hero-card-footer { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; font-size: 10px; text-transform: uppercase; letter-spacing: .11em; }
.hero-card-top { border-bottom: 1px solid rgba(21,23,20,.14); }
.status-dot { display: flex; align-items: center; gap: 8px; }
.status-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3a7b58; }
.hero-card-body { padding: 36px 34px 32px; }
.card-kicker { margin: 0 0 14px; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: #6a634f; }
.hero-card h2 { margin: 0 0 18px; font-family: "Libre Caslon Display", Georgia, serif; font-size: 36px; line-height: 1.05; font-weight: 400; letter-spacing: -.025em; }
.hero-card-body > p:not(.card-kicker) { color: #54574f; font-size: 14px; }
.check-list { list-style: none; margin: 25px 0 30px; padding: 0; }
.check-list li { position: relative; padding: 11px 0 11px 27px; border-top: 1px solid rgba(21,23,20,.12); font-size: 13px; }
.check-list li:last-child { border-bottom: 1px solid rgba(21,23,20,.12); }
.check-list li::before { content: "✓"; position: absolute; left: 2px; color: var(--forest); font-weight: 700; }
.hero-card-footer { background: #dbeaf6; }
.hero-card-footer strong { font-size: 11px; font-weight: 700; }

.trust-strip { background: #082f59; color: rgba(255,255,255,.72); }
.trust-strip-inner { min-height: 68px; display: flex; align-items: center; justify-content: center; gap: 24px; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; text-align: center; }
.section { padding: 116px 0; }
.section-light { background: var(--paper); }
.section-heading { display: grid; grid-template-columns: 1.25fr .65fr; gap: 90px; align-items: end; margin-bottom: 58px; }
.section-heading.compact { grid-template-columns: 1fr; max-width: 760px; }
.section-heading h2 { max-width: 750px; margin: 20px 0 0; font-size: clamp(42px, 5vw, 66px); }
.section-heading > p { margin: 0; color: var(--muted); font-size: 15px; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 390px; display: flex; flex-direction: column; padding: 28px; background: var(--white); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-number { margin-bottom: 65px; color: #5f83a6; font-family: "Libre Caslon Display", Georgia, serif; }
.service-card h3 { margin: 0 0 18px; font-family: "Libre Caslon Display", Georgia, serif; font-weight: 400; font-size: 29px; line-height: 1.08; }
.service-card p { color: var(--muted); font-size: 13px; }
.service-card a { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 700; }
.service-card-dark { background: var(--forest); color: var(--white); border-color: var(--forest); }
.service-card-dark p, .service-card-dark .service-number { color: rgba(255,255,255,.62); }
.service-card-dark a { border-color: rgba(255,255,255,.2); }

.editorial-section { background: #071f3b; color: var(--white); }
.editorial-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 120px; align-items: center; }
.editorial-quote { padding: 72px 55px; border: 1px solid rgba(255,255,255,.16); background: linear-gradient(145deg, rgba(255,255,255,.04), rgba(255,255,255,.01)); }
.quote-mark { display: block; height: 65px; color: #8fc5f2; font-family: Georgia, serif; font-size: 92px; line-height: 1; }
.editorial-quote p { margin: 8px 0 0; font-family: "Libre Caslon Display", Georgia, serif; font-size: clamp(31px, 3.5vw, 48px); line-height: 1.12; }
.editorial-copy h2 { margin: 20px 0 28px; font-size: clamp(42px, 5vw, 66px); }
.editorial-copy p { max-width: 620px; color: rgba(255,255,255,.66); }
.editorial-copy .text-link { margin-top: 18px; }

.process-wrap { max-width: 1020px; }
.process-list { border-top: 1px solid var(--line); }
.process-item { display: grid; grid-template-columns: 95px 1fr; gap: 32px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.process-item > span { color: #5f83a6; font-family: "Libre Caslon Display", Georgia, serif; font-size: 18px; }
.process-item h3 { margin: 0 0 9px; font-family: "Libre Caslon Display", Georgia, serif; font-size: 30px; font-weight: 400; }
.process-item p { max-width: 680px; margin: 0; color: var(--muted); font-size: 14px; }

.cases-section { background: #eaf3fb; }
.cases-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 100px; align-items: start; }
.cases-copy h2 { margin: 22px 0 28px; font-size: clamp(44px, 5vw, 68px); }
.cases-copy p { max-width: 600px; color: #5b6f85; }
.legal-note { padding-top: 18px; border-top: 1px solid rgba(21,23,20,.15); font-size: 12px; }
.cases-card { background: var(--white); padding: 36px; box-shadow: 0 14px 50px rgba(21,23,20,.08); }
.cases-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: #547797; }
.cases-card ul { list-style: none; margin: 25px 0 30px; padding: 0; }
.cases-card li { display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding: 17px 0; border-top: 1px solid var(--line); font-family: "Libre Caslon Display", Georgia, serif; font-size: 22px; line-height: 1.15; }
.cases-card li:last-child { border-bottom: 1px solid var(--line); }
.cases-card li span { color: #4d82b4; font-family: "DM Sans", Arial, sans-serif; font-size: 10px; }
.cases-card a { display: flex; justify-content: space-between; align-items: center; color: var(--forest); font-size: 12px; font-weight: 700; }

.faq-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 110px; }
.faq-intro h2 { margin: 20px 0 24px; font-size: clamp(42px, 4.5vw, 62px); }
.faq-intro p { color: var(--muted); }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; display: flex; justify-content: space-between; gap: 30px; align-items: center; padding: 24px 0; border: 0; background: transparent; color: var(--ink); text-align: left; }
.faq-question span { font-family: "Libre Caslon Display", Georgia, serif; font-size: 25px; }
.faq-question b { width: 26px; height: 26px; display: grid; place-items: center; font-weight: 400; font-size: 20px; transition: transform .2s ease; }
.faq-item.open .faq-question b { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-answer p { margin: 0; padding: 0 55px 26px 0; color: var(--muted); font-size: 14px; }

.contact-section { padding: 112px 0; background: var(--forest); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 110px; align-items: start; }
.contact-copy h2 { margin: 22px 0 25px; font-size: clamp(48px, 5.2vw, 72px); }
.contact-copy > p { color: rgba(255,255,255,.68); }
.contact-details { display: flex; flex-direction: column; gap: 8px; margin-top: 38px; font-size: 13px; color: rgba(255,255,255,.82); }
.contact-form { padding: 38px; background: #ffffff; color: var(--ink); box-shadow: var(--shadow); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: block; margin-bottom: 17px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; margin-top: 9px; padding: 14px 0; border: 0; border-bottom: 1px solid #c6d8e8; border-radius: 0; outline: none; background: transparent; color: var(--ink); font-size: 14px; text-transform: none; letter-spacing: 0; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--forest); }
.contact-form textarea { resize: vertical; }
.consent { display: grid !important; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; margin: 23px 0 !important; color: #62748a; font-size: 11px !important; font-weight: 400 !important; text-transform: none !important; letter-spacing: 0 !important; }
.consent input { width: 16px; margin-top: 1px; }
.form-submit { width: 100%; border: 0; }
.form-note { display: block; margin-top: 14px; color: #718399; font-size: 10px; line-height: 1.5; }

.site-footer { background: #061a31; color: var(--white); }
.footer-top { min-height: 190px; display: grid; grid-template-columns: 1fr 1.1fr .4fr; gap: 60px; align-items: center; }
.footer-top p { max-width: 490px; color: rgba(255,255,255,.54); font-size: 12px; }
.footer-top > a { justify-self: end; color: rgba(255,255,255,.72); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 23px 0; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.42); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.floating-whatsapp { position: fixed; z-index: 30; right: 20px; bottom: 20px; display: flex; align-items: center; gap: 16px; padding: 13px 16px; background: var(--white); color: var(--forest); border: 1px solid rgba(11,61,115,.25); box-shadow: 0 10px 30px rgba(0,0,0,.18); font-size: 12px; font-weight: 700; }

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

@media (max-width: 980px) {
  .container { width: min(calc(100% - 36px), var(--container)); }
  .menu-toggle { display: block; color: var(--white); z-index: 22; }
  .main-nav { position: fixed; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; background: var(--forest-2); transform: translateY(-105%); transition: transform .35s ease; font-size: 18px; }
  body.menu-open .main-nav { transform: translateY(0); }
  .nav-cta { margin-top: 10px; }
  .hero-grid, .editorial-grid, .cases-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero { padding-top: 145px; }
  .hero-card { max-width: 620px; transform: none; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { min-height: 340px; }
  .service-number { margin-bottom: 45px; }
  .editorial-grid { gap: 45px; }
  .editorial-quote { max-width: 670px; }
  .cases-card { max-width: 650px; }
  .faq-grid { gap: 50px; }
  .contact-grid { gap: 50px; }
  .contact-copy { max-width: 650px; }
  .footer-top { grid-template-columns: 1fr 1fr; padding: 50px 0; }
  .footer-top > a { justify-self: start; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-inner { min-height: 74px; }
  .brand-copy small { display: none; }
  .brand-mark { width: 41px; height: 41px; }
  .hero { padding: 125px 0 70px; }
  .hero h1 { font-size: 50px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 16px; }
  .button { width: 100%; }
  .text-link { align-self: flex-start; }
  .hero-trust { grid-template-columns: 1fr; gap: 16px; }
  .hero-trust div + div { border-left: 0; padding-left: 0; }
  .hero-trust div { padding: 0 0 16px; border-bottom: 1px solid rgba(255,255,255,.14); }
  .hero-card-body { padding: 30px 24px 27px; }
  .hero-card h2 { font-size: 32px; }
  .trust-strip-inner { padding: 22px 0; flex-direction: column; gap: 8px; }
  .trust-strip-inner span:nth-child(even) { display: none; }
  .section { padding: 82px 0; }
  .section-heading h2, .editorial-copy h2, .cases-copy h2, .faq-intro h2 { font-size: 43px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 310px; }
  .editorial-quote { padding: 45px 28px; }
  .editorial-quote p { font-size: 34px; }
  .process-item { grid-template-columns: 50px 1fr; gap: 14px; }
  .process-item h3 { font-size: 26px; }
  .cases-card { padding: 26px; }
  .cases-card li { font-size: 20px; }
  .faq-question span { font-size: 21px; }
  .contact-section { padding: 82px 0; }
  .contact-copy h2 { font-size: 48px; }
  .contact-form { padding: 26px 20px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-top { grid-template-columns: 1fr; gap: 25px; }
  .footer-bottom { flex-direction: column; }
  .floating-whatsapp span { display: none; }
  .floating-whatsapp { width: 48px; height: 48px; justify-content: center; padding: 0; }
}

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


/* Azul & branco + carrossel de matérias */
.hero::before {
  background:
    radial-gradient(circle at 82% 18%, rgba(80,165,235,.26), transparent 24%),
    linear-gradient(115deg, transparent 0 58%, rgba(255,255,255,.045) 58% 59%, transparent 59% 100%);
}
.button-primary { color: #fff; background: #1976c9; }
.button-primary:hover { background: #328bd6; }
.hero-card { background: #eef6fc; }
.service-card-dark { background: #0b3d73; border-color: #0b3d73; }
.cases-card, .contact-form { box-shadow: 0 20px 55px rgba(20,67,111,.10); }
.contact-section { background: #0b3d73; }

.news-section { overflow: hidden; background: #fff; }
.news-heading { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 48px; }
.news-heading h2 { max-width: 760px; margin: 20px 0 0; font-size: clamp(42px, 5vw, 66px); }
.carousel-controls { display: flex; gap: 10px; }
.carousel-btn { width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--forest); font-size: 20px; transition: .2s ease; }
.carousel-btn:hover { background: var(--forest); color: #fff; border-color: var(--forest); }
.news-carousel { overflow: hidden; }
.news-track { display: flex; gap: 20px; transition: transform .55s cubic-bezier(.22,.61,.36,1); will-change: transform; }
.news-card { flex: 0 0 calc((100% - 40px)/3); min-height: 385px; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); background: var(--paper); }
.news-meta { display: flex; justify-content: space-between; gap: 20px; color: #5a7590; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.news-card h3 { margin: 48px 0 18px; font-family: "Libre Caslon Display", Georgia, serif; font-size: 29px; line-height: 1.08; font-weight: 400; }
.news-card p { margin: 0; color: var(--muted); font-size: 13px; }
.news-card a { display: flex; justify-content: space-between; gap: 15px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); color: var(--forest); font-size: 12px; font-weight: 700; }
.carousel-dots { display: flex; gap: 7px; margin-top: 25px; }
.carousel-dot { width: 28px; height: 3px; padding: 0; border: 0; background: #d4e2ef; transition: .2s ease; }
.carousel-dot.active { background: var(--forest); }

.footer-top { grid-template-columns: 1.2fr .9fr .35fr; padding: 52px 0; align-items: start; }
.footer-about p { margin: 24px 0 0; max-width: 470px; color: rgba(255,255,255,.58); font-size: 12px; }
.footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-label { margin-bottom: 5px; color: rgba(255,255,255,.45); font-size: 10px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.footer-contact > a { color: rgba(255,255,255,.82); font-size: 12px; }
.footer-whatsapp { display: inline-flex; align-items: center; gap: 9px; margin-top: 8px; padding: 10px 13px; border: 1px solid rgba(255,255,255,.22); }
.footer-whatsapp:hover { background: rgba(255,255,255,.08); }
.back-top { justify-self: end; color: rgba(255,255,255,.72); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.whatsapp-icon { width: 20px; height: 20px; flex: 0 0 auto; }
.floating-whatsapp { border-radius: 999px; color: #fff; background: #25D366; border: 0; padding: 13px 17px; box-shadow: 0 12px 35px rgba(0,0,0,.22); }
.floating-whatsapp:hover { transform: translateY(-2px); }
.floating-whatsapp .whatsapp-icon { width: 23px; height: 23px; }

/* Revelação progressiva no scroll */
.reveal { opacity: 0; transform: translateY(34px); filter: blur(3px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.65,.3,1), filter .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); filter: blur(0); }
.services-grid .reveal:nth-child(2), .process-list .reveal:nth-child(2) { transition-delay: .08s; }
.services-grid .reveal:nth-child(3), .process-list .reveal:nth-child(3) { transition-delay: .16s; }
.services-grid .reveal:nth-child(4), .process-list .reveal:nth-child(4) { transition-delay: .24s; }

@media (max-width: 980px) {
  .news-card { flex-basis: calc((100% - 20px)/2); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .back-top { justify-self: start; }
}
@media (max-width: 680px) {
  .news-heading { align-items: flex-start; flex-direction: column; }
  .news-card { flex-basis: 88%; min-height: 360px; }
  .news-card h3 { margin-top: 36px; font-size: 27px; }
  .footer-top { grid-template-columns: 1fr; }
  .floating-whatsapp { width: 54px; height: 54px; }
}

/* ===== Ajustes finais: background do hero, matérias e processo interativo ===== */
.hero {
  background:
    linear-gradient(90deg, rgba(6,42,82,.94) 0%, rgba(11,61,115,.88) 38%, rgba(11,61,115,.62) 68%, rgba(11,61,115,.46) 100%),
    url("imagens/background.png") left center / cover no-repeat;
}
.hero::before {
  background:
    radial-gradient(circle at 78% 18%, rgba(143,197,242,.18), transparent 26%),
    linear-gradient(115deg, transparent 0 58%, rgba(255,255,255,.035) 58% 59%, transparent 59% 100%);
}
.hero::after {
  content: none;
}
.hero-grid { position: relative; z-index: 2; }

.news-card { padding: 0 0 24px; overflow: hidden; }
.news-image { position: relative; height: 190px; overflow: hidden; background: #dfeaf4; }
.news-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,42,82,.18), transparent 55%); pointer-events: none; }
.news-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .55s ease; }
.news-card:hover .news-image img { transform: scale(1.035); }
.news-card .news-meta,
.news-card h3,
.news-card p,
.news-card > a { margin-left: 28px; margin-right: 28px; }
.news-card .news-meta { margin-top: 22px; }
.news-card h3 { margin-top: 25px; }
.news-card > a { margin-top: auto; }

.process-section { padding: 86px 0; background: linear-gradient(180deg, #f7fbff 0%, #edf5fb 100%); }
.process-interactive { display: grid; grid-template-columns: .72fr 1.28fr; grid-template-areas: "intro tabs" "intro panel"; gap: 18px 70px; align-items: start; }
.process-intro { grid-area: intro; position: sticky; top: 30px; padding-top: 8px; }
.process-intro h2 { margin: 18px 0 16px; max-width: 390px; font-family: "Libre Caslon Display", Georgia, serif; font-size: clamp(38px, 4.3vw, 58px); font-weight: 400; letter-spacing: -.035em; line-height: 1; }
.process-intro p { max-width: 360px; margin: 0; color: var(--muted); font-size: 14px; }
.process-tabs { grid-area: tabs; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.process-tab { min-height: 74px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; padding: 13px 15px; border: 1px solid var(--line); background: rgba(255,255,255,.72); color: #657b91; text-align: left; transition: .25s ease; }
.process-tab span { color: #88a5bf; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.process-tab:hover { border-color: #aac4dc; background: #fff; transform: translateY(-2px); }
.process-tab.active { border-color: var(--forest); background: var(--forest); color: #fff; box-shadow: 0 12px 28px rgba(11,61,115,.12); }
.process-tab.active span { color: #9bcef6; }
.process-panel { grid-area: panel; min-height: 245px; display: grid; grid-template-columns: 120px 1fr auto; gap: 30px; align-items: center; padding: 34px 36px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(16,35,63,.07); }
.process-panel-number { font-family: "Libre Caslon Display", Georgia, serif; font-size: 74px; line-height: 1; color: #d9e7f3; }
.process-status { display: inline-block; margin-bottom: 10px; color: #4a789f; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.process-panel h3 { margin: 0 0 10px; font-family: "Libre Caslon Display", Georgia, serif; font-size: 34px; line-height: 1.05; font-weight: 400; }
.process-panel p { max-width: 570px; margin: 0; color: var(--muted); font-size: 14px; }
.process-action { align-self: end; display: inline-flex; gap: 18px; align-items: center; white-space: nowrap; color: var(--forest); border-bottom: 1px solid #b9cede; padding-bottom: 5px; font-size: 12px; font-weight: 700; }
.process-panel.is-changing .process-panel-number,
.process-panel.is-changing .process-panel-copy,
.process-panel.is-changing .process-action { opacity: 0; transform: translateY(5px); }
.process-panel-number, .process-panel-copy, .process-action { transition: opacity .2s ease, transform .2s ease; }

@media (max-width: 980px) {
  .hero::after { right: -90px; width: 58vw; opacity: .09; }
  .process-interactive { grid-template-columns: 1fr; grid-template-areas: "intro" "tabs" "panel"; gap: 24px; }
  .process-intro { position: static; }
  .process-intro h2 { max-width: 650px; }
  .process-panel { grid-template-columns: 90px 1fr; }
  .process-action { grid-column: 2; justify-self: start; align-self: start; }
}
@media (max-width: 680px) {
  .hero::after { top: 74px; right: -110px; width: 90vw; opacity: .08; -webkit-mask-image: linear-gradient(to left, #000 35%, transparent 92%); mask-image: linear-gradient(to left, #000 35%, transparent 92%); }
  .news-image { height: 175px; }
  .news-card .news-meta, .news-card h3, .news-card p, .news-card > a { margin-left: 22px; margin-right: 22px; }
  .process-section { padding: 68px 0; }
  .process-tabs { grid-template-columns: repeat(2, 1fr); }
  .process-tab { min-height: 68px; }
  .process-panel { min-height: 0; grid-template-columns: 1fr; gap: 14px; padding: 27px 24px; }
  .process-panel-number { font-size: 50px; }
  .process-panel h3 { font-size: 30px; }
  .process-action { grid-column: 1; margin-top: 8px; }
}


/* =========================================================
   RESPONSIVIDADE REFINADA — desktop, tablet e smartphone
   ========================================================= */

html, body { max-width: 100%; overflow-x: hidden; }
img, svg { max-width: 100%; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
section[id] { scroll-margin-top: 82px; }

.menu-toggle {
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
}
.menu-toggle span {
  margin: 4px auto;
  transition: transform .28s ease, opacity .2s ease;
}
body.menu-open .menu-toggle span:first-child { transform: translateY(5px) rotate(45deg); }
body.menu-open .menu-toggle span:last-child { transform: translateY(-5px) rotate(-45deg); }

.news-image.image-missing {
  background:
    linear-gradient(135deg, rgba(11,61,115,.12), rgba(47,128,201,.06)),
    #eaf3fb;
}
.news-image.image-missing::before {
  content: "Imagem da matéria";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #6f88a0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (max-width: 1180px) {
  .hero-grid { gap: 48px; grid-template-columns: minmax(0,1.1fr) minmax(330px,.8fr); }
  .hero h1 { font-size: clamp(50px, 6.6vw, 76px); }
  .section-heading { gap: 48px; }
  .editorial-grid { gap: 70px; }
  .faq-grid, .contact-grid { gap: 64px; }
  .service-card { padding: 24px; }
  .process-interactive { gap: 22px 42px; }
  .process-panel { grid-template-columns: 88px minmax(0,1fr); }
  .process-action { grid-column: 2; justify-self: start; }
}

@media (max-width: 980px) {
  .site-header { position: absolute; }
  .header-inner { min-height: 78px; }

  .main-nav {
    padding: max(90px, env(safe-area-inset-top)) 28px max(38px, env(safe-area-inset-bottom));
    gap: 8px;
    background:
      radial-gradient(circle at 80% 10%, rgba(47,128,201,.18), transparent 30%),
      #062a52;
  }
  .main-nav a {
    width: min(100%, 420px);
    padding: 15px 4px;
    border-bottom: 1px solid rgba(255,255,255,.11);
    text-align: center;
  }
  .main-nav .nav-cta {
    margin-top: 16px;
    padding: 15px 18px;
    border: 1px solid rgba(255,255,255,.65);
  }

  .hero {
    padding: 130px 0 72px;
    background-position: 22% center;
  }
  .hero::before {
    background:
      linear-gradient(90deg, rgba(6,42,82,.96) 0%, rgba(6,42,82,.90) 48%, rgba(6,42,82,.62) 100%),
      radial-gradient(circle at 78% 18%, rgba(143,197,242,.12), transparent 28%);
  }
  .hero-grid { grid-template-columns: 1fr; gap: 42px; align-items: start; }
  .hero-copy { max-width: 760px; }
  .hero-card { width: min(100%, 650px); margin-left: auto; margin-right: auto; }
  .hero-trust { max-width: 650px; }

  .section { padding: 84px 0; }
  .section-heading { margin-bottom: 42px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .service-card { min-height: 315px; }

  .editorial-section { padding: 82px 0; }
  .editorial-grid { grid-template-columns: 1fr; gap: 34px; }
  .editorial-quote { padding: 48px 42px; }

  .news-card { flex-basis: calc((100% - 18px)/2); }
  .news-track { gap: 18px; }

  .process-section { padding: 72px 0; }
  .process-tabs { grid-template-columns: repeat(4,minmax(0,1fr)); overflow-x: auto; scrollbar-width: none; }
  .process-tabs::-webkit-scrollbar { display: none; }
  .process-tab { min-width: 130px; }

  .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 42px; }
  .faq-intro, .contact-copy { max-width: 700px; }
  .contact-form { width: min(100%, 760px); }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; }
  .back-top { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 32px), var(--container)); }

  .hero {
    min-height: auto;
    padding: 112px 0 54px;
    background-position: 18% center;
  }
  .hero::before {
    background:
      linear-gradient(90deg, rgba(6,42,82,.97) 0%, rgba(6,42,82,.91) 58%, rgba(6,42,82,.73) 100%);
  }
  .hero h1 {
    max-width: 620px;
    margin: 18px 0 20px;
    font-size: clamp(42px, 12vw, 58px);
    line-height: .98;
  }
  .hero-lead { font-size: 15px; line-height: 1.65; }
  .hero-actions { margin: 28px 0 34px; gap: 13px; }
  .hero-actions .button { min-height: 54px; }
  .hero-trust {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 0;
    padding-top: 18px;
  }
  .hero-trust div { padding-right: 12px; }
  .hero-trust div + div { padding-left: 14px; }
  .hero-trust strong { font-size: 22px; }
  .hero-trust span { font-size: 10px; line-height: 1.35; }

  .hero-card-body { padding: 28px 24px 25px; }
  .hero-card h2 { font-size: clamp(29px, 7.5vw, 36px); }
  .hero-card-top, .hero-card-footer { padding: 15px 20px; }

  .trust-strip-inner {
    min-height: auto;
    padding: 18px 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .trust-strip-inner span:nth-child(even) { display: none; }

  .section { padding: 68px 0; }
  .section-heading { margin-bottom: 32px; }
  .section-heading h2,
  .news-heading h2,
  .editorial-copy h2,
  .faq-intro h2 {
    font-size: clamp(36px, 10vw, 48px);
    line-height: 1.02;
  }

  .services-grid {
    grid-template-columns: 1fr;
    border-left: 0;
  }
  .service-card {
    min-height: 0;
    padding: 25px 22px;
    border-left: 1px solid var(--line);
  }
  .service-number { margin-bottom: 28px; }
  .service-card h3 { font-size: 27px; }
  .service-card p { margin-bottom: 28px; }

  .editorial-quote { padding: 34px 26px; }
  .editorial-quote p { font-size: clamp(30px, 8.5vw, 40px); }
  .quote-mark { height: 50px; font-size: 72px; }

  .news-heading { margin-bottom: 28px; gap: 20px; }
  .carousel-controls { align-self: flex-end; }
  .news-carousel { overflow: visible; clip-path: inset(-10px -16px -20px 0); }
  .news-track { gap: 14px; }
  .news-card {
    flex: 0 0 88%;
    min-height: 0;
  }
  .news-image { height: 175px; }
  .news-card h3 { font-size: 25px; line-height: 1.12; }
  .news-card p { margin-bottom: 24px; }
  .carousel-dots { justify-content: center; }

  .process-section { padding: 58px 0; }
  .process-interactive { gap: 20px; }
  .process-intro h2 { font-size: clamp(36px, 10vw, 46px); }
  .process-tabs {
    grid-template-columns: repeat(4, minmax(118px, 1fr));
    margin-right: -16px;
    padding-right: 16px;
    scroll-snap-type: x proximity;
  }
  .process-tab { scroll-snap-align: start; min-height: 64px; }
  .process-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 0;
    padding: 25px 22px;
  }
  .process-panel-number { font-size: 48px; }
  .process-panel h3 { font-size: 29px; }
  .process-action { grid-column: 1; margin-top: 8px; min-height: 42px; align-items: center; }

  .faq-grid { gap: 28px; }
  .faq-question { padding: 20px 0; gap: 18px; }
  .faq-question span { font-size: 21px; line-height: 1.15; }
  .faq-answer p { padding-right: 34px; }

  .contact-section { padding: 66px 0; }
  .contact-copy h2 { font-size: clamp(38px, 11vw, 50px); }
  .contact-details { margin-top: 28px; overflow-wrap: anywhere; }
  .contact-form { padding: 28px 22px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    min-height: 48px;
    font-size: 16px; /* evita zoom automático no iOS */
  }
  .contact-form textarea { min-height: 120px; }

  .footer-top { grid-template-columns: 1fr; gap: 28px; padding: 42px 0 34px; }
  .footer-contact > a { overflow-wrap: anywhere; }
  .back-top { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 8px; padding-bottom: calc(23px + env(safe-area-inset-bottom)); }

  .floating-whatsapp {
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    width: 54px;
    height: 54px;
    padding: 0;
    justify-content: center;
  }
  .floating-whatsapp span { display: none; }
}

@media (max-width: 520px) {
  .container { width: min(calc(100% - 26px), var(--container)); }
  .header-inner { min-height: 70px; }
  .brand { gap: 10px; }
  .brand-mark { width: 40px; height: 40px; font-size: 15px; }
  .brand-copy strong { font-size: 18px; }
  .menu-toggle { width: 42px; height: 42px; }

  .hero {
    padding-top: 102px;
    background-position: 14% center;
  }
  .eyebrow { font-size: 9px; line-height: 1.45; }
  .hero h1 { font-size: clamp(38px, 11.7vw, 48px); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; justify-content: space-between; }
  .hero-actions .text-link { align-self: flex-start; }

  .hero-trust {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .hero-trust div,
  .hero-trust div + div {
    display: grid;
    grid-template-columns: 92px 1fr;
    align-items: baseline;
    gap: 10px;
    padding: 11px 0;
    border-left: 0;
    border-bottom: 1px solid rgba(255,255,255,.13);
  }
  .hero-trust strong { font-size: 21px; }
  .hero-trust span { margin: 0; }

  .hero-card { box-shadow: 0 16px 42px rgba(6,42,82,.22); }
  .hero-card-top {
    align-items: flex-start;
    gap: 8px;
    flex-direction: column;
  }
  .check-list { margin: 20px 0 24px; }

  .news-card { flex-basis: 92%; }
  .news-card .news-meta,
  .news-card h3,
  .news-card p,
  .news-card > a { margin-left: 20px; margin-right: 20px; }
  .news-image { height: 164px; }
  .carousel-btn { width: 44px; height: 44px; }

  .process-tabs { grid-template-columns: repeat(4, 112px); }
  .process-tab { min-width: 112px; padding: 11px 12px; }
  .process-panel { padding: 22px 19px; }
  .process-panel h3 { font-size: 27px; }

  .faq-answer p { padding-right: 12px; }
  .contact-form { padding: 24px 18px; }

  .footer-whatsapp { width: 100%; justify-content: center; min-height: 48px; }
}

@media (max-width: 380px) {
  .container { width: min(calc(100% - 22px), var(--container)); }
  .brand-copy strong { font-size: 16px; }
  .hero h1 { font-size: 38px; }
  .hero-card-body { padding: 24px 19px; }
  .hero-card h2 { font-size: 28px; }
  .section-heading h2,
  .news-heading h2,
  .editorial-copy h2,
  .faq-intro h2 { font-size: 34px; }
  .news-card { flex-basis: 94%; }
  .news-card h3 { font-size: 23px; }
  .contact-copy h2 { font-size: 38px; }
}

@media (hover: none) {
  .button:hover,
  .process-tab:hover,
  .floating-whatsapp:hover,
  .news-card:hover .news-image img { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .news-track { transition: none !important; }
}


/* =========================================================
   MOBILE ENXUTO — menos leitura, mais ação
   Mantém o desktop original intacto.
   ========================================================= */

.mobile-only { display: none !important; }

@media (max-width: 680px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: initial !important; }

  /* Ritmo geral mais curto */
  .section { padding: 52px 0; }
  .section-heading { margin-bottom: 24px; }
  .section-heading > p { display: none; }

  /* Hero: mensagem direta + CTA */
  .hero {
    padding-top: 96px;
    padding-bottom: 38px;
  }
  .hero-grid { gap: 26px; }

  .hero .eyebrow {
    max-width: 250px;
    color: rgba(255,255,255,.72);
  }

  .hero h1 {
    margin: 14px 0 14px;
    max-width: 440px;
    font-size: clamp(37px, 11.2vw, 48px);
    line-height: .98;
  }

  .hero-lead.mobile-only {
    display: block !important;
    max-width: 360px;
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255,255,255,.78);
  }

  .hero-actions {
    margin: 22px 0 25px;
    gap: 10px;
  }

  .hero-actions .button {
    min-height: 52px;
    font-size: 13px;
  }

  .hero-actions .text-link {
    font-size: 12px;
  }

  /* Métricas viram uma faixa compacta horizontal */
  .hero-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255,255,255,.15);
    padding-top: 15px;
  }

  .hero-trust div,
  .hero-trust div + div {
    display: block;
    padding: 0 9px;
    border: 0;
    border-left: 1px solid rgba(255,255,255,.12);
  }

  .hero-trust div:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .hero-trust strong {
    font-size: 19px;
  }

  .hero-trust span {
    margin-top: 2px;
    font-size: 9px;
    line-height: 1.25;
  }

  /* Card do hero: versão "resumo" */
  .hero-card-top {
    flex-direction: row;
    align-items: center;
    padding: 13px 17px;
  }

  .hero-card-body {
    padding: 21px 18px 20px;
  }

  .hero-card .card-kicker {
    margin-bottom: 9px;
  }

  .hero-card h2 {
    margin-bottom: 16px;
    font-size: 27px;
    line-height: 1.02;
  }

  .hero-card-body > p:not(.card-kicker),
  .hero-card .check-list {
    display: none;
  }

  .hero-card .button {
    min-height: 49px;
  }

  .hero-card-footer {
    padding: 12px 17px;
  }

  /* Faixa institucional redundante no celular */
  .trust-strip {
    display: none;
  }

  /* Áreas: cards como lista de serviços, sem parágrafos longos */
  #atuacao .section-heading h2 {
    font-size: 36px;
  }

  .services-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 0;
  }

  .service-card,
  .service-card-dark {
    min-height: 0;
    display: grid;
    grid-template-columns: 39px minmax(0, 1fr) auto;
    grid-template-areas:
      "number title link";
    align-items: center;
    gap: 12px;
    padding: 18px 17px;
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .service-card-dark {
    border-color: var(--forest);
  }

  .service-number {
    grid-area: number;
    margin: 0;
    font-size: 13px;
  }

  .service-card h3 {
    grid-area: title;
    margin: 0;
    font-size: 21px;
    line-height: 1.08;
  }

  .service-card p {
    display: none;
  }

  .service-card a {
    grid-area: link;
    width: 38px;
    height: 38px;
    margin: 0;
    padding: 0;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    font-size: 0;
  }

  .service-card a span {
    font-size: 15px;
  }

  .service-card-dark a {
    border-color: rgba(255,255,255,.24);
  }

  /* Seção editorial vira um único bloco curto */
  .editorial-section {
    padding: 46px 0;
  }

  .editorial-grid {
    display: block;
  }

  .editorial-quote {
    display: none;
  }

  .editorial-copy .eyebrow,
  .editorial-copy p {
    display: none;
  }

  .editorial-copy h2 {
    max-width: 360px;
    margin: 0 0 20px;
    font-size: 35px;
    line-height: 1.02;
  }

  .editorial-copy .text-link {
    margin-top: 0;
  }

  /* Notícias: imagem + título + ação */
  .news-section {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .news-heading {
    align-items: center;
    margin-bottom: 20px;
  }

  .news-heading .eyebrow {
    margin-bottom: 5px;
  }

  .news-heading h2 {
    font-size: 35px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
  }

  .news-card {
    flex-basis: 86%;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 12px 34px rgba(16,35,63,.08);
  }

  .news-image {
    height: 160px;
  }

  .news-meta {
    padding-top: 16px;
  }

  .news-meta span {
    font-size: 9px;
  }

  .news-card .news-meta,
  .news-card h3,
  .news-card > a {
    margin-left: 17px;
    margin-right: 17px;
  }

  .news-card h3 {
    margin-top: 17px;
    margin-bottom: 19px;
    font-size: 22px;
    line-height: 1.12;
  }

  .news-card p {
    display: none;
  }

  .news-card > a {
    padding: 15px 0 17px;
  }

  .carousel-dots {
    margin-top: 18px;
  }

  /* Como funciona: navegação em chips + painel compacto */
  .process-section {
    padding: 48px 0;
  }

  .process-intro h2 {
    margin-bottom: 8px;
    font-size: 35px;
  }

  .process-intro > p {
    display: none;
  }

  .process-tabs {
    display: flex;
    gap: 8px;
    margin-right: -13px;
    padding-right: 13px;
  }

  .process-tab {
    min-width: auto;
    min-height: 44px;
    width: auto;
    flex: 0 0 auto;
    padding: 9px 12px;
    border-radius: 999px;
    font-size: 11px;
  }

  .process-tab span {
    display: none;
  }

  .process-panel {
    padding: 20px 18px;
    border-radius: 9px;
    gap: 7px;
  }

  .process-panel-number {
    display: none;
  }

  .process-status {
    font-size: 9px;
  }

  .process-panel h3 {
    margin: 2px 0 7px;
    font-size: 25px;
  }

  .process-panel p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.5;
  }

  .process-action {
    width: fit-content;
    min-height: 38px;
    margin-top: 0;
    font-size: 11px;
  }

  /* FAQ: título curto e perguntas mais compactas */
  .faq-section {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .faq-intro {
    margin-bottom: 2px;
  }

  .faq-intro .eyebrow {
    margin-bottom: 4px;
  }

  .faq-intro h2 {
    margin: 6px 0 0;
    font-size: 35px;
  }

  .faq-intro > p {
    display: none;
  }

  .faq-grid {
    gap: 20px;
  }

  .faq-question {
    min-height: 62px;
    padding: 15px 0;
  }

  .faq-question span {
    font-size: 19px;
    line-height: 1.15;
  }

  .faq-answer p {
    font-size: 13px;
    line-height: 1.55;
    padding: 0 8px 18px 0;
  }

  /* Contato: reduz texto e leva rápido ao formulário */
  .contact-section {
    padding: 50px 0;
  }

  .contact-grid {
    gap: 24px;
  }

  .contact-copy .eyebrow {
    display: none;
  }

  .contact-copy h2 {
    margin: 0 0 10px;
    font-size: 37px;
  }

  .contact-copy > p {
    max-width: 330px;
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
  }

  .contact-details {
    display: none;
  }

  .contact-form {
    padding: 20px 17px;
    border-radius: 9px;
  }

  .contact-form label {
    margin-bottom: 13px;
  }

  .contact-form textarea {
    min-height: 88px;
  }

  .consent {
    margin: 16px 0 !important;
  }

  .form-note {
    display: none;
  }

  /* Footer menor; mantém contato e WhatsApp */
  .footer-top {
    padding: 34px 0 28px;
    gap: 20px;
  }

  .footer-about > p {
    display: none;
  }

  .footer-contact {
    gap: 10px;
  }

  .footer-bottom {
    padding-top: 17px;
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
  }

  .footer-bottom span:last-child {
    display: none;
  }
}

@media (max-width: 390px) {
  .hero h1 { font-size: 37px; }
  .hero-card h2 { font-size: 25px; }
  .service-card h3 { font-size: 19px; }
  .news-card { flex-basis: 90%; }
  .news-card h3 { font-size: 21px; }
  .process-intro h2,
  .news-heading h2,
  .faq-intro h2 { font-size: 33px; }
}


/* =========================================================
   AJUSTES FINAIS MOBILE
   ========================================================= */
@media (max-width: 680px) {

  /* Frase editorial puramente visual no celular */
  .editorial-copy .text-link {
    display: none !important;
  }

  .editorial-copy h2 {
    margin-bottom: 0;
  }

  /* Áreas de atuação: seta limpa, sem botão circular quebrado */
  .service-card,
  .service-card-dark {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    gap: 11px;
  }

  .service-card a {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    padding: 0;
    margin: 0;
    border: 0 !important;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
    color: var(--forest);
    background: transparent !important;
    line-height: 1;
  }

  .service-card a::before {
    content: "→";
    display: block;
    font-size: 20px;
    line-height: 1;
    transition: transform .2s ease;
  }

  .service-card a span {
    display: none !important;
  }

  .service-card-dark a {
    color: #fff;
  }

  .service-card:active a::before {
    transform: translateX(3px);
  }

  /* O carrossel infinito precisa esconder os clones fora da viewport */
  .news-carousel {
    overflow: hidden !important;
    clip-path: none !important;
  }

  .news-track {
    will-change: transform;
  }

  .carousel-btn:disabled {
    opacity: 1;
    cursor: pointer;
  }
}

@media (hover: hover) and (max-width: 680px) {
  .service-card:hover a::before {
    transform: translateX(3px);
  }
}


/* Carrossel infinito em todas as resoluções */
.news-carousel { overflow: hidden !important; }
.carousel-btn:disabled { opacity: 1; cursor: pointer; }
.carousel-clone { pointer-events: none; }


/* =========================================================
   LOGO A&O — imagem /imagens/logo.png
   Substitui o antigo monograma estilizado no header e footer.
   ========================================================= */
.brand-logo {
  display: block;
  width: 100px;
  height: 100px;
  object-fit: contain;
  flex: 0 0 auto;
}

.site-header .brand-logo {
  filter: none;
}

.footer-brand .brand-logo {
  width: 100px;
  height: 100px;
}

@media (max-width: 680px) {
  .brand {
    gap: 10px;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .footer-brand .brand-logo {
    width: 52px;
    height: 52px;
  }

  .brand-copy strong {
    font-size: 18px;
  }
}


/* =========================================================
   CONTATO — navegação e experiência do formulário
   ========================================================= */
#contato {
  scroll-margin-top: 90px;
}

.main-nav a[href="#contato"] {
  position: relative;
}

@media (max-width: 980px) {
  .main-nav a[href="#contato"] {
    font-weight: 700;
  }
}

.contact-form .form-submit {
  cursor: pointer;
}


/* =========================================================
   FAILSAFE DE CONTEÚDO
   O site continua visível mesmo se o JavaScript externo falhar.
   ========================================================= */
.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}

.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
