/* Design Tokens & Reset */
:root {
    --color-primary: #2b2567;      /* Dark Blue */
    --color-accent: #f15a19;       /* Orange */
    --color-whatsapp: #25D366;     /* WhatsApp Green */
    --color-bg-dark: #070512;      /* Noir Midnight */
    --color-bg-input: rgba(255, 255, 255, 0.02); /* Glass input background */
    --color-text-white: #ffffff;
    --color-text-gray: #a3a1b8;
    --color-text-dim: #5c5975;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-body);
}

body {
    background-color: var(--color-bg-dark);
    color: var(--color-text-white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, .btn-premium {
    font-family: var(--font-heading);
}

h2 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
    color: var(--color-text-white);
}

/* Page Load Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* HERO SECTION */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 4rem 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: transparent; /* Permite ver o canvas global fixed */
}

/* Beams Canvas Background (Fixed no fundo absoluto da página) */
.liquid-canvas {
    position: fixed; /* Fixado no fundo */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1; /* ATRÁS DE ABSOLUTAMENTE TUDO */
    filter: blur(40px);
    pointer-events: none;
}

/* Clean, Minimalist Premium Hero Container */
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 310px; /* Alinhamento perfeito em mobile/web */
    width: 100%;
    text-align: center;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.logo-wrapper {
    margin-bottom: 2rem;
    display: inline-block;
}

.logo {
    max-width: 130px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.15));
}

.subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--color-text-gray);
    line-height: 1.6;
    margin-bottom: 3.5rem;
    letter-spacing: 0.5px;
}

/* Compact Premium Capsule Menu */
.links-container {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    width: 100%;
}

.btn-premium {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px; /* Pílula clássica */
    color: var(--color-text-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-icon {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    fill: currentColor;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-accent);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-premium:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-premium:hover {
    border-color: var(--color-accent);
    box-shadow: 0 6px 20px rgba(241, 90, 25, 0.25);
    color: #ffffff;
}

.btn-premium:hover .btn-icon {
    transform: scale(1.15);
}

/* WhatsApp Green Capsule */
.btn-whatsapp {
    background: var(--color-whatsapp);
    border-color: var(--color-whatsapp);
    color: #ffffff;
    font-weight: 600;
}

.btn-whatsapp::before {
    background: #1ebea5;
}

.btn-whatsapp:hover {
    border-color: #1ebea5;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

/* SPLIT 50/50 SECTION GENERAL */
.split-section {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 100vh;
    width: 100%;
    background-color: transparent;
}

@media (min-width: 1024px) {
    .split-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

.split-column {
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* SPECIALIST SECTION */
.form-side {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6rem 2.5rem;
}

.column-content {
    max-width: 480px;
    width: 100%;
    position: relative;
    z-index: 3;
}

.section-tag {
    display: inline-block;
    color: var(--color-accent);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--color-text-gray);
    margin-bottom: 3.5rem;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Form Glassmorphism Styles */
form {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.input-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.input-group input[type="text"],
.input-group input[type="email"],
.input-group input[type="tel"],
.input-group input[type="number"] {
    width: 100%;
    padding: 1.15rem 1.5rem;
    background: var(--color-bg-input);
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    color: var(--color-text-white);
    font-size: 1rem;
    outline: none;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.input-group input:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 15px rgba(241, 90, 25, 0.25);
    background: rgba(255, 255, 255, 0.05);
}

.phone-input {
    display: flex;
    align-items: center;
    background: var(--color-bg-input);
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.phone-input:focus-within {
    border-color: var(--color-accent);
    box-shadow: 0 0 15px rgba(241, 90, 25, 0.25);
    background: rgba(255, 255, 255, 0.04);
}

.phone-input .flag {
    padding: 1.15rem;
    border-right: 1.5px solid rgba(255, 255, 255, 0.22);
    font-size: 1.1rem;
    background-color: rgba(255, 255, 255, 0.01);
}

.phone-input input {
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Radio Group Glassmorphism styling */
.radio-options-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.radio-option {
    display: flex;
    align-items: center;
    position: relative;
    padding: 1.1rem;
    background: rgba(255, 255, 255, 0.01);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    cursor: pointer;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.2s ease;
}

.radio-option:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.25);
}

.radio-option input[type="radio"] {
    appearance: none;
    background-color: transparent;
    margin: 0 1.2rem 0 0;
    font: inherit;
    color: var(--color-accent);
    width: 1.25em;
    height: 1.25em;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: grid;
    place-content: center;
    cursor: pointer;
}

.radio-option input[type="radio"]::before {
    content: "";
    width: 0.6em;
    height: 0.6em;
    border-radius: 50%;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em var(--color-accent);
}

.radio-option input[type="radio"]:checked {
    border-color: var(--color-accent);
}

.radio-option input[type="radio"]:checked::before {
    transform: scale(1);
}

.radio-option label {
    flex: 1;
    font-size: 0.95rem;
    color: var(--color-text-white);
    cursor: pointer;
    margin-bottom: 0;
}

/* Form Submit Button */
.btn-submit {
    background-color: var(--color-accent);
    color: var(--color-text-white);
    border: none;
    padding: 1.2rem;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(241, 90, 25, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1rem;
    z-index: 3;
}

.btn-submit:hover {
    background-color: #e04e0e;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(241, 90, 25, 0.35);
}

/* Success/Error Feedback */
.form-message {
    padding: 1.2rem;
    border-radius: 8px;
    font-weight: 500;
    line-height: 1.4;
    font-size: 0.95rem;
    display: none;
    margin-top: 1rem;
    border-left: 4px solid transparent;
    z-index: 3;
}

.form-message.success {
    background-color: rgba(46, 204, 113, 0.08);
    border-color: #2ecc71;
    color: #2ecc71;
}

.form-message.error {
    background-color: rgba(231, 76, 60, 0.08);
    border-color: #e74c3c;
    color: #e74c3c;
}

/* SPECIALIST 1:1 SQUARE IMAGE — contained & integrated (not loose) */
.image-side {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2.5rem;
    position: relative;
    background-color: transparent;
    z-index: 5;
}

.specialist-image-full {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1 / 1; /* Quadrado mantido conforme solicitado */
    object-fit: cover;  /* Recorte controlado, sem distorcer */
    object-position: center;
    display: block;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

/* FOOTER SECTION & MAP (Custom 60/40 Split: More space for map) */
.footer-section {
    position: relative;
    background-color: transparent;
}

@media (min-width: 1024px) {
    .footer-section {
        grid-template-columns: 1.5fr 1fr;
    }
}

/* O MAPA DEVE FICAR TOTALMENTE OPACO POR CIMA DOS BEAMS */
.map-side {
    position: relative;
    min-height: 450px;
    z-index: 5; /* Fica acima do Beams */
    background-color: var(--color-bg-dark); /* Fundo sólido para bloquear o beams */
}

.map-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
    background-color: var(--color-bg-dark);
}

.info-side {
    background-color: transparent; /* Permite ver o canvas global fixed */
}

.info-wrapper-clean {
    padding: 5rem 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 3;
}

.info-content-box {
    width: 100%;
}

.footer-tag {
    display: inline-block;
    color: var(--color-accent);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.info-content-box h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

/* Vertical Stack Layout for Contact info + Large uncropped facade card */
.info-vertical-stack {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.address {
    font-size: 1.05rem;
    color: var(--color-text-gray);
    line-height: 1.7;
    margin-bottom: 1.8rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.contact-details p {
    font-size: 1rem;
    color: var(--color-text-gray);
}

.contact-details strong {
    color: var(--color-text-white);
}

.contact-details a {
    color: var(--color-text-white);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.contact-details a:hover {
    color: var(--color-accent);
}

.contact-details .creci {
    font-size: 0.85rem;
    color: var(--color-text-dim);
    margin-top: 0.5rem;
}

/* Large fully visible Facade Image Layout (Transparent & borderless container, no black bars) */
.facade-card-large {
    width: 100%;
    height: auto;
    margin-top: 2.2rem;
    background: transparent !important; /* Sem fundo escuro */
    border: none !important;             /* Sem bordas de card */
    box-shadow: none !important;         /* Sem sombra de card */
    padding: 0 !important;               /* Sem padding lateral */
}

.facade-image-large {
    width: 100%;
    height: auto; /* Proporção correta */
    display: block;
    border-radius: 12px;                      /* Cantos arredondados na imagem */
    box-shadow: 0 15px 45px rgba(0,0,0,0.55);   /* Sombra aplicada direto na imagem */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Borda na imagem */
}

/* Social media & copyright */
.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.8rem;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-3px);
}

.social-icons .icon {
    width: 18px;
    height: 18px;
    fill: var(--color-text-white);
}

.copyright-text {
    font-size: 0.8rem;
    color: var(--color-text-dim);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero {
        padding: 4rem 1rem;
    }
    
    .logo {
        max-width: 120px;
    }
    
    .btn-premium {
        padding: 0.9rem 1.5rem;
        font-size: 0.85rem;
    }
    
    .form-side, .info-wrapper-clean {
        padding: 4rem 1.5rem;
    }
    
    .image-side {
        min-height: auto;
        max-width: 100%;
        -webkit-mask-image: none;
        mask-image: none;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .info-content-box h3 {
        font-size: 1.8rem;
    }
}
