/* ==========================================================================
   NEF Seguros — design system
   Paleta e formas derivadas do logo (cubo isométrico verde + tipografia condensada)
   ========================================================================== */

:root {
  --green-900: #1a2e00;
  --green-800: #264200;
  --green-700: #336618;
  --green-600: #3f7a0f;
  --lime: #8fd11f;
  --lime-soft: #e8f5cf;
  --ink: #0b0b0f;
  --text: #2b2f2a;
  --muted: #5c6358;
  --line: #e3e7dc;
  --paper: #ffffff;
  --mist: #f4f7ee;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --sans: 'Montserrat', Arial, sans-serif;
  --radius: 14px;
  --shadow: 0 18px 40px -18px rgba(26, 46, 0, .28);
  --hex: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1; margin: 0; text-transform: uppercase; letter-spacing: .005em; font-weight: 800; }
p { margin: 0; }
.icon { flex: none; }

.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 12px; background: #fff; padding: 10px 14px; z-index: 100; border-radius: 6px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

/* ---------- Botões e links ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--green-700); color: #fff; border: 2px solid var(--green-700); border-radius: 999px;
  padding: 14px 26px; font: 700 .92rem var(--sans); cursor: pointer; transition: transform .18s, background .18s, box-shadow .18s;
}
.button:hover { background: var(--green-800); border-color: var(--green-800); transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(26, 46, 0, .6); }
.button--lime { background: var(--lime); border-color: var(--lime); color: var(--green-900); }
.button--lime:hover { background: #a3e235; border-color: #a3e235; }
.button--ghost { background: transparent; color: var(--green-700); }
.button--ghost:hover { background: var(--green-700); color: #fff; }
.button--ghost-light { background: transparent; border-color: rgba(255, 255, 255, .5); color: #fff; }
.button--ghost-light:hover { background: #fff; color: var(--green-800); border-color: #fff; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--green-700); font-size: .92rem; }
.text-link .icon { transition: transform .2s; }
.text-link:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.navbar { display: flex; align-items: center; gap: 28px; min-height: 80px; }
.logo img { width: 136px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; font-size: .86rem; font-weight: 600; }
.main-nav a:not(.button) { position: relative; padding: 6px 0; }
.main-nav a:not(.button)::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 3px; background: var(--lime); transition: right .2s; }
.main-nav a:not(.button):hover::after, .main-nav a.is-current::after { right: 0; }
.nav-cta { padding: 10px 20px; font-size: .84rem; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; }

/* ---------- Tipografia de seção ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 .74rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--green-700); margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 22px; height: 12px; background: var(--lime); clip-path: var(--hex); }
.eyebrow--light { color: var(--lime); }
.h-xl { font-size: clamp(3.4rem, 7.4vw, 6.4rem); }
.h-lg { font-size: clamp(2.6rem, 5vw, 4.2rem); }
.h-md { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 56ch; }
.mark { background: linear-gradient(transparent 62%, var(--lime) 62%); padding: 0 .08em; }
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section--mist { background: var(--mist); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 52px; }
.section-head .lead { max-width: 38ch; font-size: 1rem; }


/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); background: var(--paper); }
.hero::before { content: ''; position: absolute; right: -8%; top: -20%; width: 62%; height: 140%; background: var(--mist); clip-path: var(--hex); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { margin: 6px 0 26px; }
.hero .lead { margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; padding: 0; margin: 38px 0 0; font-size: .84rem; font-weight: 600; color: var(--text); }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--green-700); }
.hero-visual { position: relative; }
.hex-photo { position: relative; aspect-ratio: .94; }
.hex-photo::before { content: ''; position: absolute; inset: 0; transform: translate(14px, 16px); background: linear-gradient(160deg, var(--green-700), var(--green-900)); clip-path: var(--hex); }
.hex-photo img { position: relative; width: 100%; height: 100%; object-fit: cover; clip-path: var(--hex); }
.badge-card { position: absolute; left: -6%; bottom: 10%; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow); font-size: .8rem; line-height: 1.35; font-weight: 600; max-width: 230px; }
.badge-card .icon { color: var(--green-700); width: 30px; height: 30px; }
.badge-card strong { display: block; font-family: var(--display); font-size: 1.3rem; text-transform: uppercase; color: var(--ink); line-height: 1; }

/* ---------- Faixa de números ---------- */
.stats { background: var(--green-800); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 24px; border-left: 1px solid rgba(255, 255, 255, .14); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { display: block; font: 800 3rem/1 var(--display); color: var(--lime); text-transform: uppercase; }
.stat span { display: block; margin-top: 8px; font-size: .86rem; color: #d6e5c0; line-height: 1.4; }

/* ---------- Soluções ---------- */
.solutions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.solution { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.solution:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.solution-media { position: relative; height: 210px; background: var(--green-800); overflow: hidden; }
.solution-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.solution:hover .solution-media img { transform: scale(1.05); }
.solution-media--pattern { display: grid; place-items: center; color: var(--lime); }
.solution-media--pattern > .icon { width: 72px; height: 72px; stroke-width: 1.3; }
.solution-tag { position: absolute; left: 18px; top: 18px; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--green-800); font: 700 .74rem var(--sans); padding: 7px 14px; border-radius: 999px; }
.solution-body { display: flex; flex-direction: column; flex: 1; padding: 28px 28px 30px; }
.solution h3 { font-size: 2.1rem; margin-bottom: 10px; }
.solution-body > p { color: var(--muted); font-size: .95rem; margin-bottom: 22px; }
.solution ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; font-size: .92rem; font-weight: 600; }
.solution li { display: flex; align-items: center; gap: 10px; }
.solution li .icon { color: var(--green-600); width: 20px; height: 20px; }
.solution .text-link { margin-top: auto; }

/* ---------- História / seguro inclusivo ---------- */
.story { position: relative; background: var(--green-900); color: #dbe8c8; overflow: hidden; }
.story-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.story h2 { color: #fff; margin-bottom: 26px; }
.story p + p { margin-top: 16px; }
.story .hex-photo::before { background: var(--lime); opacity: .9; }
.quote { margin: 34px 0; padding: 26px 28px; border-left: 5px solid var(--lime); background: rgba(255, 255, 255, .06); border-radius: 0 var(--radius) var(--radius) 0; }
.quote blockquote { margin: 0; font: 600 1.18rem/1.55 var(--sans); color: #fff; }
.quote figcaption { margin-top: 14px; font-size: .84rem; color: #b9cfa0; }
.quote figcaption strong { color: #fff; }

/* ---------- Como funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding: 34px 30px; background: #fff; border-radius: 20px; border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); position: absolute; right: 24px; top: 10px; font: 800 6.5rem/1 var(--display); color: var(--lime-soft); z-index: 0; }
.step > * { position: relative; z-index: 1; }
.step .icon-box { margin-bottom: 22px; }
.step h3 { font-size: 1.9rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .96rem; }
.icon-box { display: grid; place-items: center; width: 56px; height: 56px; background: var(--green-700); color: var(--lime); clip-path: var(--hex); }
.icon-box .icon { width: 26px; height: 26px; }

/* ---------- Por que a NEF ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.why-item .icon-box { margin-bottom: 16px; }
.why-item h3 { font-size: 1.55rem; margin-bottom: 8px; }
.why-item p { color: var(--muted); font-size: .92rem; }
.partners { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.partner { display: inline-flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 20px; font-size: .78rem; color: var(--muted); }
.partner strong { font: 800 1.35rem/1.1 var(--display); text-transform: uppercase; color: var(--green-800); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 100px); }
.faq-grid .lead { margin: 20px 0 28px; font-size: 1rem; }
.accordion { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; cursor: pointer; list-style: none; padding: 24px 50px 24px 0; font: 700 1.04rem/1.4 var(--sans); color: var(--ink); }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--mist); color: var(--green-700); font-size: 1.3rem; transition: background .2s, transform .2s; }
details[open] summary::after { content: '–'; background: var(--lime); color: var(--green-900); }
details p { padding: 0 50px 26px 0; color: var(--muted); font-size: .96rem; }

/* ---------- CTA + formulário ---------- */
.cta { position: relative; background: var(--green-800); color: #dbe8c8; overflow: hidden; }
.cta-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.cta h2 { color: #fff; margin-bottom: 18px; }
.cta .lead { color: #d6e5c0; }
.contact-lines { display: grid; gap: 12px; margin-top: 30px; font-weight: 600; }
.contact-lines a { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.contact-lines .icon { color: var(--lime); }
.form-card { background: #fff; color: var(--text); border-radius: 22px; padding: clamp(24px, 3.5vw, 40px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); }
.form-card h3 { font-size: 2rem; margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: .92rem; margin-bottom: 22px; }
.form-card form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; font-size: .8rem; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea { font: 500 .96rem var(--sans); color: var(--text); padding: 13px 14px; border: 1.5px solid #d4dbc9; border-radius: 10px; background: #fff; width: 100%; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--green-600); box-shadow: 0 0 0 4px var(--lime-soft); }
.form-card .button { width: 100%; padding: 16px; }
.form-note { font-size: .76rem; color: var(--muted); text-align: center; }

/* ---------- Páginas internas ---------- */
.page-hero { position: relative; background: var(--green-900); color: #dbe8c8; padding: clamp(56px, 8vw, 104px) 0; overflow: hidden; }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(3rem, 6.4vw, 5.4rem); max-width: 18ch; margin-bottom: 20px; }
.page-hero .lead { color: #d0e0ba; }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 700; font-size: .88rem; transition: .18s; }
.tabs a:hover { border-color: var(--green-700); }
.tabs a.is-active { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px 28px; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card .icon-box { margin-bottom: 22px; }
.card h3 { font-size: 1.85rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .94rem; margin-bottom: 24px; }
.card .text-link, .card .meta + h3 { margin-top: auto; }
.card .text-link { margin-top: auto; }
.meta { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-600); margin-bottom: 12px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split .lead { margin-top: 18px; }
.checklist { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; font-weight: 600; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { color: #fff; background: var(--green-700); border-radius: 50%; padding: 4px; width: 26px; height: 26px; margin-top: 1px; }
.photo-round { border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); }
.photo-round img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.contact-cards { display: grid; gap: 16px; margin-top: 30px; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.contact-card strong { display: block; font-size: .8rem; color: var(--muted); font-weight: 600; }
.contact-card span { font-weight: 700; color: var(--ink); }
.contact-card .icon-box { width: 48px; height: 48px; flex: none; }
.contact-card .icon-box .icon { width: 22px; height: 22px; }

/* ---------- Footer ---------- */
.footer { background: var(--green-900); color: #dbe8c8; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 44px; padding: 68px 0 52px; }
.footer-logo { display: inline-block; background: #fff; border-radius: 12px; padding: 10px 14px; margin-bottom: 20px; }
.footer-logo img { width: 150px; height: auto; }
.footer-brand p { font-size: .9rem; color: #b9cfa0; max-width: 34ch; }
.footer h3 { font: 700 .74rem var(--sans); letter-spacing: .14em; color: var(--lime); margin-bottom: 18px; }
.footer-grid a:not(.footer-logo) { display: flex; align-items: center; gap: 10px; font-size: .92rem; margin: 10px 0; color: #eef5e2; }
.footer-grid a:not(.footer-logo):hover { color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .12); padding: 22px 0; font-size: .78rem; color: #9bb382; }
.footer-bottom a { color: #dff0c4; text-decoration: underline; text-underline-offset: 3px; }

.floating-whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: inline-flex; align-items: center; gap: 10px; background: var(--lime); color: var(--green-900); padding: 14px 20px; border-radius: 999px; font-size: .86rem; font-weight: 700; box-shadow: 0 14px 30px -10px rgba(26, 46, 0, .55); transition: transform .2s; }
.floating-whatsapp:hover { transform: translateY(-3px); }

/* Padrão de cubos isométricos (motivo do logo) */
.cube-bg {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='104' height='120' viewBox='0 0 104 120'%3E%3Cg fill='none' stroke='%238fd11f' stroke-opacity='.16' stroke-width='1.5'%3E%3Cpath d='M52 0l52 30v60l-52 30L0 90V30z'/%3E%3Cpath d='M52 60L0 30M52 60l52-30M52 60v60'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 104px 120px;
}

/* ---------- Animação de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .hero-grid, .story-grid, .why-grid, .faq-grid, .cta-grid, .split { grid-template-columns: 1fr; }
  .hero::before { display: none; }
  .hero-visual { max-width: 460px; margin: 10px auto 0; width: 100%; }
  .badge-card { left: 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .solutions, .steps { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .story .hex-photo { max-width: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 22px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .25); display: none; }
  .main-nav.is-open { display: flex; }
  .main-nav a:not(.button) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
  .main-nav a:not(.button)::after { display: none; }
  .nav-cta { margin-top: 16px; padding: 14px; }
}
@media (max-width: 560px) {
  .container { width: calc(100% - 32px); }
  .navbar { min-height: 70px; }
  .logo img { width: 116px; }
  .why-list { grid-template-columns: 1fr; }
  .stat strong { font-size: 2.4rem; }
  .stat { padding: 26px 14px; }
  .footer-grid { grid-template-columns: 1fr; padding: 52px 0 36px; }
  .floating-whatsapp span { display: none; }
  .floating-whatsapp { padding: 15px; }
  .hero-actions .button { width: 100%; }
}

/* ---------- Landing pages de produto ---------- */
.landing-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.landing-hero h1 { max-width: 16ch; }
.landing-hero .lead { margin-bottom: 30px; }
.landing-hero .hex-photo { max-width: 460px; margin-inline: auto; width: 100%; }
.landing-hero .hex-photo::before { background: var(--lime); opacity: .9; }
.hero-points--light { color: #dbe8c8; }
.hero-points--light .icon { color: var(--lime); }
.steps--stack { grid-template-columns: 1fr; gap: 16px; }
.steps--stack .step { padding: 24px 28px 24px 100px; }
.steps--stack .step .icon-box { position: absolute; left: 28px; top: 24px; margin: 0; }
.steps--stack .step h3 { font-size: 1.6rem; margin-bottom: 4px; }
.steps--stack .step::before { font-size: 4.5rem; top: 4px; }
.fine-print { margin-top: 34px; max-width: 78ch; font-size: .84rem; color: var(--muted); }
@media (max-width: 980px) { .landing-hero-grid { grid-template-columns: 1fr; } }

/* ---------- Slider do hero ---------- */
.slider .hex-photo img.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.slider .hex-photo img.slide.is-active { opacity: 1; }
.slider .hex-photo { z-index: 0; }
.slide-caption { z-index: 2; bottom: 17%; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .5s ease .2s, transform .5s ease .2s, visibility .5s; max-width: 270px; }
.slide-caption.is-active { opacity: 1; visibility: visible; transform: none; }
.slide-caption > .icon:last-child { color: var(--green-700); width: 18px; height: 18px; margin-left: 4px; transition: transform .2s; }
.slide-caption:hover > .icon:last-child { transform: translateX(4px); }
.slider-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 26px; }
.slider-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--green-700); cursor: pointer; transition: .18s; }
.slider-btn:hover { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.slider-btn[data-prev] .icon { transform: rotate(180deg); }
.slider-dots { display: flex; gap: 8px; }
.slider-dot { width: 10px; height: 10px; padding: 0; border-radius: 99px; border: 0; background: #c9d4bb; cursor: pointer; transition: width .3s, background .3s; }
.slider-dot.is-active { width: 28px; background: var(--green-700); }
@media (max-width: 560px) { .slide-caption { left: 0; bottom: 14%; max-width: 230px; } }


/* ---------- Cubos atrás das fotos do hero ---------- */
.hero::before {
  background-color: var(--mist);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='104' height='120' viewBox='0 0 104 120'%3E%3Cg fill='none' stroke='%23336618' stroke-opacity='.2' stroke-width='1.5'%3E%3Cpath d='M52 0l52 30v60l-52 30L0 90V30z'/%3E%3Cpath d='M52 60L0 30M52 60l52-30M52 60v60'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 104px 120px;
}
.hero-visual::before { content: ''; position: absolute; z-index: 0; width: 34%; aspect-ratio: .94; left: -9%; top: -7%; background: var(--lime); opacity: .85; clip-path: var(--hex); }
.hero-visual::after { content: ''; position: absolute; z-index: 0; width: 20%; aspect-ratio: .94; right: -5%; bottom: 14%; background: var(--green-700); opacity: .9; clip-path: var(--hex); }
.hero-visual .hex-photo, .hero-visual .slider-controls { position: relative; z-index: 1; }
.hero-visual .hex-photo { position: relative; }
@media (max-width: 980px) { .hero::before { display: block; width: 100%; right: 0; top: 0; height: 100%; clip-path: none; opacity: .6; } }

/* ---------- Foto do fundador ---------- */
.founder-visual { position: relative; }
.founder-visual .hex-photo img { object-fit: cover; }
.founder-badge { color: var(--text); left: auto; right: 0; bottom: 6%; max-width: 250px; }
.founder-badge strong { font-size: 1.45rem; }
@media (max-width: 980px) { .founder-visual { max-width: 420px; margin-inline: auto; width: 100%; } .founder-badge { right: 0; } }

.footer-address { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: .86rem; color: #b9cfa0; max-width: 34ch; }
.footer-address .icon { margin-top: 3px; color: var(--lime); }
.footer-address strong { color: #fff; font-weight: 700; letter-spacing: .02em; }
