:root {
    --max: 1800px;
    --gap: 10px;

    --brand: #f2aa04;
    /* vermelho dos botões */
    --text: #f2aa04;
    --muted: #5b5f66;

    --line: #333233;
    --soft: #333233;
    /* fundo rosado */
    --card: #333233;
    --partner: #5b5f66;
    /* cards azul-esverdeado */
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: #f3f3f3;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gap);
}

/* ---------- HEADER ---------- */
.site-header {
    border-bottom: 1px solid var(--line);
    background: #141414;
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-bar {
    padding: 16px var(--gap);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--gap);
}

.brand img {
    width: 170px;
    height: auto;
}

.site-nav .nav-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 28px;
    font-weight: 500;
}

.site-nav a {
    padding: 8px 2px;
    border-bottom: 2px solid transparent;
    transition: color .2s ease, border-color .2s ease;
}

.site-nav a:hover {
    color: var(--brand);
    border-bottom-color: var(--brand);
}


.social {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
}

.icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: .9;
}

.icon svg {
    width: 18px;
    height: 18px;
}

/* ---------- HERO ---------- */
.hero {
    border-bottom: 1px solid var(--line);
}

.hero-title span {
    display: block;
    font-size: clamp(24px, 4vw, 48px);
    line-height: 1.05;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: auto;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
}

.hero-left {
    padding: 74px 54px;
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}

.hero-left h1 {
    margin: 0;
    font-size: clamp(42px, 4.2vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.hero-left p {
    margin: 0;
    font-size: 22px;
    line-height: 1.35;
}

.hero-right {
    overflow: hidden;
    background: #c4c4c4;
}

.hero-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-home .hero-left h1,
.hero-home .hero-left h1 span,
.hero-home .hero-left p {
    color: #000;
}

.hero-home {
    color: #000;
}

/* ---------- SECTION BASE ---------- */
.section {
    padding: 80px 0;
}

.section-soft {
    background: var(--soft);
    border-top: 1px solid rgba(0, 0, 0, .06);
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.center {
    text-align: center;
}

.title-xl {
    margin: 0;
    font-size: clamp(26px, 3.2vw, 40px);
    line-height: 1.1;
    font-weight: 800;
}

.title-lg {
    margin: 0 0 10px 0;
    font-size: clamp(30px, 2.6vw, 44px);
    line-height: 1.1;
    font-weight: 800;
}

.title-md {
    margin: 48px 0 16px;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: .3px;
}

.lead {
    margin: 18px auto 0;
    max-width: 720px;
    color: #111;
    font-size: 18px;
    line-height: 1.6;
}

.lead-left {
    margin: 10px 0 0;
    max-width: 760px;
    color: #111;
    font-size: 18px;
    line-height: 1.6;
}

.lead.lead-white {
    color: #f3f3f3;
}

.muted {
    color: var(--muted);
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 8px 20px;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: .2px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .06s ease, filter .15s ease;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background: var(--brand);
    color: #f3f3f3;
    border-color: var(--brand);
}

.btn-primary:hover {
    filter: brightness(.75);
}

.btn-submit {
    background: #f2aa04;
    color: #f3f3f3;
    border-color: #f2aa04;
    border-radius: 6px;
    padding: 12px 18px;
}

/* ---------- CARDS 3 ---------- */
.cards-3 {
    margin-top: 46px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
    align-items: stretch;
}

.card-outline {
    background: rgba(255, 255, 255, .25);
    border: 1px solid rgba(0, 0, 0, .65);
    padding: 36px 28px;
}

.card-outline h3 {
    margin: 18px 0 14px;
    font-size: 22px;
    font-weight: 800;
    text-align: center;
}

.card-outline p {
    margin: 0;
    line-height: 1.7;
    color: #111;
    text-align: center;
}

.card-icon {
    width: 10px;
    height: 10px;
    margin: 0 auto;
    color: #7a1020;
}

.card-icon svg {
    width: 44px;
    height: 44px;
}

/* ---------- PARTNERS GRID (NOVO: 2x2 ALINHADO) ---------- */
.partners-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    align-items: stretch;
}

/* cada “bloco” */
.partner-box {
    background: var(--partner);
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* topo: título + descrição */
.partner-header {
    padding: 28px 26px 18px;
}

.partner-header h3 {
    margin: 0 0 10px;
    font-weight: 900;
    letter-spacing: .3px;
}

.partner-header p {
    margin: 0;
    color: #1b1f22;
    line-height: 1.5;
}

/* base: “slides” (carrossel horizontal sem JS) */
.partner-slider {
    display: flex;
    gap: 14px;
    padding: 0 26px 26px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

/* cada slide */
.partner-slider img {
    flex: 0 0 240px;
    height: 160px;
    object-fit: cover;
    border-radius: 4px;
    scroll-snap-align: start;
    background: #f3f3f3;
    /* evita “vazios” enquanto carrega */
}

.partner-header p.text-white {
    color: #f3f3f3;
}

/* esconder scrollbar (opcional) */
.partner-slider::-webkit-scrollbar {
    display: none;
}

.social .icon {
    color: var(--text);
    /* cor normal */
    transition: color .2s ease, transform .2s ease;
}

.social .icon:hover {
    color: var(--brand);
    /* cor da marca no hover */
    transform: translateY(-2px);
    /* opcional: sobe um pouco */
}


/* ---------- RESPONSIVO ---------- */
@media (max-width: 900px) {
    .partners-grid {
        grid-template-columns: 1fr;
        /* vira uma coluna */
        gap: 22px;
    }

    .partner-slider img {
        flex-basis: 200px;
        height: 140px;
    }
}

/* ---------- SPLIT PARTNER CTA ---------- */
.split {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 50px;
    align-items: center;
}

.split-media img {
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.split-caption {
    margin: 18px 0 0;
    font-size: 28px;
    letter-spacing: .2px;
}

.split-content .lead {
    text-align: left;
    margin-left: 0;
    max-width: 520px;
}

/* ---------- PROCESS ---------- */
.process {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 44px;
    align-items: start;
}

.process-actions {
    margin-top: 44px;
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
}

.step {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 18px;
    padding: 14px 0;
}

.step-badge {
    width: 44px;
    height: 44px;
    border: 1px solid #111;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 900;
}

.step-body h3 {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 900;
}

.step-body p {
    margin: 0 0 10px;
    line-height: 1.7;
}

.step-body ul {
    margin: 0;
    padding-left: 18px;
    line-height: 1.7;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials .card-outline {
    background: rgba(255, 255, 255, .15);
}

.testimonials .card-outline h3 {
    text-align: left;
}

.testimonials .card-outline p {
    text-align: left;
}

/* ---------- CONTACTS ---------- */
.contacts {
    padding-top: 86px;
}

.contact-block {
    margin: 34px auto 0;
    max-width: 520px;
}

.contact-block p {
    margin: 10px 0;
}

.link {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.contact-form {
    margin: 34px auto 0;
    max-width: 560px;
    text-align: left;
}

.form-row {
    margin-bottom: 18px;
}

.field label {
    display: block;
    font-weight: 800;
    margin-bottom: 10px;
}

.field label span {
    color: var(--brand);
}

.field input,
.field textarea,
.field select {
    width: 100%;
    padding: 12px 12px;
    border: 1px solid #f3f3f3;
    border-radius: 4px;
    font: inherit;
    outline: none;
    background: #f3f3f3;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    border-color: #8a8a8a;
}

.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

/* ---------- FOOTER ---------- */
.site-footer {
    padding: 50px 0 64px;
}

.footer-inner {
    display: grid;
    place-items: center;
    gap: 18px;
}

.footer-line {
    width: min(880px, 100%);
    height: 2px;
    background: #111;
    opacity: .9;
}

.footer-social {
    display: flex;
    gap: 18px;
}

.footer-copy {
    display: flex;
    gap: 40px;
    font-weight: 500;
    letter-spacing: .2px;
}

.cta-servicos {
    margin-top: 68px;
    /* aumenta/diminui aqui */
}

#servicos .title-xl,
#servicos .lead {
    color: #f3f3f3;
}

#servicos .card-outline p {
    color: #f3f3f3;
}

#testemunhos .lead-left,
#testemunhos .card-outline p {
    color: #f3f3f3;
}

#processo .lead-left,
#processo .step-body p {
    color: #000000;
}

/* ---------- RESPONSIVO ---------- */
@media (max-width: 980px) {
    .header-bar {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "brand social"
            "nav nav";
    }

    .brand {
        grid-area: brand;
    }

    .site-nav {
        grid-area: nav;
    }

    .social {
        grid-area: social;
    }

    .site-nav .nav-list {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 12px 18px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-left {
        padding: 52px 20px;
        border-right: none;
        border-bottom: 1px solid var(--line);
    }

    .hero-right {
        height: 360px;
    }

    .cards-3 {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .partner-stack {
        grid-column: auto;
        grid-row: auto;
    }

    .partner-wide {
        grid-column: auto;
        grid-row: auto;
        grid-template-columns: 1fr;
    }

    .partner-wide .partner-img {
        height: 240px;
    }

    .split {
        grid-template-columns: 1fr;
    }

    .split-media img {
        height: 360px;
    }

    .split-caption {
        font-size: 22px;
    }

    .process {
        grid-template-columns: 1fr;
    }

    .two-cols {
        grid-template-columns: 1fr;
    }

}

/* ===== CONTACT FORM — UPGRADE (override) ===== */

.contact-form {
    margin: 26px auto 0;
    max-width: 620px;
    text-align: left;

    /* cartão */
    background: var(--soft);
    border: 1px solid rgba(0, 0, 0, .10);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .06);
}

.form-row {
    margin-bottom: 16px;
}

/* labels mais “limpos” */
.field label {
    display: block;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: .2px;
}

.field label span {
    color: var(--brand);
    opacity: .9;
}

/* inputs com cantos suaves + foco bonito */
.field input,
.field textarea,
.field select {
    width: 100%;
    padding: 14px 14px;
    border: 1px solid rgba(0, 0, 0, .14);
    border-radius: 12px;
    font: inherit;
    outline: none;

    /* mais leve do que #f3f3f3 chapado */
    background: rgba(255, 255, 255, .78);
    color: var(--text);
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.field textarea {
    min-height: 150px;
    resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
    opacity: .6;
}

/* hover */
.field input:hover,
.field textarea:hover,
.field select:hover {
    border-color: rgba(0, 0, 0, .25);
}

/* focus ring (mais moderno e acessível) */
.field input:focus,
.field textarea:focus,
.field select:focus {
    border-color: rgba(0, 0, 0, .55);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 180, 0, .22);
}

/* grelha nome/apelido: mais apertada e responsiva */
.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 640px) {
    .contact-form {
        padding: 18px;
    }

    .two-cols {
        grid-template-columns: 1fr;
    }
}

/* botão alinhado e consistente */
.contact-form .btn-submit {
    border-radius: 999px;
    padding: 14px 28px;
    font-weight: 900;
    letter-spacing: .3px;
}

/* opcional: um separador subtil entre contactos e formulário */
.title-md {
    margin-top: 34px;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
/* reCAPTCHA container invisível (não usar display:none) */
.recaptcha-holder{
  position:absolute;
  left:-9999px;
  top:0;
  width:1px;
  height:1px;
  overflow:hidden;
}

/* ===== CONTACT FORM — TUNING para o teu tema escuro ===== */

.contact-form {
    margin: 26px auto 0;
    max-width: 640px;
    text-align: left;

    background: var(--card);
    /* #333233 */
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 16px;
    padding: 22px;

    box-shadow: 0 14px 34px rgba(0, 0, 0, .35);
}

.form-row {
    margin-bottom: 16px;
}

.field label {
    margin-bottom: 8px;
    font-weight: 800;
    letter-spacing: .2px;

    /* texto legível no fundo escuro */
    color: rgba(255, 255, 255, .92);
}

.field label span {
    color: var(--brand);
    /* amarelo */
}

/* Inputs claros para contraste */
.field input,
.field textarea,
.field select {
    width: 100%;
    padding: 14px 14px;
    border-radius: 12px;

    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);

    /* texto legível */
    color: rgba(255, 255, 255, .92);
    font: inherit;

    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.field input::placeholder,
.field textarea::placeholder {
    color: rgba(255, 255, 255, .55);
}

.field textarea {
    min-height: 150px;
    resize: vertical;
}

/* Hover */
.field input:hover,
.field textarea:hover,
.field select:hover {
    border-color: rgba(255, 255, 255, .24);
    background: rgba(255, 255, 255, .10);
}

/* Focus: ring amarelo (marca) */
.field input:focus,
.field textarea:focus,
.field select:focus {
    border-color: rgba(242, 170, 4, .70);
    /* brand */
    box-shadow: 0 0 0 4px rgba(242, 170, 4, .22);
    background: rgba(255, 255, 255, .12);
}

/* Select: garante que a seta não fica estranha */
.field select {
    appearance: none;
    -webkit-appearance: none;
}

/* Nome/Apelido responsivo */
.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 640px) {
    .contact-form {
        padding: 18px;
    }

    .two-cols {
        grid-template-columns: 1fr;
    }
}

/* Botão submit (mantém o teu btn) */
.contact-form .btn-submit {
    border-radius: 999px;
    padding: 14px 28px;
    font-weight: 900;
    letter-spacing: .3px;
}

/* Texto auxiliar (se usares) */
.contact-form .muted {
    color: rgba(255, 255, 255, .70);
}

/* ---------- COOKIES (LUNACAR) ---------- */

/* Banner fixo no fundo */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px var(--gap);
    background: rgba(0, 0, 0, .55);
    /* overlay suave atrás do card */
    backdrop-filter: blur(6px);
    z-index: 9999;
}

/* Card do banner */
.cookie-content {
    max-width: min(1100px, calc(100% - 2 * var(--gap)));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;

    background: #141414;
    /* alinhado ao teu header */
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 18px;
    padding: 16px 18px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .45);
}

.cookie-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .90);
}

.cookie-content b {
    color: var(--brand);
}

.cookie-content a {
    color: var(--brand);
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* botões do banner */
.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* Se não tiveres estas classes, cria-as para harmonizar */
.btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, .35);
    color: rgba(255, 255, 255, .92);
}

.btn-outline:hover {
    filter: brightness(.9);
}

.btn-ghost {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .14);
    color: rgba(255, 255, 255, .92);
}

.btn-ghost:hover {
    filter: brightness(.9);
}

/* ---------- MODAL (preferências) ---------- */
.cookie-modal {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 22px var(--gap);
    background: rgba(0, 0, 0, .62);
    backdrop-filter: blur(6px);
    z-index: 10000;
}

.cookie-modal-card {
    width: min(560px, 100%);
    background: #141414;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 18px;
    padding: 18px 18px 14px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .55);
}

.cookie-modal-card h3 {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 900;
    color: rgba(255, 255, 255, .95);
}

.cookie-modal-card label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    color: rgba(255, 255, 255, .90);
    font-weight: 600;
}

.cookie-modal-card input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--brand);
}

/* Botões do modal alinhados à direita */
.cookie-modal-card .cookie-buttons {
    margin-top: 16px;
    justify-content: flex-end;
}

/* Responsivo */
@media (max-width: 700px) {
    .cookie-content {
        grid-template-columns: 1fr;
    }

    .cookie-buttons {
        justify-content: flex-start;
    }
}

/* garante que o atributo hidden funciona sempre */
.cookie-banner[hidden],
.cookie-modal[hidden] {
    display: none !important;
}

/* ---------- COOKIE BUTTON HIERARCHY ---------- */

.cookie-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

/* Aceitar todos - principal */
.cookie-buttons .btn-primary {
    min-width: 150px;
}

/* Rejeitar opcionais - outline forte */
.btn-reject {
    background: transparent;
    border: 2px solid var(--brand);
    color: var(--brand);
    min-width: 170px;
    font-weight: 800;
}

.btn-reject:hover {
    background: rgba(242, 170, 4, 0.12);
}

/* Configurar - secundário */
.cookie-buttons .btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.9);
    min-width: 210px;
}

.cookie-buttons .btn-ghost {
    border: 2px solid rgba(255, 255, 255, 0.18);
}

/* ---------- COOKIE MODAL LEGAL LINK ---------- */

.cookie-legal {
    margin-top: 18px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}

.cookie-legal a {
    color: var(--brand);
    font-weight: 600;
    text-decoration: underline;
}

.cookie-legal a:hover {
    opacity: 0.85;
}