/* Typography & Root Variables */
:root {
    --color-bg-dark: #111111;
    --color-bg-light: #F7F7F7;
    --color-gold: #DAA520;
    --color-gold-hover: #C5931C;
    /* Darker golden for hover */
    --color-white: #FFFFFF;
    --color-gray: #CCCCCC;
    --color-text-dark: #333333;

    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    line-height: 1.6;
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.bg-light {
    background-color: var(--color-bg-light);
}

.gold-divider {
    height: 3px;
    width: 60px;
    background-color: var(--color-gold);
    margin: 20px auto 30px;
}

.gold-divider.left {
    margin: 20px 0 30px;
}

.gold-text {
    color: var(--color-gold);
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
}

h2 {
    font-size: 2.5rem;
    color: var(--color-bg-dark);
}

/* Navbar */
.navbar {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: transparent;
}

@media (min-width: 1024px) {
    .navbar {
        position: fixed;
        top: 25px;
        left: 50%;
        transform: translateX(-50%);
        width: 95%;
        max-width: 1200px;
        background-color: rgba(17, 17, 17, 0.85);
        backdrop-filter: blur(12px);
        padding: 10px 25px;
        border-radius: 100px;
        border: 1px solid rgba(218, 165, 32, 0.3);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
        transition: all 0.3s ease;
    }

    .navbar:hover {
        background-color: rgba(17, 17, 17, 0.95);
        border-color: var(--color-gold);
    }
}

.nav-content {
    display: flex;
    justify-content: center; /* Centered on mobile */
    align-items: center;
}

@media (min-width: 1024px) {
    .nav-content {
        justify-content: space-between; /* Between on desktop */
    }
}

.nav-links {
    display: none; /* Hidden on mobile */
    list-style: none;
    gap: 20px;
}

@media (min-width: 1024px) {
    .nav-links {
        display: flex; /* Visible on desktop */
    }
}

.navbar .botao {
    display: none; /* Hidden on mobile */
}

@media (min-width: 1024px) {
    .navbar .botao {
        display: block; /* Visible on desktop */
    }
}

.nav-links li a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    padding: 5px 0;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links li a:hover {
    color: var(--color-gold);
}

.nav-links li a:hover::after {
    width: 100%;
}

@media (max-width: 1100px) {
    .nav-links {
        gap: 12px;
    }

    .nav-links li a {
        font-size: 0.75rem;
    }
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo img {
    max-height: 85px; /* Mobile size */
    width: auto;
    transition: max-height 0.3s ease;
}

@media (min-width: 1024px) {
    .logo img {
        max-height: 55px; /* Smaller for desktop pill header */
    }
}

.logo-name {
    color: var(--color-gold);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-desc {
    color: var(--color-white);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    font-family: var(--font-body);
}

.btn i {
    font-size: 1.3rem;
}

.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-bg-dark);
    border: 2px solid var(--color-gold);
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.2);
}

.btn-primary:hover {
    background-color: var(--color-gold-hover);
    border-color: var(--color-gold-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(218, 165, 32, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-bg-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
}

.btn-outline:hover {
    background-color: var(--color-gold);
    color: var(--color-bg-dark);
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    margin-top: auto;
}

.btn-text:hover {
    gap: 12px;
    color: var(--color-gold-hover);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background-image: url('assets/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.95) 0%, rgba(17, 17, 17, 0.65) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--color-white);
    max-width: 1050px;
    padding-top: 80px;
    text-align: center;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(218, 165, 32, 0.1);
    border: 1px solid rgba(218, 165, 32, 0.5);
    color: var(--color-gold);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 50px;
    margin-bottom: 25px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    color: var(--color-white);
}

.hero p {
    font-size: 1.3rem;
    color: var(--color-white);
    margin-bottom: 45px;
    font-weight: 400;
    max-width: 700px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Services */
.services {
    background-color: var(--color-bg-light);
}

.services .section-heading p {
    color: #666;
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

.services .container {
    max-width: 1400px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background: var(--color-bg-dark);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border-bottom: 3px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Distribute 2 on top, 3 on bottom aligned to the edges */
.service-card:nth-child(1),
.service-card:nth-child(2) {
    grid-column: span 3;
}

.service-card:nth-child(n+3) {
    grid-column: span 2;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    border-bottom: 3px solid var(--color-gold);
}

.service-icon {
    font-size: 3rem;
    color: var(--color-gold);
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--color-white);
}

.service-card p {
    color: var(--color-white);
    margin-bottom: 30px;
    font-size: 1rem;
    flex-grow: 1;
}

/* About Section */
.about {
    background-color: var(--color-bg-dark);
    color: var(--color-white);
}

.about h2 {
    color: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-content p {
    color: var(--color-white);
    margin-bottom: 25px;
    font-size: 1.15rem;
    font-weight: 300;
}

.about-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 450px;
    border-radius: 8px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%; /* Balanced position to keep faces visible and centered */
    opacity: 0;
    transition: opacity 0.6s ease;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 5;
    transition: background 0.3s ease, color 0.3s ease;
}

.carousel-btn:hover {
    background: var(--color-gold);
    color: var(--color-bg-dark);
}

.prev-btn {
    left: 15px;
}

.next-btn {
    right: 15px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.dot.active {
    background: var(--color-gold);
    transform: scale(1.2);
}

/* Differentiators */
.differentiators .section-heading h2 {
    color: var(--color-bg-dark);
}

.differentiators .diff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.diff-item {
    text-align: center;
    padding: 45px 30px;
    background: var(--color-white);
    border: 1px solid rgba(218, 165, 32, 0.3);
    border-radius: 8px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
}

.diff-item:hover {
    transform: translateY(-8px);
    border-color: var(--color-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.diff-icon {
    font-size: 2.8rem;
    color: var(--color-gold);
    margin-bottom: 20px;
}

.diff-item h4 {
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--color-bg-dark);
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.diff-item p {
    font-size: 0.95rem;
    font-weight: 400;
    color: #666666;
    line-height: 1.6;
}

/* Urgency CTA */
.urgency-cta {
    background-color: var(--color-bg-dark);
    background-image: linear-gradient(rgba(10, 10, 10, 0.75), rgba(10, 10, 10, 0.85)), url('https://familia.nascimentoalmeida.adv.br/wp-content/uploads/2026/05/Design-sem-nome.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0;
    color: var(--color-white);
    border-top: 1px solid rgba(218, 165, 32, 0.2);
    border-bottom: 1px solid rgba(218, 165, 32, 0.2);
    position: relative;
    overflow: hidden;
}

.urgency-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(218, 165, 32, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.urgency-cta h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--color-white);
    position: relative;
    z-index: 2;
}

.urgency-cta p {
    font-size: 1.3rem;
    color: var(--color-white);
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.pulse {
    animation: pulse 2s infinite;
    position: relative;
    z-index: 2;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(218, 165, 32, 0.5);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(218, 165, 32, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(218, 165, 32, 0);
    }
}

/* Contact Grid Map Section */
.contact-grid-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact-map {
    width: 100%;
    min-height: 450px;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    background-color: var(--color-bg-dark);
}

.contact-info-block {
    display: flex;
    flex-direction: column;
}

.info-card {
    background-color: #1a1a1a;
    border-radius: 8px;
    padding: 10px 25px;
    margin-bottom: 30px;
    box-shadow: inset 0 0 0 1px rgba(218, 165, 32, 0.15);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-white);
    font-size: 1.05rem;
    line-height: 1.5;
}

.info-item span {
    word-break: break-all;
    overflow-wrap: break-word;
    flex: 1;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item i {
    font-size: 1.6rem;
    color: var(--color-gold);
    flex-shrink: 0;
}

.btn-whatsapp-solid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #25D366;
    color: white;
    padding: 18px 35px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.15rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    align-self: flex-start;
    text-decoration: none;
    font-family: var(--font-body);
}

.btn-whatsapp-solid:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
    color: white;
}

@media (max-width: 992px) {
    .contact-grid-new {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-map {
        min-height: 300px;
    }
}

/* Footer */
.footer {
    background-color: #0a0a0a;
    color: #777;
    padding: 60px 0 40px;
    font-size: 0.95rem;
    text-align: center;
}

.footer-legal .copyright {
    color: var(--color-gray);
    margin-bottom: 25px;
    font-weight: 500;
    font-size: 1.05rem;
}

.disclaimers {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.disclaimers p {
    margin-bottom: 8px;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 992px) {
    .container {
        padding: 0 30px;
    }

    .hero h1 {
        font-size: 3.2rem;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-form-container {
        padding: 40px;
    }

    .service-card:nth-child(n) {
        grid-column: span 6;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 70px 0;
    }

    .hero {
        min-height: 100vh;
        padding-top: 80px;
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.15rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .urgency-cta h2 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .contact-info-block h3 {
        text-align: center;
    }

    .contact-info-block .botao {
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .contact-form-container {
        padding: 30px 20px;
    }

    .btn {
        padding: 14px 20px;
    }
}

/* Botao Personalizado - Hero */
.botao {
    display: inline-block;
    position: relative;
    z-index: 10;
}

.botao .elementor-button {
    box-shadow: 0px 9px 30px 0px rgba(255, 255, 255, 0.28);
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 1.05rem;
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: 15px;
    text-decoration: none;
    color: #111;
    /* Dark text for contrast */
    animation: 2s cubic-bezier(0.2, 0.5, 0.9, 0.6) 2s infinite brilho;
    background-image: linear-gradient(45deg, #FFC26B, #CB8F39, #FFC26B, #CB8F39);
    background-size: 400% 200%;
    transition: all .8s;
}

.botao::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    border: 0px solid #808080;
    transform: translate(-50%, -50%);
    border-radius: 18px;
    /* Slightly larger to envelop the 15px button */
    transition: 0.3s;
    pointer-events: none;
    z-index: 0;
}

.botao:hover::before {
    width: 100%;
    height: 100%;
}

.botao:hover .elementor-button {
    transition: 1s 0.3s;
    box-shadow: 0px 0px 300px 10px #ffffff70;
}

.botao .elementor-button-icon,
.botao .elementor-button-icon svg,
.botao .elementor-button-icon i {
    transition: 0.5s !important;
}

.botao:hover .elementor-button-icon {
    transform-origin: center;
    transform: rotate(45deg);
}

.botao:hover .elementor-button-icon svg,
.botao:hover .elementor-button-icon i {
    transform-origin: center;
    animation: seta 1s infinite;
}

.botao .elementor-button-content-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

@keyframes seta {

    0%,
    100% {
        transform: translate(0px, 0px);
    }

    50% {
        transform: translate(10px, -10px);
    }
}

@keyframes brilho {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 100% 0;
    }
}

.botao .elementor-button svg,
.botao .elementor-button i {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    font-size: 20px;
}

/* Floating WhatsApp Button */
.floating-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    z-index: 1000;
    text-decoration: none;
    animation: wa-pulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
    transition: transform 0.3s ease;
}

.floating-btn i {
    line-height: 0;
    display: block;
}

.floating-btn:hover {
    transform: scale(1.05);
    animation: none;
    box-shadow: 0 0 0 20px rgba(37, 211, 102, 0.15);
}

@keyframes wa-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }

    100% {
        box-shadow: 0 0 0 30px rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .floating-btn {
        width: 55px;
        height: 55px;
        font-size: 32px;
        bottom: 20px;
        right: 20px;
    }

    .navbar .botao {
        display: none;
    }

    .nav-content {
        justify-content: center;
    }

    .info-card {
        padding: 10px 15px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-carousel {
        min-height: 300px;
    }
}