:root {
    --ink: #1f2933;
    --muted: #5c6975;
    --line: #d8e0e7;
    --paper: #ffffff;
    --soft: #f4f7f6;
    --brand: #123c4a;
    --brand-2: #d96c2c;
    --whatsapp: #0f8f57;
    --focus: #f5b642;
    --shadow: 0 18px 48px rgba(31, 41, 51, .12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--brand-2);
    text-underline-offset: .18em;
}

a:hover {
    color: #b84f15;
}

button,
input {
    font: inherit;
}

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

.skip-link {
    position: absolute;
    left: 1rem;
    top: .75rem;
    z-index: 20;
    transform: translateY(-150%);
    background: var(--ink);
    color: #fff;
    padding: .6rem .85rem;
    border-radius: 6px;
}

.skip-link:focus {
    transform: translateY(0);
}

.container {
    width: min(100% - 32px, 1120px);
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .75rem;
    align-items: center;
    padding: .75rem 0;
}

.brand {
    width: 158px;
}

.brand img {
    width: 158px;
}

.main-nav {
    display: none;
}

.main-nav a,
.footer-link,
.footer-links a,
.site-footer button {
    color: var(--brand-2);
}

.btn {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .78rem 1rem;
    border: 1px solid transparent;
    border-radius: 8px;
    background: var(--whatsapp);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.btn,
.brand,
.floating-whatsapp {
    color: #fff;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(15, 143, 87, .18);
}

.btn-small {
    min-height: 42px;
    padding: .55rem .7rem;
    font-size: .9rem;
}

.btn-outline {
    border-color: var(--brand-2);
    background: transparent;
    color: var(--brand-2);
}

.btn-muted {
    border-color: var(--line);
    background: #fff;
    color: var(--ink);
}

.btn-light {
    background: #fff;
    color: var(--brand-2);
}

.hero,
.service-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-color: var(--brand);
    background-image: var(--hero-bg);
    background-position: center;
    background-size: cover;
}

.image-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(13, 30, 43, .85);
}

.image-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(13, 30, 43, .18) 0%, rgba(13, 30, 43, .38) 54%, rgba(13, 30, 43, .78) 100%);
}

.hero-grid {
    display: grid;
    gap: 1.5rem;
    min-height: clamp(560px, 76vh, 760px);
    align-items: center;
    padding: 5.5rem 0 4rem;
}

.eyebrow {
    margin: 0 0 .5rem;
    color: var(--brand-2);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.14;
}

h1 {
    max-width: 760px;
    font-size: clamp(2rem, 10vw, 3.9rem);
    color: var(--brand);
}

.image-hero h1 {
    color: #fff;
    font-size: clamp(2.35rem, 8vw, 4.15rem);
    font-weight: 900;
}

.image-hero h1 span {
    color: var(--brand-2);
}

h2 {
    font-size: clamp(1.55rem, 5.8vw, 2.45rem);
    color: var(--brand);
}

h3 {
    font-size: 1.08rem;
}

p {
    margin: .75rem 0 0;
}

.hero-subtitle {
    max-width: 670px;
    color: var(--muted);
    font-size: 1.06rem;
}

.image-hero .hero-copy,
.image-hero .service-hero-grid > div {
    max-width: 680px;
    margin-left: auto;
}

.image-hero .hero-subtitle,
.image-hero .service-area {
    color: rgba(255, 255, 255, .88);
    text-shadow: 0 1px 2px rgba(0, 0, 0, .18);
}

.image-hero .btn-outline {
    border-color: rgba(255, 255, 255, .78);
    color: #fff;
}

.hero-actions {
    display: grid;
    gap: .75rem;
    margin-top: 1.25rem;
}

.service-area {
    color: var(--muted);
    font-weight: 700;
}

.section {
    padding: 3rem 0;
}

.section-alt {
    background: var(--soft);
}

.trust-strip {
    padding: 1rem 0;
    background: var(--brand);
    color: #fff;
}

.trust-grid {
    display: grid;
    gap: .75rem;
}

.trust-grid div {
    padding: .85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.trust-grid div:last-child {
    border-bottom: 0;
}

.trust-grid strong,
.trust-grid span {
    display: block;
}

.trust-grid span {
    color: rgba(255, 255, 255, .78);
    font-size: .94rem;
}

.section-grid,
.two-column {
    display: grid;
    gap: 1.5rem;
}

.section-intro p {
    color: var(--muted);
}

.narrow {
    max-width: 780px;
}

.cards,
.service-list {
    display: grid;
    gap: .9rem;
}

.benefit-cards {
    display: grid;
    gap: 1rem;
}

.card,
.service-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 1rem;
}

.card p,
.service-list p,
.service-card p {
    color: var(--muted);
}

.benefit-card {
    overflow: hidden;
    border: 1px solid rgba(216, 224, 231, .72);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(31, 41, 51, .12);
}

.benefit-card figure {
    position: relative;
    margin: 0;
}

.benefit-card figure::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(18, 60, 74, .02) 18%, rgba(217, 108, 44, .76) 100%);
}

.benefit-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.benefit-card figcaption {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 1;
    color: #fff;
    font-size: clamp(1.25rem, 7vw, 1.8rem);
    font-weight: 900;
    line-height: 1.05;
    text-align: center;
}

.benefit-card h3,
.benefit-card p {
    padding-inline: 1.15rem;
}

.benefit-card h3 {
    padding-top: 1.25rem;
    color: #202536;
    font-size: 1.15rem;
}

.benefit-card p {
    margin: .85rem 0 0;
    padding-bottom: 1.5rem;
    color: #6f737c;
}

.compact .card {
    min-height: 142px;
}

.service-card {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: .8rem;
    padding: 0;
    overflow: hidden;
    text-align: center;
}

.service-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    margin: 0;
    object-fit: cover;
}

.service-card h3 {
    padding-inline: 1rem;
    font-size: 1.06rem;
}

.service-card p {
    margin: 0;
    padding-inline: 1rem;
}

.service-card .btn-card {
    width: calc(100% - 2rem);
    min-height: 42px;
    margin: .2rem 1rem 1rem;
    padding: .6rem .85rem;
    background: var(--brand-2);
    color: #fff;
    font-size: .92rem;
}

.area-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    padding: 0;
    margin: 1.3rem 0 0;
    list-style: none;
}

.area-list li {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    font-weight: 700;
}

.area-list a {
    display: block;
    padding: .8rem;
    color: var(--brand-2);
    text-decoration: none;
}

.area-list a:hover {
    text-decoration: underline;
}

.center {
    max-width: 820px;
    margin-inline: auto;
    text-align: center;
}

.breadcrumb {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, .82);
    font-size: .88rem;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.breadcrumb li:not(:last-child)::after {
    content: "/";
    margin-left: .35rem;
    color: rgba(255, 255, 255, .58);
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.breadcrumb span {
    color: rgba(255, 255, 255, .74);
}

.cluster-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1.6rem;
}

.cluster-card {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    text-align: center;
    box-shadow: 0 12px 28px rgba(31, 41, 51, .08);
}

.cluster-card > a:first-child {
    display: grid;
    color: var(--ink);
    text-decoration: none;
}

.cluster-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.cluster-card span {
    display: block;
    padding: 1rem 1rem 0;
    color: #071329;
    font-weight: 900;
    line-height: 1.25;
}

.cluster-card p {
    margin: .65rem 0 0;
    padding: 0 1rem;
    color: var(--muted);
}

.cluster-card .btn-card {
    width: calc(100% - 2rem);
    margin: 1rem;
    background: var(--brand-2);
    color: #fff;
}

.link-list {
    align-items: stretch;
}

.link-list a {
    display: grid;
    min-height: 48px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: .8rem;
    background: #fff;
    color: var(--brand-2);
    font-weight: 800;
    text-align: center;
    text-decoration: none;
}

.team-section {
    background: #f6f6f6;
}

.team-gallery {
    display: grid;
    gap: .75rem;
    margin-top: 1.8rem;
}

.team-gallery img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 8px;
}

.faq-list {
    display: grid;
    gap: .65rem;
    max-width: 896px;
    margin: 2rem auto 0;
}

.faq-list details {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    padding: 0;
}

.faq-list details[open] {
    border-color: #071329;
}

.faq-list summary {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 44px;
    padding: .9rem 3.1rem .9rem 1rem;
    cursor: pointer;
    font-weight: 800;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";
    position: absolute;
    right: 1rem;
    top: 50%;
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    border-radius: 50%;
    background: var(--brand-2);
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1;
    transform: translateY(-50%);
}

.faq-list details[open] summary::after {
    content: "×";
}

.faq-list details p {
    margin: 0;
    padding: 0 1rem 1rem;
    color: var(--muted);
    font-size: .94rem;
}

.final-cta {
    padding: 3rem 0;
    color: #fff;
    background: var(--brand);
}

.final-cta-inner {
    display: grid;
    gap: 1rem;
}

.final-cta h2 {
    color: #fff;
}

.final-cta p {
    color: rgba(255, 255, 255, .82);
}

.site-footer {
    padding: 2.5rem 0 1rem;
    color: #dbe6ea;
    background: #14242b;
}

.footer-grid {
    display: grid;
    gap: 1.4rem;
}

.site-footer p,
.site-footer a,
.site-footer button {
    color: #dbe6ea;
}

.site-footer a,
.site-footer button {
    color: var(--brand-2);
}

.footer-links,
.footer-area-links {
    display: grid;
    gap: .35rem;
    padding: 0;
    margin: .7rem 0 0;
    list-style: none;
}

.link-button {
    border: 0;
    padding: 0;
    background: transparent;
    text-decoration: underline;
    cursor: pointer;
}

.footer-bottom {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: .9rem;
}

.floating-whatsapp {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 12;
    display: grid;
    width: 58px;
    height: 58px;
    min-height: 0;
    place-items: center;
    padding: 0;
    border-radius: 50%;
    background: var(--whatsapp);
    color: #fff;
    font-weight: 800;
    font-size: .95rem;
    text-decoration: none;
    box-shadow: 0 14px 28px rgba(15, 143, 87, .3);
    animation: whatsappPulse 2.4s ease-in-out infinite;
}

.floating-whatsapp .whatsapp-icon {
    width: 30px;
    height: 30px;
    display: block;
}

.floating-whatsapp::before {
    content: "Precisa de ajuda?";
    position: absolute;
    right: 70px;
    top: 50%;
    width: max-content;
    max-width: 190px;
    padding: .62rem .78rem;
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font-size: .88rem;
    font-weight: 700;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translate(8px, -50%);
    animation: whatsappBubble 13s ease-in-out 10s infinite;
}

.floating-whatsapp::after {
    content: "";
    position: absolute;
    right: 64px;
    top: 50%;
    border: 7px solid transparent;
    border-left-color: #fff;
    opacity: 0;
    pointer-events: none;
    transform: translate(8px, -50%);
    animation: whatsappBubble 13s ease-in-out 10s infinite;
}

@keyframes whatsappPulse {
    0%,
    100% {
        box-shadow: 0 14px 28px rgba(15, 143, 87, .3), 0 0 0 0 rgba(15, 143, 87, .35);
        transform: translateY(0);
    }

    50% {
        box-shadow: 0 16px 34px rgba(15, 143, 87, .36), 0 0 0 10px rgba(15, 143, 87, 0);
        transform: translateY(-2px);
    }
}

@keyframes whatsappBubble {
    0%,
    30%,
    100% {
        opacity: 0;
        transform: translate(8px, -50%);
    }

    4%,
    22% {
        opacity: 1;
        transform: translate(0, -50%);
    }
}

.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 82px;
    z-index: 14;
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

.cookie-actions {
    display: grid;
    gap: .6rem;
}

.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 15;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(20, 36, 43, .66);
}

.cookie-modal-panel {
    width: min(100%, 480px);
    max-height: calc(100vh - 32px);
    overflow: auto;
    border-radius: 8px;
    background: #fff;
    padding: 1.15rem;
    box-shadow: var(--shadow);
}

.cookie-modal-panel h2 {
    color: #071329;
    font-size: 1.18rem;
    line-height: 1.25;
}

.cookie-modal-description {
    margin-top: .8rem;
    color: #344256;
    font-size: .86rem;
    line-height: 1.65;
}

.cookie-option {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    min-height: 84px;
    margin: 1rem 0;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.cookie-option-text {
    display: grid;
    gap: .35rem;
    min-width: 0;
}

.cookie-option strong {
    color: #071329;
    font-size: .96rem;
    line-height: 1.25;
}

.cookie-option small {
    display: block;
    color: #344256;
    font-size: .82rem;
    line-height: 1.55;
}

.switch {
    position: relative;
    flex: 0 0 auto;
    width: 44px;
    height: 24px;
    margin-top: .05rem;
}

.switch input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.switch input:disabled {
    cursor: not-allowed;
}

.switch-ui {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: #c8c8c8;
    transition: background-color .16s ease;
}

.switch-ui::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .18);
    transition: transform .16s ease;
}

.switch input:checked + .switch-ui {
    background: #70df96;
}

.switch input:checked + .switch-ui::after {
    transform: translateX(20px);
}

.switch input:focus-visible + .switch-ui {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
}

.legal-content {
    max-width: 860px;
}

.legal-content h1 {
    font-size: clamp(2rem, 8vw, 3rem);
}

.legal-content h2 {
    margin-top: 1.8rem;
    font-size: 1.45rem;
}

.legal-content h3 {
    margin-top: 1.2rem;
}

.service-hero-grid {
    display: grid;
    gap: 1.5rem;
    min-height: clamp(500px, 68vh, 700px);
    align-items: center;
    padding: 5rem 0 4rem;
}

.single-service-list {
    align-items: stretch;
}

[hidden] {
    display: none !important;
}

@media (min-width: 560px) {
    .hero-actions,
    .cookie-actions {
        display: flex;
        flex-wrap: wrap;
    }

    .area-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 780px) {
    .header-inner {
        grid-template-columns: auto 1fr auto;
    }

    .main-nav {
        display: flex;
        justify-content: center;
        gap: 1rem;
    }

    .main-nav a {
        color: var(--brand-2);
        font-weight: 700;
        text-decoration: none;
    }

    .hero-grid,
    .service-hero-grid,
    .two-column,
    .section-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: center;
    }

    .image-hero .hero-copy,
    .image-hero .service-hero-grid > div {
        grid-column: 2;
    }

    .reverse .section-intro {
        order: 2;
    }

    .trust-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .trust-grid div {
        border-right: 1px solid rgba(255, 255, 255, .16);
        border-bottom: 0;
        padding-right: 1rem;
    }

    .trust-grid div:last-child {
        border-right: 0;
    }

    .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .benefit-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .team-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: .75rem;
    }

    .cluster-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .small-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr 1fr;
    }

    .cookie-banner {
        grid-template-columns: 1fr auto;
        align-items: center;
        bottom: 16px;
    }
}
