﻿/* ═══════════════════════════════════════════════════════════
   MARCIA DIGITAL — GLOBAL STYLESHEET
   Converted from React/Tailwind to vanilla CSS
   ═══════════════════════════════════════════════════════════ */


/* ═══════════════════════════════════════
   A) RESET
   ═══════════════════════════════════════ */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

ul,
ol {
    list-style: none;
}

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

button {
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
}

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

input,
textarea,
select {
    font: inherit;
}


/* ═══════════════════════════════════════
   B) CSS VARIABLES / DESIGN TOKENS
   ═══════════════════════════════════════ */

:root {
    /* Fonts */
    --font-family: 'Outfit', sans-serif;
    --font-size: 16px;

    /* Core palette */
    --accent: #ff9800;
    --accent-hover: #FFA700;
    --black: #0A0A0A;
    --white: #FFFFFF;
    --offwhite: hsla(0, 2%, 95%, 1);

    /* Backgrounds */
    --bg-dark: #0A0A0A;
    --bg-light-1: #F8F8F8;
    --bg-light-2: hsla(0, 2%, 95%, 1);

    /* Secondary */
    --secondary: #1a1a1a;
    --border-light: rgba(0, 0, 0, 0.1);
    --border-dark: rgba(255, 255, 255, 0.1);

    /* Radii */
    --radius: 0.625rem;
    --radius-full: 9999px;

    /* Fluid Typography (Step-based) */
    --fs-h1: clamp(3rem, 8vw, 4.5rem);
    --fs-h2: clamp(2.5rem, 5vw, 2.8rem);
    --fs-h3: clamp(1.8rem, 4vw, 2.2rem);
    --fs-h4: clamp(1.2rem, 3vw, 1.2rem);
    --fs-body: clamp(1rem, 1.25vw, 1rem);
    --fs-small: clamp(0.65rem, 1vw, 0.75rem);

}


/* ═══════════════════════════════════════
   C) BASE STYLES
   ═══════════════════════════════════════ */

html {
    font-size: var(--font-size);
    scrollbar-gutter: stable;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-dark);
    color: var(--offwhite);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}


/* ═══════════════════════════════════════
   D) TYPOGRAPHY
   ═══════════════════════════════════════ */

h1 {
    font-size: var(--fs-h1);
    font-weight: 500;
    line-height: 1.1;
    text-wrap: balance;
}

h2 {
    font-size: var(--fs-h2);
    font-weight: 500;
    line-height: 1.2;
    text-wrap: balance;
}

h3 {
    font-size: var(--fs-h3);
    font-weight: 500;
    line-height: 1.3;
    text-wrap: balance;
}

h4 {
    font-size: var(--fs-h4);
    font-weight: 300;
    line-height: 1.4;
    text-wrap: balance;
}

p {
    font-size: var(--fs-body);
    text-wrap: pretty;
    line-height: 1.6;
}

label {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
}

/* Utility: tracking */
.tracking-tight {
    letter-spacing: -0.025em;
}

.tracking-tighter {
    letter-spacing: -0.035em;
}

.tracking-wider {
    letter-spacing: 0.15em;
}

.tracking-widest {
    letter-spacing: 0.3em;
}


/* ═══════════════════════════════════════
   E) SCROLLSMOOTHER WRAPPER
   ═══════════════════════════════════════ */

#smooth-wrapper {
    overflow: hidden;
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: 100vw;
}

#smooth-content {
    overflow: visible;
    width: 100%;
    max-width: 100vw;
}


/* ═══════════════════════════════════════
   F) PRELOADER
   ═══════════════════════════════════════ */

#preloader {
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-dark);
}

.preloader-animation {
    position: relative;
    height: 100vh;
    color: var(--white);
    opacity: 0;
}

/* Animation 1 — "Web Design Profissional" */
.preloader-anim-1 {
    position: absolute;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.preloader-anim-1 .preloader-h3 {
    opacity: 0;
    margin-bottom: 0.5rem;
    font-size: var(--fs-h3);
}

.preloader-anim-1 .preloader-h3:nth-child(1) {
    font-weight: 100;
    color: rgba(255, 255, 255, 0.7);
}

.preloader-anim-1 .preloader-h3:nth-child(2) {
    font-weight: 500;
    color: var(--white);
}

.preloader-anim-1 .preloader-h3:nth-child(3) {
    font-weight: 100;
    color: rgba(255, 255, 255, 0.7);
}

/* Animation 2 — "marciadigital.pt" */
.preloader-anim-2 {
    position: absolute;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.preloader-reveal-frame {
    position: relative;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 32rem;
    margin: 0 auto;
}

.preloader-reveal-box {
    position: absolute;
    z-index: 10;
    height: 100%;
    background-color: var(--accent);
    left: 0;
    opacity: 0;
    width: 0%;
}

.preloader-text {
    opacity: 0;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 100;
    font-size: var(--fs-h3);
}

@media (min-width: 1024px) {
    .preloader-anim-1 {
        flex-direction: row;
    }

    .preloader-anim-1 .preloader-h3 {
        margin-bottom: 0;
        margin-right: 15px;
    }

    .preloader-anim-2 {
        flex-direction: row;
    }
}


/* ═══════════════════════════════════════
   G) NAVBAR
   ═══════════════════════════════════════ */

/* --- Navbar background shield (below 1470px) --- */
.navbar-bg-shield {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 98;
    pointer-events: none;
    height: 100px;
    background-color: var(--bg-dark);
    backdrop-filter: blur(12px);
    transition: all 500ms ease;
    display: none;
}

@media (max-width: 1469px) {
    .navbar-bg-shield {
        display: block;
    }
}

/* --- Layer A: mix-blend-difference for text/hamburger --- */
.navbar-blend {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 100;
    pointer-events: none;
    mix-blend-mode: difference;
    transition: all 500ms ease;
    top: 1.5rem;
}

.navbar-blend.menu-open {
    opacity: 0;
}

@media (max-width: 1469px) {
    .navbar-blend {
        top: 0;
    }
}

.navbar-inner {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    pointer-events: none;
}

@media (min-width: 768px) {
    .navbar-inner {
        padding: 0 2.5rem;
    }
}

@media (min-width: 1470px) {
    .navbar-inner {
        max-width: none;
        display: block;
        padding: 0;
    }
}

/* Logo container */
.navbar-logo-wrap {
    display: flex;
    justify-content: flex-start;
    pointer-events: auto;
}

@media (min-width: 1470px) {
    .navbar-logo-wrap {
        position: absolute;
        left: 4rem;
        top: 50%;
        transform: translateY(-50%);
    }
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.125rem;
    transition: opacity 300ms ease;
}

.navbar-logo:hover {
    opacity: 0.8;
}

.navbar-logo-md {
    letter-spacing: -0.025em;
    color: var(--white);
    font-size: 2rem;
    font-weight: 500;
}

.navbar-logo-dot-spacer {
    opacity: 0;

    font-size: 2rem;
    font-weight: 500;
}

@media (min-width: 768px) {
    .navbar-logo-md {
        font-size: 2.5rem;
    }

    .navbar-logo-dot-spacer {
        opacity: 0;
        font-size: 2.5rem;
    }
}

/* Hamburger */
.navbar-hamburger-wrap {
    display: flex;
    justify-content: flex-end;
    pointer-events: auto;
}

@media (min-width: 1470px) {
    .navbar-hamburger-wrap {
        position: absolute;
        right: 4rem;
        width: 3rem;
        top: 50%;
        transform: translateY(-50%);
        justify-content: center;
    }
}

.navbar-hamburger {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 0.5rem 0;
    cursor: pointer;
}

.navbar-hamburger span {
    display: block;
    width: 2rem;
    height: 3px;
    background-color: var(--white);
    transition: all 300ms ease;
}

.navbar-hamburger:hover span:first-child {
    width: 1.5rem;
}

/* --- Layer B: orange dot (no blend) --- */
.navbar-dot-layer {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 101;
    pointer-events: none;
    transition: all 500ms ease;
    top: 1.5rem;
}

.navbar-dot-layer.menu-open {
    opacity: 0;
}

@media (max-width: 1469px) {
    .navbar-dot-layer {
        top: 0;
    }
}

.navbar-dot-logo {
    display: flex;
    align-items: center;
    gap: 0.125rem;
    transition: opacity 300ms ease;
}

.navbar-dot-md {
    letter-spacing: -0.025em;
    visibility: hidden;
    font-size: 2rem;
    font-weight: 500;
    user-select: none;
}

.navbar-dot-orange {
    color: var(--accent);
    font-size: 2rem;
    font-weight: 500;
}

@media (min-width: 768px) {
    .navbar-dot-md {
        font-size: 2.5rem;
    }

    .navbar-dot-orange {
        font-size: 2.5rem;
    }
}

/* Hamburger ghost (invisible, keeps layout symmetry on mobile) */
.navbar-hamburger-ghost {
    display: flex;
    justify-content: flex-end;
    pointer-events: none;

}

@media (min-width: 1470px) {
    .navbar-hamburger-ghost {
        position: absolute;
        right: 4rem;
        width: 3rem;
        top: 50%;
        transform: translateY(-50%);
        justify-content: center;
    }
}

/* --- Menu Overlay (fullscreen) --- */
.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-dark);
    opacity: 0;
    pointer-events: none;
    transition: opacity 400ms ease;
}

.menu-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

/* Background image in menu */
.menu-bg-image {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: none;
}

@media (min-width: 1024px) {
    .menu-bg-image {
        display: block;
    }
}

.menu-bg-image-inner {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 45%;
}

.menu-bg-image-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.06;
}

.menu-bg-image-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #0A0A0A 0%, transparent 50%);
}

/* Menu Header (logo + close button) */
.menu-header {
    position: relative;
    z-index: 20;
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    transition: all 500ms ease;
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .menu-header {
        padding: 0 2.5rem;
    }
}

@media (max-width: 1469px) {
    .menu-header {
        margin-top: 0;
    }
}

@media (min-width: 1470px) {
    .menu-header {
        max-width: none;
        display: block;
        padding: 0;
    }
}

.menu-logo-wrap {
    display: flex;
    justify-content: flex-start;
}

@media (min-width: 1470px) {
    .menu-logo-wrap {
        position: absolute;
        left: 4rem;
        top: 50%;
        transform: translateY(-50%);
    }
}

.menu-logo {
    display: flex;
    align-items: center;
    gap: 0.125rem;
    transition: opacity 300ms ease;
}

.menu-logo:hover {
    opacity: 0.8;
}

.menu-logo-md {
    letter-spacing: -0.025em;
    color: var(--white);
    font-size: 2rem;
    font-weight: 500;
}

.menu-logo-dot {
    color: var(--accent);
    font-size: 2rem;
    font-weight: 500;
}

@media (min-width: 768px) {
    .menu-logo-md {
        font-size: 2.5rem;
    }

    .menu-logo-dot {
        font-size: 2.5rem;
    }
}

/* Close button */
.menu-close-wrap {
    display: flex;
    justify-content: flex-end;
}

@media (min-width: 1470px) {
    .menu-close-wrap {
        position: absolute;
        right: 4rem;
        width: 3rem;
        top: 50%;
        transform: translateY(-50%);
        justify-content: center;
    }
}

.menu-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    color: var(--white);
    transition: color 300ms ease;
    cursor: pointer;
}

.menu-close-btn:hover {
    color: var(--accent);
}

.menu-close-btn svg {
    width: 2.5rem;
    height: 2.5rem;
    transition: transform 300ms ease;
}

.menu-close-btn:hover svg {
    transform: scale(0.95);
}

/* Menu items */
.menu-items-wrap {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

.menu-items-container {
    max-width: 80rem;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .menu-items-container {
        padding: 0 2.5rem;
    }
}

@media (min-width: 1024px) {
    .menu-items-container {
        padding: 0 4rem;
    }
}

.menu-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Individual menu item */
.menu-item-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.375rem 0;
    cursor: pointer;
    outline: none;
    overflow: hidden;
}

.menu-item-inner {
    display: flex;
    align-items: center;
}

/* Dot bullet */
.menu-item-dot-wrap {
    position: relative;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-item-dot {
    position: absolute;
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
    transition: all 400ms cubic-bezier(0, 0, 0.3642, 1);
    opacity: 0;
    transform: scale(0);
    background-color: rgba(255, 255, 255, 0.4);
}

.menu-item-btn:hover .menu-item-dot {
    opacity: 1;
    transform: scale(1);
}

.menu-item-btn.active .menu-item-dot {
    opacity: 1;
    transform: scale(1);
    background-color: var(--accent);
}

/* Menu item label */
.menu-item-label {
    letter-spacing: -0.025em;
    font-weight: 300;
    font-size: 34px;
    color: var(--offwhite);
    transition: all 400ms cubic-bezier(0, 0, 0.3642, 1);
    transform-origin: left;
}

.menu-item-btn:hover .menu-item-label {
    color: var(--white);
    transform: translateX(1.5rem);
}

.menu-item-btn.active .menu-item-label {
    color: var(--accent);
    transform: translateX(0.25rem);
}

/* Menu item animated entrance */
.menu-item {
    opacity: 0;
    transform: translateX(-40px);
}

/* Menu footer */
.menu-footer {
    position: relative;
    z-index: 10;
    max-width: 80rem;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem 2.5rem;
}

@media (min-width: 768px) {
    .menu-footer {
        padding: 0 2.5rem 2.5rem;
    }
}

@media (min-width: 1024px) {
    .menu-footer {
        padding: 0 4rem 2.5rem;
    }
}

.menu-footer-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

@media (min-width: 768px) {
    .menu-footer-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.menu-footer-brand,
.menu-footer-email {
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 0.7rem;
}


/* ═══════════════════════════════════════
   H) FOOTER
   ═══════════════════════════════════════ */

.site-footer {
    width: 100%;
    padding: 4rem 0 2rem;
    background-color: var(--bg-dark);
}

@media (min-width: 768px) {
    .site-footer {
        padding: 5rem 0 2rem;
    }
}



.footer-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .footer-container {
        padding: 0 2.5rem;
    }
}

@media (min-width: 1024px) {
    .footer-container {
        padding: 0 4rem;
    }
}

.footer-top {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(31, 31, 31, 0.1);
}



@media (min-width: 768px) {
    .footer-top {
        flex-direction: row;
        justify-content: space-between;
        gap: 2rem;
    }
}

/* Footer brand */
.footer-brand {
    max-width: 100%;
}

.footer-brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.125rem;
    margin-bottom: 1rem;
}

.footer-brand-logo-md {
    font-size: 2rem;
    letter-spacing: -0.025em;
    font-weight: 500;
    color: var(--white);
}

.footer-brand-logo-dot {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--accent);
}



.footer-brand-text {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.625;
    font-weight: 200;
    font-size: var(--fs-body);
}



/* Footer columns */
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col-title {
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.7rem;
}



/* Navigation column — hidden on mobile */
.footer-nav-col {
    display: none;
}

@media (min-width: 1024px) {
    .footer-nav-col {
        display: flex;
    }
}

.footer-link {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 200;
    font-size: var(--fs-body);
    transition: color 300ms ease;
}

.footer-link:hover {
    color: var(--white);
}



/* Social links */
.footer-social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 200;
    font-size: var(--fs-body);
    transition: color 300ms ease;
}

.footer-social-link:hover {
    color: var(--white);
}


.footer-social-link svg {
    width: 0.75rem;
    height: 0.75rem;
    opacity: 0;
    transition: opacity 300ms ease;
}

.footer-social-link:hover svg {
    opacity: 1;
}

/* Footer contact */
.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: var(--fs-body);
}

.footer-email-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 200;
    transition: color 300ms ease;
    text-align: left;
    width: fit-content;
}

.footer-email-btn:hover {
    color: var(--white);
}


.footer-email-btn .copy-icon {
    width: 0.75rem;
    height: 0.75rem;
    opacity: 0;
    transition: opacity 300ms ease;
}

.footer-email-btn:hover .copy-icon {
    opacity: 0.6;
}

.footer-email-btn .check-icon {
    width: 0.875rem;
    height: 0.875rem;
    color: var(--accent);
}

.footer-schedule {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.625;
    font-weight: 200;
}



.footer-global-note {
    display: block;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 200;
}



/* Footer bottom */
.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 0rem;
    padding-top: 1rem;
    padding-bottom: 0rem;
    line-height: 2;
    text-align: left;
    align-items: left;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.02em;
    font-weight: 200;
    font-size: 0.8rem;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    order: -1;
}

@media (min-width: 768px) {
    .footer-legal-links {
        order: 1;
    }
}

.footer-legal-link {
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.02em;
    font-weight: 200;
    font-size: 0.8rem;
    transition: color 300ms ease;
}

.footer-legal-link:hover {
    color: rgba(255, 255, 255, 0.6);
}


.footer-legal-sep {
    color: rgba(255, 255, 255, 0.4);
    opacity: 0.8;
    user-select: none;
}




/* ═══════════════════════════════════════
   I) GLOBAL SIDEBARS
   ═══════════════════════════════════════ */

.global-sidebars {
    display: none;
}

@media (min-width: 1470px) {
    .global-sidebars {
        display: block;
    }
}

/* Left sidebar — page name */
.sidebar-left {
    position: fixed;
    left: 4rem;
    bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 90;
    pointer-events: none;
    mix-blend-mode: difference;
}

.sidebar-page-name {
    letter-spacing: 0.3em;
    font-weight: 500;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

/* Right sidebar — back to top */
.sidebar-right {
    position: fixed;
    right: 4rem;
    bottom: 4rem;
    width: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 90;
    transition: opacity 500ms ease;
    mix-blend-mode: difference;
    opacity: 0;
    pointer-events: none;
}

.sidebar-right.visible {
    opacity: 1;
    pointer-events: auto;
}

.sidebar-top-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    cursor: pointer;
}

.sidebar-top-circle {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.15);
    transition: transform 300ms ease;
}

.sidebar-top-btn:hover .sidebar-top-circle {
    transform: scale(1.1);
}

.sidebar-top-circle svg {
    width: 1rem;
    height: 1rem;
    color: var(--white);
}

.sidebar-top-text {
    letter-spacing: 0.3em;
    font-weight: 500;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    transition: color 300ms ease;
}

.sidebar-top-btn:hover .sidebar-top-text {
    color: var(--white);
}


/* ═══════════════════════════════════════
   J) PAGE TRANSITION CURTAIN
   ═══════════════════════════════════════ */

.page-transition {
    position: fixed;
    inset: 0;
    z-index: 200;
    pointer-events: none;
    display: none;
    transform: translateX(-100%);
}

.page-transition-bg {
    position: absolute;
    inset: 0;
    background-color: #111111;
}

.page-transition-line {
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    background-color: var(--accent);
}


/* ═══════════════════════════════════════
   K) UTILITIES
   ═══════════════════════════════════════ */

/* Containers */
.container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 4rem;
    }
}

.container-narrow {
    max-width: 56rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .container-narrow {
        padding: 0 2.5rem;
    }
}

/* Visibility */
.hidden {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Section spacing */
.section-padding {
    padding: 5rem 0;
}

@media (min-width: 768px) {
    .section-padding {
        padding: 7rem 0;
    }
}

/* Accent label (uppercase orange label above titles) */
.accent-label {
    letter-spacing: 0.4em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
    color: var(--accent);
    font-weight: 300;
    font-size: var(--fs-small);
}

.accent-label-light {
    letter-spacing: 0.4em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--accent);
    font-weight: 300;
    font-size: var(--fs-small);
}

/* Section title h1*/
.section-title {
    letter-spacing: -0.035em;
    font-size: var(--fs-h1) !important;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

/* Section title h2*/
.section-title-h2 {
    letter-spacing: -0.035em;
    font-size: var(--fs-h2) !important;
    line-height: 1.2;
    text-wrap: balance;
}


.section-title-light {
    font-weight: 200;
}

.section-title-bold {
    font-weight: 500;
}

.dot-accent {
    color: var(--accent);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.5rem 0.5rem 1.75rem;
    border-radius: var(--radius-full);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 0.75rem;
    color: var(--black);
    background-color: var(--accent);
    transition: all 300ms ease;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: scale(1.05);
}

.btn-primary .btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background-color: var(--bg-dark);
    transition: transform 300ms ease;
}

.btn-primary:hover .btn-icon {
    transform: scale(1.1);
}

.btn-primary .btn-icon svg {
    width: 1rem;
    height: 1rem;
    color: var(--accent);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.5rem 0.5rem 1.75rem;
    border-radius: var(--radius-full);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 300;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 300ms ease;
    cursor: pointer;
}

.btn-secondary:hover {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.btn-secondary .btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background-color: var(--secondary);
    transition: transform 300ms ease;
}

.btn-secondary:hover .btn-icon {
    transform: scale(1.1);
}

.btn-secondary .btn-icon svg {
    width: 0.875rem;
    height: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 300ms ease;
}

.btn-secondary:hover .btn-icon svg {
    color: var(--white);
}

.btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.5rem 0.5rem 1.75rem;
    border-radius: var(--radius-full);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 0.75rem;
    color: var(--white);
    background-color: var(--bg-dark);
    transition: all 300ms ease;
    cursor: pointer;
}

.btn-dark:hover {
    transform: scale(1.05);
}

.btn-dark .btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background-color: var(--accent);
    transition: all 300ms ease;
}

.btn-dark:hover .btn-icon {
    transform: scale(1.1);
}

.btn-dark .btn-icon svg {
    width: 1rem;
    height: 1rem;
    color: var(--bg-dark);
}

/* anim-in: elements animated by GSAP scroll */
/* .anim-in { initial state set by JS: opacity: 0; transform: translateY(30px); } */


/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem 1.5rem;
    transform: translateY(100%);
    transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.visible {
    transform: translateY(0);
}

@media (min-width: 768px) {
    .cookie-banner {
        padding: 1.25rem 2.5rem;
    }
}

.cookie-banner-inner {
    max-width: 80rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .cookie-banner-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.cookie-banner-text {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    font-size: 0.85rem;
    line-height: 1.5;
}

.cookie-banner-text a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-btn-accept {
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    background-color: var(--accent);
    color: var(--black);
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: background-color 300ms ease;
    cursor: pointer;
}

.cookie-btn-accept:hover {
    background-color: var(--accent-hover);
}

.cookie-btn-reject {
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 300ms ease;
    cursor: pointer;
}

.cookie-btn-reject:hover {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}


/* Prepara a p�gina para entrar apenas quando for chamada */
main {
    opacity: 0;

}


/*PERSONALIZAR BARRA DE SCROLL, REMOVER SCROLL LATERAL E PERSONALIZAR SELEÇÃO*/

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    -webkit-border-radius: 12px;
    border-radius: 12px;
    background: linear-gradient(180deg, #ff9800, #342612);
    border: 2px solid black;
}

::-webkit-scrollbar-thumb:hover {
    -webkit-border-radius: 12px;
    border-radius: 12px;
    background: linear-gradient(0deg, #ff9800, #342612);
    border: 2px solid black;
}

::selection {
    color: #ffffff;
    background: #d69f4b;
}




/* ═══════════════════════════════════════
   FORMULÁRIO DE CONTACTO (WEB3FORMS)
   Componente global: cartão, timeline de etapas, campos,
   botões de navegação e popup de confirmação.
   ═══════════════════════════════════════ */

.contact-form {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    background-color: var(--bg-light-2);
}

@media (min-width: 768px) {
    .contact-form {
        padding: 2rem;
    }
}

@media (min-width: 1280px) {
    .contact-form {
        padding: 2rem;
    }
}

/* ─── Cabeçalho ─── */

.cf-eyebrow {
    margin-bottom: 0.75rem;
    color: var(--accent);
    font-weight: 500;
    font-size: 0.6rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
}

.cf-title {
    margin-bottom: 0.4375rem;
    color: var(--black);
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.cf-title-light {
    font-weight: 200;
}

.cf-title-strong {
    font-weight: 500;
}

.cf-subtitle {
    color: rgba(10, 10, 10, 0.5);
    font-weight: 300;
    font-size: 0.8rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

/* ─── Timeline das etapas ─── */

.cf-steps {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.125rem;
}

.cf-steps::before,
.cf-steps::after {
    content: "";
    position: absolute;
    top: calc(0.8125rem - 1px);
    left: 0.8125rem;
    height: 2px;
}

.cf-steps::before {
    right: 0.8125rem;
    background-color: rgba(10, 10, 10, 0.1);
}

.cf-steps::after {
    width: calc((100% - 1.625rem) * var(--cf-progress, 0));
    background-color: var(--accent);
    transition: width 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.cf-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4375rem;
}

.cf-step-dot {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.625rem;
    height: 1.625rem;
    background-color: var(--white);
    border: 1px solid rgba(10, 10, 10, 0.15);
    border-radius: 50%;
    color: rgba(10, 10, 10, 0.35);
    font-weight: 500;
    font-size: 0.7rem;
    line-height: 1;
    transition: background-color 300ms ease, border-color 300ms ease, color 300ms ease,
        transform 300ms ease;
}

.cf-step.is-done .cf-step-dot {
    border-color: var(--accent);
    color: var(--accent);
    cursor: pointer;
}

.cf-step.is-active .cf-step-dot {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--black);
    transform: scale(1.08);
}

.cf-step-label {
    color: rgba(10, 10, 10, 0.35);
    font-weight: 300;
    font-size: 0.55rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color 300ms ease;
}

.cf-step.is-active .cf-step-label {
    color: var(--black);
    font-weight: 500;
}

.cf-step.is-done .cf-step-label {
    color: rgba(10, 10, 10, 0.55);
}

/* Texto de apoio da etapa (só em ecrãs pequenos, onde as legendas não cabem) */
.cf-step-status {
    display: none;
    margin: -0.5rem 0 1.25rem;
    color: rgba(10, 10, 10, 0.5);
    font-weight: 300;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
}

@media (max-width: 479px) {
    .cf-step-label {
        display: none;
    }

    .cf-step-status {
        display: block;
        margin-top: 0.5rem;
    }
}

/* ─── Painéis (etapas) ─── */

.cf-panel {
    display: none;
}

.cf-panel.is-active {
    display: flex;
    flex-direction: column;
    gap: 0.9375rem;
    animation: cf-panel-in 350ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes cf-panel-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── Campos ─── */

.cf-field {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.cf-label {
    display: block;
    margin-bottom: 0.4375rem;
    color: rgba(10, 10, 10, 0.7);
    font-weight: 400;
    font-size: 0.75rem;
    line-height: 1.5;
}

.cf-req {
    color: var(--accent);
    font-weight: 500;
}

.cf-optional {
    margin-left: 0.375rem;
    color: rgba(10, 10, 10, 0.35);
    font-weight: 300;
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.cf-input,
.cf-select,
.cf-textarea {
    width: 100%;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 300;
    line-height: 1.5;
    color: var(--black);
    background-color: var(--white);
    border: 1px solid rgba(10, 10, 10, 0.1);
    border-radius: 2px;
    padding: 0.6875rem 0.875rem;
    transition: border-color 300ms ease, box-shadow 300ms ease, background-color 300ms ease;
    -webkit-appearance: none;
    appearance: none;
}

.cf-input::placeholder,
.cf-textarea::placeholder {
    color: rgba(10, 10, 10, 0.3);
    font-weight: 300;
}

.cf-input:hover,
.cf-select:hover,
.cf-textarea:hover {
    border-color: rgba(10, 10, 10, 0.2);
}

.cf-input:focus,
.cf-select:focus,
.cf-textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.12);
}

.cf-textarea {
    min-height: 6.5rem;
    line-height: 1.625;
    resize: vertical;
}

/* Select */
.cf-select-wrap {
    position: relative;
}

.cf-select {
    padding-right: 2.5rem;
    cursor: pointer;
    text-overflow: ellipsis;
}

.cf-select.is-placeholder {
    color: rgba(10, 10, 10, 0.35);
}

.cf-select option {
    color: var(--black);
    background-color: var(--white);
}

.cf-select-icon {
    position: absolute;
    top: 50%;
    right: 0.875rem;
    display: flex;
    color: rgba(10, 10, 10, 0.4);
    transform: translateY(-50%);
    pointer-events: none;
    transition: color 300ms ease;
}

.cf-select-wrap:hover .cf-select-icon {
    color: rgba(10, 10, 10, 0.7);
}

.cf-hint {
    margin-top: 0.4375rem;
    color: rgba(10, 10, 10, 0.4);
    font-weight: 300;
    font-size: 0.7rem;
    line-height: 1.6;
}

/* ─── Privacidade ─── */

.cf-privacy {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
}

.cf-privacy-body {
    min-width: 0;
}

.cf-check-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.cf-check-label {
    display: inline-flex;
    cursor: pointer;
}

.cf-check-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    margin-top: 0.0625rem;
    background-color: var(--white);
    border: 1px solid rgba(10, 10, 10, 0.25);
    transition: background-color 300ms ease, border-color 300ms ease;
}

.cf-check-box svg {
    width: 0.625rem;
    height: 0.625rem;
    color: var(--black);
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 200ms ease, transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.cf-check-input:checked~.cf-check-label .cf-check-box {
    background-color: var(--accent);
    border-color: var(--accent);
}

.cf-check-input:checked~.cf-check-label .cf-check-box svg {
    opacity: 1;
    transform: scale(1);
}

.cf-check-input:focus-visible~.cf-check-label .cf-check-box {
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.2);
}

.cf-check-text {
    margin: 0;
    color: rgba(10, 10, 10, 0.5);
    font-weight: 300;
    font-size: 0.7rem;
    line-height: 1.6;
}

.cf-check-text a {
    color: rgba(10, 10, 10, 0.75);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 300ms ease;
}

.cf-check-text a:hover {
    color: var(--accent);
}

.cf-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ─── Navegação entre etapas ─── */

.cf-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
}

@media (min-width: 1280px) {
    .cf-nav {
        margin-top: auto;
        padding-top: 1.75rem;
    }
}

.cf-btn-back {
    padding: 0.5rem 0;
    color: rgba(10, 10, 10, 0.45);
    font-weight: 400;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 300ms ease, opacity 300ms ease;
    cursor: pointer;
}

.cf-btn-back:hover {
    color: var(--black);
}

.cf-btn-back[hidden] {
    display: none;
}

/* Botão principal (Continuar / Enviar) — mesma linguagem dos CTAs do site */
.cf-btn-next,
.cf-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    margin-left: auto;
    padding: 0.4rem 0.4rem 0.4rem 1.5rem;
    border-radius: var(--radius-full);
    background-color: var(--accent);
    color: var(--black);
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 300ms ease, transform 300ms ease, opacity 300ms ease;
}

.cf-submit[hidden],
.cf-btn-next[hidden] {
    display: none;
}

.cf-btn-next:hover,
.cf-submit:hover {
    background-color: var(--accent-hover);
    transform: scale(1.04);
}

.cf-btn-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background-color: var(--black);
    border-radius: 50%;
    transition: transform 300ms ease;
}

.cf-btn-next:hover .cf-btn-circle,
.cf-submit:hover .cf-btn-circle {
    transform: scale(1.1);
}

.cf-btn-circle svg {
    width: 0.875rem;
    height: 0.875rem;
    color: var(--accent);
    transition: transform 300ms ease;
}

.cf-btn-next:hover .cf-btn-circle svg,
.cf-submit:hover .cf-btn-circle svg {
    transform: translateX(2px);
}

.cf-spinner {
    display: none;
    width: 0.875rem;
    height: 0.875rem;
    border: 2px solid rgba(255, 152, 0, 0.3);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: cf-spin 0.7s linear infinite;
}

@keyframes cf-spin {
    to {
        transform: rotate(360deg);
    }
}

.contact-form.is-loading .cf-submit {
    opacity: 0.85;
    pointer-events: none;
}

.contact-form.is-loading .cf-submit-arrow {
    display: none;
}

.contact-form.is-loading .cf-spinner {
    display: block;
}

/* ─── Erros ─── */

.cf-error {
    display: none;
    margin-top: 0.3125rem;
    color: #C0392B;
    font-weight: 300;
    font-size: 0.68rem;
    line-height: 1.5;
}

.cf-field.has-error .cf-error,
.cf-privacy.has-error .cf-error {
    display: block;
}

.cf-field.has-error .cf-input,
.cf-field.has-error .cf-select,
.cf-field.has-error .cf-textarea,
.cf-privacy.has-error .cf-check-box {
    border-color: #D9483B;
}

.cf-field.has-error .cf-input,
.cf-field.has-error .cf-textarea {
    background-color: rgba(217, 72, 59, 0.03);
}

.cf-field.has-error .cf-label {
    color: #B23A2E;
}

/* ─── Mensagens de erro de envio ─── */

.cf-status {
    display: none;
}

.cf-status.is-visible {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding: 1rem 1.125rem;
    background-color: rgba(217, 72, 59, 0.05);
    border: 1px solid rgba(217, 72, 59, 0.25);
    color: rgba(10, 10, 10, 0.65);
    font-weight: 300;
    font-size: 0.75rem;
    line-height: 1.6;
}

.cf-status svg {
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    margin-top: 0.125rem;
    color: #D9483B;
}

.cf-status-title {
    margin-bottom: 0.1875rem;
    color: var(--black);
    font-weight: 500;
    font-size: 0.85rem;
    line-height: 1.4;
}

.cf-status-text {
    margin: 0;
}

.cf-status a {
    color: rgba(10, 10, 10, 0.85);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cf-status a:hover {
    color: var(--accent);
}

/* Honeypot anti-spam */
.cf-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* Evita o zoom automático do iOS nos campos */
@media (max-width: 1023px) {

    .cf-input,
    .cf-select,
    .cf-textarea {
        font-size: 16px;
    }
}

/* ═══════════════════════════════════════
   POPUP DE CONFIRMAÇÃO
   ═══════════════════════════════════════ */

.cf-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.cf-modal[hidden] {
    display: none;
}

.cf-modal-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(10, 10, 10, 0.72);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    animation: cf-fade-in 300ms ease both;
}

.cf-modal-card {
    position: relative;
    width: 100%;
    max-width: 24rem;
    padding: 2.5rem 2rem 2rem;
    background-color: var(--white);
    text-align: center;
    animation: cf-modal-in 420ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes cf-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes cf-modal-in {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.cf-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    color: rgba(10, 10, 10, 0.35);
    transition: color 300ms ease, transform 300ms ease;
    cursor: pointer;
}

.cf-modal-close:hover {
    color: var(--black);
    transform: rotate(90deg);
}

.cf-modal-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 1.25rem;
    border-radius: 50%;
    background-color: rgba(255, 152, 0, 0.12);
    color: var(--accent);
    animation: cf-pop 520ms cubic-bezier(0.2, 0.8, 0.2, 1) 120ms both;
}

.cf-modal-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

@keyframes cf-pop {
    from {
        transform: scale(0.6);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.cf-modal-eyebrow {
    margin-bottom: 0.625rem;
    color: var(--accent);
    font-weight: 500;
    font-size: 0.6rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
}

.cf-modal-title {
    color: var(--black);
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

.cf-modal-text {
    color: rgba(10, 10, 10, 0.55);
    font-weight: 300;
    font-size: 0.85rem;
    line-height: 1.65;
}

.cf-modal-text strong {
    color: var(--black);
    font-weight: 500;
}

.cf-modal-note {
    margin-top: 0.75rem;
    color: rgba(10, 10, 10, 0.4);
    font-weight: 300;
    font-size: 0.75rem;
    line-height: 1.6;
}

.cf-modal-note a {
    color: rgba(10, 10, 10, 0.7);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cf-modal-note a:hover {
    color: var(--accent);
}

.cf-modal-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.875rem;
    margin-top: 1.75rem;
}

.cf-modal-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.4rem 0.4rem 0.4rem 1.5rem;
    border-radius: var(--radius-full);
    background-color: var(--accent);
    color: var(--black);
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: background-color 300ms ease, transform 300ms ease;
    cursor: pointer;
}

.cf-modal-primary::after {
    content: "";
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: var(--black);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff9800' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 0.875rem;
    transition: transform 300ms ease;
}

.cf-modal-primary:hover {
    background-color: var(--accent-hover);
    transform: scale(1.04);
}

.cf-modal-primary:hover::after {
    transform: scale(1.1);
}

.cf-modal-secondary {
    color: rgba(10, 10, 10, 0.4);
    font-weight: 300;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 300ms ease;
    cursor: pointer;
}

.cf-modal-secondary:hover {
    color: var(--black);
}

/* Bloqueia o scroll do fundo enquanto o popup está aberto */
body.cf-modal-open {
    overflow: hidden;
}