/* ============================================================
   LGPD 13.709 — Landing (layout Basel Swiss adaptado)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
    /* LGPD 13.709 — identidade visual */
    --aqua: #599D97;
    --aqua-dark: #3f7f7a;
    --blue: #344267;
    --blue-dark: #2a3655;
    --ink: #333333;
    --ink-2: #344267; /* blue as secondary ink */

    --bg: #ffffff;
    --bg-alt: #f5f8f8;       /* subtle off-white with aqua hint */
    --bg-dark: #344267;      /* blue surfaces (marquee, stats, FAQ, footer) */

    --line: rgba(51, 51, 51, 0.18);
    --line-soft: rgba(51, 51, 51, 0.08);
    --muted: rgba(51, 51, 51, 0.65);
    --muted-2: rgba(51, 51, 51, 0.45);
    --muted-3: rgba(51, 51, 51, 0.3);

    --white-60: rgba(255, 255, 255, 0.6);
    --white-40: rgba(255, 255, 255, 0.4);
    --white-30: rgba(255, 255, 255, 0.3);
    --white-10: rgba(255, 255, 255, 0.1);
}

body {
    background: var(--bg);
    color: var(--ink);
    font-family: "Nunito Sans", Helvetica, Arial, sans-serif;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
h1, h2, h3, h4,
.hero-title, .page-title, .section-title,
.service-title, .pillar h3, .p-bot h3 {
    font-family: "Brawler", Georgia, "Times New Roman", serif;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; }

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
}
@media (min-width: 768px) {
    .container { padding: 0 64px; }
}

/* ---------- Buttons / common ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 24px;
    font-size: 14px;
    letter-spacing: 0.28px;
    line-height: 1;
    text-transform: uppercase;
    transition: background-color 0.2s, opacity 0.2s;
    border: none;
    cursor: pointer;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-accent { background: var(--aqua); color: #fff; }
.btn-accent:hover { background: var(--aqua-dark); }
.btn-lg { height: 48px; padding: 0 32px; }
.btn-block { width: 100%; height: 48px; }

.eyebrow {
    display: inline-block;
    font-size: 11.8px;
    line-height: 14.4px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--aqua);
    font-weight: 600;
}
.eyebrow.light { color: rgba(255,255,255,0.7); }

.link-underline {
    color: var(--blue);
    font-size: 16px;
    line-height: 22.4px;
    text-decoration: underline;
    text-decoration-color: var(--aqua);
    text-underline-offset: 4px;
    text-decoration-thickness: 1.5px;
    transition: color 0.2s;
}
.link-underline:hover { color: var(--aqua); }

.section-title {
    margin: 0;
    color: var(--blue);
    font-size: clamp(26px, 3.2vw, 44px);
    line-height: 1.1;
    letter-spacing: -1.2px;
    font-weight: 400;
}
.section-title em { font-style: normal; color: var(--aqua); }
.section-title.light { color: #fff; }

.section-head {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}
@media (min-width: 768px) {
    .section-head {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}
.section-head > div > .eyebrow { display: block; margin-bottom: 10px; }
.section-intro {
    max-width: 360px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
    font-weight: 500;
    margin: 0;
}

/* ---------- Nav (pill design + glassmorphism) ---------- */
.nav {
    position: fixed;
    inset: 16px 0 auto 0;
    z-index: 50;
    transition: inset 0.35s ease;
    background: transparent;
    pointer-events: none;
}
.nav.scrolled { inset: 8px 0 auto 0; }
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0;
    transition: background-color 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease, gap 0.35s ease, border-color 0.35s ease;
    border: 1px solid transparent;
    border-radius: 999px;
    pointer-events: auto;
}
.nav-pill {
    display: flex;
    align-items: center;
    background: rgba(235, 232, 224, 0.55);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 8px 32px rgba(31, 38, 55, 0.08);
    border-radius: 999px;
    padding: 10px 20px;
    transition: background-color 0.35s ease, padding 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.nav-pill-main { gap: 40px; padding: 10px 44px 10px 24px; }
.nav-pill-cta { gap: 24px; padding: 8px 14px 8px 40px; }

.nav.scrolled .nav-inner {
    background: rgba(235, 232, 224, 0.55);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-color: rgba(255, 255, 255, 0.45);
    gap: 0;
    box-shadow: 0 8px 32px rgba(31, 38, 55, 0.08);
}
.nav.scrolled .nav-pill {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-color: transparent;
    box-shadow: none;
}

.brand { display: inline-flex; align-items: center; }
.brand-logo {
    display: block;
    height: 28px;
    width: auto;
}
.footer .brand-logo { height: 36px; }

.nav-links {
    display: flex;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.nav-links a {
    font-size: 13px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--ink);
    transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--aqua); }

.nav-contact { white-space: nowrap; }

.nav-cta {
    display: inline-flex;
    white-space: nowrap;
    border-radius: 999px;
    padding: 12px 28px;
    font-size: 13px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    font-weight: 500;
}

/* Hamburger — mobile only */
.menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 14px 16px;
    background: rgba(235, 232, 224, 0.55);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 8px 32px rgba(31, 38, 55, 0.08);
    border-radius: 999px;
    cursor: pointer;
    pointer-events: auto;
}
.menu-btn span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--ink);
    transition: transform 0.3s, opacity 0.3s;
}
.menu-btn.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-btn.is-open span:nth-child(2) { opacity: 0; }
.menu-btn.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer */
.mobile-menu {
    position: fixed;
    inset: 72px 16px auto 16px;
    background: rgba(235, 232, 224, 0.92);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 12px 40px rgba(31, 38, 55, 0.12);
    border-radius: 24px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s, opacity 0.3s;
    pointer-events: none;
    z-index: 49;
}
.mobile-menu.is-open { max-height: 560px; opacity: 1; pointer-events: auto; }
.mobile-menu ul {
    display: flex; flex-direction: column; gap: 18px;
    padding: 24px 28px;
    margin: 0;
    list-style: none;
}
.mobile-menu a {
    font-size: 14px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--ink);
}
.mobile-menu a.btn { color: #fff; justify-content: center; }

@media (max-width: 899px) {
    .nav { inset: 10px 0 auto 0; }
    .nav-inner { gap: 8px; }
    .nav-pill-main { gap: 0; padding: 8px 14px; }
    .nav-pill-main .nav-links { display: none; }
    .nav-pill-cta { display: none; }
    .menu-btn { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    padding: 128px 0 56px;
    background: #0f1830;
    overflow: hidden;
    color: #fff;
    isolation: isolate;
}
.hero:not(.sub) { background: var(--bg); }
.hero::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(15,24,48,0.80) 0%, rgba(15,24,48,0.55) 45%, rgba(15,24,48,0.18) 100%),
                linear-gradient(180deg, rgba(15,24,48,0.15) 0%, rgba(15,24,48,0.55) 100%);
    z-index: 1;
    pointer-events: none;
}
.hero:not(.sub)::after {
    background: linear-gradient(90deg, rgba(15,24,48,0.70) 0%, rgba(15,24,48,0.40) 50%, rgba(15,24,48,0.10) 100%),
                linear-gradient(180deg, rgba(15,24,48,0.25) 0%, rgba(15,24,48,0.35) 55%, rgba(15,24,48,0.08) 85%, rgba(255,255,255,0) 100%);
    opacity: var(--hero-opacity, 1);
}
.hero > .container { position: relative; z-index: 2; flex: 1; display: flex; }
.hero .hero-title { color: #fff; }
.hero .hero-title em { color: var(--aqua); }
.hero .hero-lead { color: rgba(255,255,255,0.88); }
.hero .eyebrow { color: rgba(255,255,255,0.82); }
.hero .eyebrow-divider { background: rgba(255,255,255,0.5); }
.hero .link-underline { color: #fff; text-decoration-color: var(--aqua); }
.hero .link-underline:hover { color: var(--aqua); }
.hero-inner {
    display: flex;
    flex-direction: column;
    gap: 22px;
    flex: 1;
    width: 100%;
    justify-content: flex-start;
    padding-left: 24px;  /* matches .nav-pill-main padding-left → aligns with nav brand logo */
    padding-right: 14px; /* matches .nav-pill-cta padding-right → aligns with primary CTA right edge */
}
.hero-inner > .hero-title { margin-top: auto; }
.eyebrow-row { display: flex; align-items: flex-start; gap: 16px; }
.eyebrow-divider {
    width: 1px; height: 32px;
    background: var(--aqua);
    margin-top: 4px;
}
.hero-title {
    margin: 0;
    max-width: 1000px;
    font-weight: 400;
    color: var(--blue);
    font-size: clamp(44px, 7.2vw, 104px);
    line-height: 1.02;
    letter-spacing: -2px;
}
.hero-title em { font-style: normal; color: var(--aqua); }
.hero-bottom {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    justify-content: space-between;
}
@media (min-width: 768px) {
    .hero-bottom { flex-direction: row; align-items: flex-end; gap: 48px; }
    .hero-bottom .hero-ctas { margin-left: auto; }
}
.hero-lead {
    max-width: 460px;
    margin: 0;
    font-size: 14.5px;
    line-height: 1.55;
    font-weight: 400;
}
.hero-ctas { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

.grid-line {
    position: absolute;
    top: 0;
    width: 1px; height: 100%;
    background: rgba(26,26,26,0.08);
    pointer-events: none;
    display: none;
}
.grid-line-1 { right: 0; background: var(--line-soft); }
.grid-line-2 { right: 25%; }
.grid-line-3 { right: 50%; }
@media (min-width: 768px) { .grid-line { display: block; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--aqua); padding: 12px 0; overflow: hidden; }
.marquee-track {
    display: flex;
    gap: 48px;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
    width: max-content;
}
.marquee-track span:not(.dot) {
    color: #fff;
    font-size: 14px;
    letter-spacing: 0.28px;
    text-transform: uppercase;
    line-height: 16.8px;
    flex-shrink: 0;
}
.marquee-track .dot {
    display: inline-block;
    width: 6px; height: 6px;
    background: #fff;
    border-radius: 50%;
    align-self: center;
    flex-shrink: 0;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ---------- Stats ---------- */
.stats {
    background: var(--blue);
    padding: 44px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}
@media (min-width: 768px) {
    .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 0; }
    .stats-grid .stat { padding: 0 48px; border-left: 1px solid rgba(255,255,255,0.2); }
    .stats-grid .stat:first-child { padding-left: 0; border-left: 0; }
    .stats-grid .stat:last-child { padding-right: 0; }
}
.stat { display: flex; flex-direction: column; gap: 12px; }
.stat-value {
    color: #fff;
    font-size: clamp(30px, 3.2vw, 46px);
    line-height: 1;
    letter-spacing: -1.2px;
    font-weight: 400;
}
.stat-value em { font-style: normal; color: var(--aqua); }
.stat-label {
    color: rgba(255,255,255,0.6);
    font-size: 11.8px;
    line-height: 14.4px;
    text-transform: uppercase;
}

/* ---------- Services ---------- */
.services { background: var(--bg); padding: 120px 0; }
.service-list { display: flex; flex-direction: column; }
.service-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px 16px;
    margin: 0 -16px;
    border-top: 1px solid var(--line);
    transition: background-color 0.2s;
    position: relative;
}
.service-item:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 768px) {
    .service-item {
        flex-direction: row;
        align-items: center;
        gap: 24px;
    }
}
.service-num {
    color: var(--aqua);
    font-size: 11.8px;
    line-height: 14.4px;
    letter-spacing: 1px;
    font-weight: 600;
    flex: 0 0 48px;
}
.service-title {
    margin: 0;
    flex: 1;
    font-size: 20px;
    line-height: 1.15;
    letter-spacing: -0.4px;
    font-weight: 500;
}
.service-desc {
    margin: 0;
    flex: 1;
    max-width: 480px;
    color: var(--muted);
    font-size: 15.8px;
    line-height: 22.4px;
    font-weight: 500;
}
.arrow-box {
    width: 32px; height: 32px;
    border: 1px solid var(--muted-3);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 14px;
    color: var(--ink);
    flex-shrink: 0;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.service-item:hover .arrow-box { background: var(--aqua); color: #fff; border-color: var(--aqua); }
.arrow-box.small { width: 32px; height: 32px; border-color: currentColor; }

/* ---------- WhatsApp floating button ---------- */
.wa-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 10px 28px rgba(37,211,102,0.40), 0 4px 12px rgba(0,0,0,0.18);
    z-index: 80;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-float:hover {
    transform: scale(1.08);
    box-shadow: 0 14px 34px rgba(37,211,102,0.55), 0 6px 16px rgba(0,0,0,0.22);
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Portfolio (áreas) ---------- */
.portfolio { background: var(--bg-alt); padding: 120px 0; }
.section-head-center {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    margin-bottom: 56px;
}
.section-head-center .section-title { text-align: center; }
.section-head-center .section-intro {
    max-width: 60ch;
    margin: 8px auto 0;
    text-align: center;
}
.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    background: transparent;
}
@media (min-width: 640px) {
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
}
.p-card {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 24px;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    text-decoration: none;
    color: #fff;
    cursor: pointer;
    transition: transform 0.3s ease;
}
a.p-card { color: #fff; }
.p-card:hover { transform: translateY(-2px); }
.p-card::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(15,24,48,0.25) 0%, rgba(15,24,48,0.55) 100%);
    z-index: -1;
    transition: background 0.3s ease;
}
.p-card:hover::after {
    background: linear-gradient(180deg, rgba(15,24,48,0.55) 0%, rgba(15,24,48,0.75) 100%);
}
.p-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.p-card-content h3 {
    margin: 0;
    font-family: "Brawler", Georgia, serif;
    font-size: clamp(28px, 2.6vw, 40px);
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: -0.6px;
    color: #fff;
}
.p-card-sub {
    font-size: 13px;
    line-height: 1.4;
    color: rgba(255,255,255,0.85);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}
.p-card:hover .p-card-sub {
    max-height: 40px;
    opacity: 1;
}
.portfolio-cta {
    display: flex;
    justify-content: center;
    margin-top: 56px;
}

/* ---------- About / Equipe ---------- */
.about { background: var(--bg); padding: 120px 0; }
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
@media (min-width: 768px) {
    .about-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
}
.about-copy { display: flex; flex-direction: column; gap: 24px; }
.about-copy .eyebrow { margin-bottom: 0; }
.about-copy p { margin: 0; color: var(--muted); font-size: 15.8px; line-height: 22.4px; font-weight: 500; }
.about-copy .link-underline { align-self: flex-start; margin-top: 8px; }

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--line);
}
.team-card {
    background: var(--bg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.team-mark {
    width: 48px; height: 48px;
    background: var(--aqua);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
}
.team-card strong {
    display: block;
    font-size: 15.8px;
    line-height: 22.4px;
    font-weight: 500;
}
.team-card span {
    display: block;
    color: rgba(26,26,26,0.5);
    font-size: 11.8px;
    line-height: 14.4px;
    margin-top: 4px;
}

/* ---------- FAQ Accordion ---------- */
.faq-section { background: var(--blue); padding: 120px 0; color: #fff; }
.faq-section .section-head { margin-bottom: 32px; }
.faq-section .eyebrow.light,
.faq-section .section-title.light { color: #fff; }
.faq-section .section-title.light em { color: var(--aqua); }
.faq-section .section-intro.light { color: rgba(255,255,255,0.7); }
.faq-section .link-underline.light {
    color: #fff;
    text-decoration-color: var(--aqua);
}
.accordion { max-width: 900px; margin: 0 auto; }
.faq-section .section-head-center { align-items: center; }
.faq-section .section-head-center .section-intro.light { text-align: center; }
.acc-item {
    border-top: 1px solid rgba(255,255,255,0.18);
    padding: 0;
}
.acc-item:last-child { border-bottom: 1px solid rgba(255,255,255,0.18); }
.acc-item summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    font-size: clamp(15px, 1.2vw, 17px);
    font-weight: 500;
    color: #fff;
    line-height: 1.35;
    transition: color 0.2s;
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary:hover { color: var(--aqua); }
.acc-icon {
    flex-shrink: 0;
    width: 28px; height: 28px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 400;
    transition: transform 0.3s, background-color 0.3s, border-color 0.3s, color 0.3s;
}
.acc-item[open] .acc-icon {
    transform: rotate(45deg);
    background: var(--aqua);
    border-color: var(--aqua);
    color: #fff;
}
.acc-item[open] summary { color: var(--aqua); }
.acc-body {
    padding: 0 0 20px;
    max-width: 72ch;
}
.acc-body p {
    color: rgba(255,255,255,0.82);
    font-size: 14.5px;
    line-height: 1.55;
    margin: 0;
}
.acc-body p em { color: var(--aqua); font-style: normal; font-weight: 500; }

/* ---------- Testimonials (legado — mantido caso reusado) ---------- */
.testimonials { background: var(--blue); padding: 120px 0; color: #fff; }
.testimonials .eyebrow { display: block; margin-bottom: 16px; }
.testimonials .section-title { margin-bottom: 40px; }
.testimonial-stage { position: relative; min-height: 220px; }
.t-item {
    margin: 0;
    transition: opacity 0.7s, transform 0.7s;
    opacity: 0;
    transform: translateY(16px);
    position: absolute;
    top: 0; left: 0; right: 0;
    pointer-events: none;
}
.t-item.is-active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
    pointer-events: auto;
}
.t-item p {
    max-width: 800px;
    margin: 0 0 32px;
    color: #fff;
    font-size: clamp(20px, 2.4vw, 32px);
    line-height: 1.35;
    letter-spacing: -0.5px;
    font-weight: 400;
}
.t-item footer { display: flex; align-items: center; gap: 16px; }
.t-bar { display: block; width: 1px; height: 32px; background: var(--white-30); }
.t-item cite {
    display: block;
    font-style: normal;
    font-weight: 500;
    font-size: 15.8px;
    line-height: 22.4px;
    color: #fff;
}
.t-item footer span {
    display: block;
    color: rgba(255,255,255,0.5);
    font-size: 11.8px;
    line-height: 14.4px;
    margin-top: 4px;
}
.t-dots { display: flex; gap: 12px; margin-top: 48px; }
.t-dots button {
    width: 16px; height: 2px;
    background: var(--white-30);
    border: 0;
    cursor: pointer;
    transition: width 0.3s, background-color 0.3s;
    padding: 0;
}
.t-dots button.is-active { width: 32px; background: var(--aqua); }
.t-dots button:hover { background: rgba(255,255,255,0.6); }

/* ---------- Contact ---------- */
.contact { background: var(--bg); padding: 120px 0; }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
@media (min-width: 900px) {
    .contact-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
}
.contact-copy { display: flex; flex-direction: column; gap: 24px; }
.contact-copy .eyebrow { margin-bottom: 0; }
.contact-copy p { margin: 0; max-width: 400px; color: var(--muted); font-size: 15.8px; line-height: 22.4px; font-weight: 500; }
.contact-info { display: flex; flex-direction: column; gap: 24px; margin-top: 8px; }
.contact-info > div { display: flex; flex-direction: column; gap: 4px; }
.info-label {
    color: var(--muted-2);
    font-size: 11.8px;
    line-height: 14.4px;
    text-transform: uppercase;
}
.contact-info a, .contact-info span:not(.info-label) {
    color: var(--ink);
    font-size: 16px;
    line-height: 22.4px;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: opacity 0.2s;
}
.contact-info span:not(.info-label) { text-decoration: none; }
.contact-info a:hover { opacity: 0.6; }

.contact-form {
    border: 1px solid var(--line);
    background: var(--bg);
    position: relative;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr;
}
@media (min-width: 640px) {
    .form-row { grid-template-columns: 1fr 1fr; }
    .form-row .field + .field { border-left: 1px solid var(--line); }
}
.field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
}
.field label {
    color: var(--muted-2);
    font-size: 11.8px;
    line-height: 14.4px;
    text-transform: uppercase;
}
.field input, .field textarea, .field select {
    background: transparent;
    border: 0;
    outline: none;
    padding: 0;
    color: var(--ink);
    font: 500 14.5px/1.5 "Nunito Sans", Helvetica, Arial, sans-serif;
    resize: none;
    width: 100%;
    cursor: inherit;
    appearance: none;
    -webkit-appearance: none;
}
.field select { cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 12px) center, calc(100% - 6px) center; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 24px; }
.field input::placeholder, .field textarea::placeholder {
    color: var(--muted-3);
}
.privacy-note {
    margin: 0;
    padding: 16px 24px 0;
    color: var(--muted-2);
    font-size: 11.8px;
    line-height: 16px;
}
.contact-form .btn-block { margin: 20px; width: calc(100% - 40px); }

.form-success {
    position: absolute;
    inset: 0;
    background: var(--aqua);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 48px;
    text-align: center;
}
.form-success[hidden] { display: none; }
.form-success .check {
    width: 48px; height: 48px;
    border: 1px solid #fff;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 8px;
    font-size: 20px;
}
.form-success strong { font-weight: 500; font-size: 15.8px; }
.form-success span { color: rgba(255,255,255,0.6); font-size: 11.8px; text-transform: uppercase; letter-spacing: 0.5px; }

/* ---------- Footer ---------- */
.footer {
    background: var(--blue);
    color: #fff;
    padding: 48px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--white-10);
}
@media (min-width: 768px) {
    .footer-grid { grid-template-columns: 1.2fr repeat(3, 1fr); gap: 32px; }
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; max-width: 280px; }
.footer-brand p {
    margin: 0;
    color: rgba(255,255,255,0.5);
    font-size: 13.5px;
    line-height: 1.55;
    font-weight: 500;
}
.footer-col { display: flex; flex-direction: column; gap: 16px; }
.footer-head {
    color: var(--white-40);
    font-size: 11.8px;
    line-height: 14.4px;
    text-transform: uppercase;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col li {
    color: rgba(255,255,255,0.7);
    font-size: 13.5px;
    line-height: 1.5;
    font-weight: 500;
    transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 20px;
    color: var(--white-30);
    font-size: 11.8px;
    line-height: 14.4px;
}
@media (min-width: 768px) {
    .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: var(--white-30); transition: color 0.2s; }
.footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* ---------- Inner pages ---------- */
.page-hero {
    position: relative;
    background: #0f1830;
    padding: 128px 0 56px;
    min-height: 100vh;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
    border-bottom: none;
    display: flex;
    flex-direction: column;
}
.page-hero::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(15,24,48,0.82) 0%, rgba(15,24,48,0.55) 50%, rgba(15,24,48,0.2) 100%),
                linear-gradient(180deg, rgba(15,24,48,0.15) 0%, rgba(15,24,48,0.55) 100%);
    z-index: 1;
    pointer-events: none;
}
/* page-hero content mirrors .nav-inner exactly: inherits .container's
   max-width (1440) and margin (auto), but zero lateral padding — same as
   .nav-inner { padding: 0 }. Content alignment follows the nav bar edge. */
.page-hero > .container {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-left: 0;
    padding-right: 0;
}
.page-hero .crumbs { display: none; }
.page-hero .eyebrow { margin-top: 0; align-self: flex-start; }
.page-hero .page-title,
.page-hero .page-lead { align-self: flex-start; }
.page-hero .page-title { margin-top: auto; }
.page-hero .page-title { color: #fff; }
.page-hero .page-title em { color: var(--aqua); }
.page-hero .page-lead { color: rgba(255,255,255,0.88); }
.page-hero .eyebrow { color: rgba(255,255,255,0.82); }
.page-hero .crumbs,
.page-hero .crumbs a { color: rgba(255,255,255,0.75); }
.page-hero .crumbs a:hover { color: var(--aqua); }
.page-hero .crumbs span { color: rgba(255,255,255,0.5); }
.crumbs {
    font-size: 11px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--muted-2);
    margin-bottom: 20px;
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--aqua); }
.crumbs span { margin: 0 8px; color: var(--muted-3); }
.page-title {
    font-size: clamp(32px, 4.8vw, 70.4px);
    line-height: 1.04;
    letter-spacing: -1.6px;
    font-weight: 400;
    color: var(--blue);
    margin: 12px 0 20px;
    max-width: 20ch;
}
.page-title em { font-style: normal; color: var(--aqua); }
.hero.sub .hero-title { font-size: clamp(35.2px, 5.76vw, 83.2px); }
.page-lead {
    max-width: 58ch;
    font-size: clamp(14.5px, 1.1vw, 16px);
    line-height: 1.55;
    color: var(--muted);
}

.serdpo-section { background: var(--bg-alt); padding: 120px 0; }
.serdpo-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    margin: 48px 0;
}
.pillar {
    border-top: 1px solid var(--line);
    padding: 24px 0 0;
}
.pillar-num {
    display: block;
    font-size: 12px;
    letter-spacing: 1.2px;
    color: var(--aqua);
    font-weight: 600;
    margin-bottom: 12px;
}
.pillar h3 {
    font-size: 19px;
    font-weight: 500;
    color: var(--blue);
    margin: 0 0 8px;
}
.pillar p { color: var(--muted); font-size: 15px; line-height: 1.55; margin: 0; }
.serdpo-plans {
    border-top: 1px solid var(--line);
    padding-top: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.plans-intro { max-width: 56ch; margin: 0; color: var(--muted); line-height: 1.6; }
.plans-intro strong { color: var(--blue); font-weight: 600; }

.cta-band {
    background: var(--blue);
    color: #fff;
    padding: 48px 0;
}
.cta-band .section-title.light { color: #fff; margin: 0 0 12px; }
.cta-band .section-title.light em { color: var(--aqua); }
.cta-band p { color: rgba(255,255,255,0.75); margin: 0; }
.cta-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}
.cta-band-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.link-underline.light {
    color: #fff;
    text-decoration-color: var(--aqua);
}

/* Generic long-form content */
.prose { max-width: 70ch; color: var(--ink); line-height: 1.6; font-size: 14.5px; }
.prose h2 {
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 500;
    color: var(--blue);
    letter-spacing: -0.6px;
    margin: 40px 0 12px;
}
.prose h2 em { font-style: normal; color: var(--aqua); }
.prose h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--blue);
    margin: 24px 0 8px;
}
.prose p { margin: 0 0 16px; color: var(--ink); }
.prose ul { padding-left: 20px; margin: 0 0 16px; }
.prose li { margin: 8px 0; color: var(--ink); }
.prose a { color: var(--blue); text-decoration-color: var(--aqua); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }

/* Setor page hero inherits dark treatment from .page-hero */

/* Section with plain body */
.plain-section { padding: 120px 0; }
.plain-section.alt { background: var(--bg-alt); }

/* ---------- Legacy stub (kept no-op) ---------- */
.box, .https-baselarea { display: none !important; }

/* ---------- Media placements ---------- */
.hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center right;
    border-radius: 0;
    z-index: 0;
    opacity: 1;
    pointer-events: none;
}
.hero:not(.sub) .hero-photo {
    opacity: var(--hero-opacity, 1);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 65%, rgba(0,0,0,0.4) 90%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 0%, #000 65%, rgba(0,0,0,0.4) 90%, transparent 100%);
}
.hero-inner { position: relative; z-index: 2; }
.hero .grid-line { display: none; }

.p-card-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: -2;
    transition: filter 0.35s ease, transform 0.6s ease;
}
.p-card:hover .p-card-img {
    filter: blur(8px);
    transform: scale(1.05);
}

.page-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    border-radius: 0;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center right;
    z-index: 0;
    pointer-events: none;
}
.about-photo,
.section-photo {
    display: block;
    width: 100%;
    max-width: 820px;
    height: auto;
    margin: 48px 0 0;
    border-radius: 24px;
    aspect-ratio: 16/9;
    object-fit: cover;
}
.about-photo { margin: 0; max-width: 100%; aspect-ratio: 4/5; }

/* ---------- Scroll reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s cubic-bezier(.2,.7,.2,1), transform 0.8s cubic-bezier(.2,.7,.2,1);
    will-change: opacity, transform;
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal.is-visible { opacity: 1; transform: none; transition: none; }
}
