@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

:root {
    --gold: #D4AF37;
    --gold-dark: #B8860B;
    --gold-light: #F3CF65;
    --black: #111111;
    --black-light: #1c1c1c;
    --white: #ffffff;
    --grey: #888888;
    --grey-light: #f4f4f4;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--white);
    color: var(--black);
    line-height: 1.6;
}

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

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

.text-center { text-align: center; }
.gold-text { 
    color: var(--gold); 
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}
.white-text { color: var(--white); }

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--white);
    border: none;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

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

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

/* Navbar */
nav {
    position: absolute !important;
    top: 0 !important;
    left: 0;
    width: 100%;
    height: 250px; 
    z-index: 9999;
    background: linear-gradient(to bottom, 
                rgba(0,0,0,0.9) 0%, 
                rgba(0,0,0,0.5) 60%, 
                transparent 100%);
    padding: 0; /* Removido todo o espaço superior */
    border-bottom: none;
    box-shadow: none;
}

/* Nav Scrolled removido para estabilidade total */

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100% !important;
    padding: 0 5%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 1px;
}

.logo img {
    max-height: 200px;
    width: auto;
    display: block;
    margin-top: -20px; /* Sobe a logo para o teto */
    filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.6));
    animation: logoGlow 4s infinite alternate, logoShine 5s infinite;
    transition: var(--transition);
}

@keyframes logoGlow {
    from {
        filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.4)) brightness(1);
    }
    to {
        filter: drop-shadow(0 0 35px rgba(212, 175, 55, 0.9)) brightness(1.2);
    }
}

@keyframes logoShine {
    0%, 100% { filter: brightness(1) drop-shadow(0 0 20px rgba(212, 175, 55, 0.5)); }
    50% { filter: brightness(1.5) drop-shadow(0 0 40px rgba(212, 175, 55, 1)); }
}

.logo img:hover {
    transform: scale(1.03);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links li a {
    color: var(--white);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: var(--transition);
}

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

.nav-cta {
    display: block;
}

.btn-sm {
    padding: 10px 25px;
    font-size: 0.85rem;
    border-radius: 8px;
}

/* Menu Toggle Button - HIDDEN ON DESKTOP */
.menu-toggle {
    display: none;
    background: var(--gold);
    color: var(--white);
    width: 35px;
    height: 35px;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 45px;
    transition: var(--transition);
}

.menu-toggle:hover {
    background: var(--gold-dark);
    transform: scale(1.05);
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    z-index: 10000;
    padding: 80px 40px;
    transition: 0.6s cubic-bezier(0.7, 0, 0.3, 1);
    box-shadow: -10px 0 40px rgba(0,0,0,0.9);
    display: flex;
    flex-direction: column;
    border-left: 2px solid var(--gold);
}

.menu-overlay.active {
    right: 0;
}

.menu-close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 2.8rem;
    color: var(--gold);
    cursor: pointer;
    transition: var(--transition);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.menu-close:hover {
    transform: rotate(90deg) scale(1.2);
    color: var(--white);
}

.overlay-links {
    list-style: none;
    margin-top: 40px;
}

.overlay-links li {
    margin-bottom: 25px;
    opacity: 0;
    transform: translateX(30px);
    transition: 0.5s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

.menu-overlay.active .overlay-links li {
    opacity: 1;
    transform: translateX(0);
}

/* Cascata de delay */
.menu-overlay.active .overlay-links li:nth-child(1) { transition-delay: 0.1s; }
.menu-overlay.active .overlay-links li:nth-child(2) { transition-delay: 0.2s; }
.menu-overlay.active .overlay-links li:nth-child(3) { transition-delay: 0.3s; }
.menu-overlay.active .overlay-links li:nth-child(4) { transition-delay: 0.4s; }
.menu-overlay.active .overlay-links li:nth-child(5) { transition-delay: 0.5s; }
.menu-overlay.active .overlay-links li:nth-child(6) { transition-delay: 0.6s; }

.overlay-links li a {
    color: var(--white);
    font-size: 1.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition);
    position: relative;
    display: inline-block;
}

.overlay-links li a:hover {
    color: var(--gold);
    padding-left: 10px;
}

.overlay-links li a::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: 0.3s;
}

.overlay-links li a:hover::before {
    width: 15px;
}

.overlay-cta {
    margin-top: auto;
    padding-bottom: 40px;
}

.overlay-cta .btn {
    width: 100%;
    padding: 20px;
    font-size: 1.1rem;
    animation: btnPulse 2s infinite;
}

@keyframes btnPulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
    70% { transform: scale(1.02); box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('Casa%20para%20body%20do%20site.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 3px 3px 15px rgba(0,0,0,0.9), 0 0 10px rgba(212, 175, 55, 0.3);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    font-weight: 600;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.9), 0 0 5px rgba(212, 175, 55, 0.2);
}

/* Projects Section */
.projects {
    background-color: var(--grey-light);
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-header .divider {
    width: 80px;
    height: 4px;
    background-color: var(--gold);
    margin: 0 auto;
}

.project-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transition: var(--transition);
    max-width: 600px;
    margin: 0 auto;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-img {
    height: 400px;
    background: url('imagens/acorp10/1.jpeg') center/cover no-repeat;
    position: relative;
    cursor: pointer;
}

.project-img::after {
    content: 'CLIQUE PARA VER FOTOS';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(212, 175, 55, 0.8);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    opacity: 0;
    transition: var(--transition);
}

.project-img:hover::after {
    opacity: 1;
}

.project-info {
    padding: 30px;
}

/* Areas Section */
.areas {
    background-color: var(--black);
    color: var(--white);
}

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

.area-card {
    padding: 40px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    transition: var(--transition);
}

.area-card:hover {
    background: var(--gold);
    border-color: var(--gold);
}

.area-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.cta-banner {
    margin-top: 80px;
    height: 400px;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('familia%20em%20frente%20casa.png') center bottom/cover no-repeat;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}

/* Workflow Section Revamped */
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.step-card {
    background: #fff;
    padding: 50px 40px;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
    transition: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    border: 1px solid rgba(212, 175, 55, 0.1);
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.step-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(212, 175, 55, 0.2);
    border-color: var(--gold);
}

.step-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 5px;
    background: var(--gold);
    transform: scaleX(0);
    transition: 0.6s;
    transform-origin: right;
}

.step-card:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.step-number {
    position: absolute;
    top: -15px;
    right: -10px;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(212, 175, 55, 0.16);
    transition: 0.6s;
    line-height: 1;
    z-index: -1;
}

.step-card:hover .step-number {
    color: rgba(212, 175, 55, 0.30);
    transform: rotate(-10deg) scale(1.1);
}

.step-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--gold) 0%, #b8860b 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--white);
    font-size: 1.6rem;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.step-card h4 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.step-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
}

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

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

/* Footer & Contact */
footer {
    background: var(--black);
    color: var(--white);
    padding: 40px 0 30px; /* Rodapé mais compacto e elegante */
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.contact-item h5 {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* Testimonials Slider */
.testimonial-slider {
    max-width: 900px;
    margin: 40px auto 0;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.testimonial-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.7, 0, 0.3, 1);
}

.testimonial-card {
    min-width: 100%;
    padding: 60px 40px;
    background: var(--grey-light);
    border-radius: 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.testimonial-card:hover {
    background: #fff;
    border-color: var(--gold);
}

.testimonial-card .stars {
    color: var(--gold);
    font-size: 1.4rem;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.4rem;
    color: var(--black);
    line-height: 1.8;
    margin-bottom: 30px;
    position: relative;
    padding: 0 40px;
}

.testimonial-card strong {
    display: block;
    color: var(--gold);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Modal System */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(10px);
    z-index: 10000; /* Acima da navbar (9999) */
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.4s ease;
}

.modal-content-wide {
    background: var(--white);
    width: 95%;
    max-width: 1200px;
    max-height: 90vh;
    border-radius: 30px;
    position: relative;
    padding: 60px 40px;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    top: 20px; right: 30px;
    font-size: 2.5rem;
    color: var(--black);
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

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

/* Projects Selector Grid */
.projects-selector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.selector-card {
    cursor: pointer;
    transition: var(--transition);
}

.selector-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
    border: 2px solid transparent;
}

.selector-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(212, 175, 55, 0.9);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    opacity: 0;
    transition: var(--transition);
}

.selector-card:hover .selector-img {
    border-color: var(--gold);
}

.selector-card:hover .selector-overlay {
    opacity: 1;
}

.selector-card h5 {
    font-size: 1.1rem;
    color: var(--black);
}

.selector-card span {
    font-size: 0.8rem;
    color: var(--grey);
}

/* Gallery Modal Styles */
#galleryModal {
    background: rgba(0, 0, 0, 0.97);
    z-index: 5000 !important; /* Garante que fica acima de tudo */
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gallery-container {
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    max-height: 95vh;
}

/* Botão de fechar na galeria */
#galleryModal .close-modal {
    color: #fff !important; /* Branco visível no fundo escuro */
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 2.5rem;
    z-index: 10;
}

#galleryModal .close-modal:hover {
    color: var(--gold) !important;
}

.gallery-main {
    position: relative;
    height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.3);
    flex-shrink: 0;
}

.gallery-main img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(212, 175, 55, 0.85);
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-nav:hover {
    background: var(--gold);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev { left: 15px; }
.gallery-nav.next { right: 15px; }

.gallery-info {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 20px 30px;
    border-radius: 15px;
    text-align: center;
    color: #fff;
    flex-shrink: 0;
}

.gallery-info #galleryTitle {
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.gallery-info #galleryDesc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
}

.gallery-counter {
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 2px;
}


@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* ============================================================
   CINEMATIC PROJECT TRANSITION
   ============================================================ */

/* Cortina de entrada */
#cinematicIntro {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 10005; /* Acima de tudo, inclusive navbar (9999) */
    display: none;
    overflow: hidden;
}

#cinematicIntro.active {
    display: block;
}

/* Metade esquerda da cortina */
.curtain-left,
.curtain-right {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background: #0a0a0a;
    z-index: 10;
    transition: transform 0.9s cubic-bezier(0.77, 0, 0.18, 1);
}

.curtain-left  { left: 0;  transform: translateX(0); }
.curtain-right { right: 0; transform: translateX(0); }

/* Quando as cortinas abrem */
#cinematicIntro.open .curtain-left  { transform: translateX(-100%); }
#cinematicIntro.open .curtain-right { transform: translateX(100%); }

/* Imagem de fundo da transição */
.cinematic-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.15);
    animation: cinematicZoom 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes cinematicZoom {
    0%   { transform: scale(1.15); filter: brightness(0.3); }
    40%  { filter: brightness(0.6); }
    100% { transform: scale(1);    filter: brightness(0.45); }
}

/* Overlay escuro sobre a imagem */
.cinematic-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.92) 0%,
        rgba(0,0,0,0.4) 50%,
        rgba(0,0,0,0.7) 100%
    );
    z-index: 2;
}

/* Conteúdo central da transição */
.cinematic-content {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 3;
    width: 90%;
    max-width: 800px;
}

/* Linha dourada animada */
.cinematic-line {
    width: 0;
    height: 2px;
    background: var(--gold);
    margin: 0 auto 30px;
    animation: lineReveal 0.8s ease 0.7s forwards;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.8);
}

@keyframes lineReveal {
    from { width: 0; opacity: 0; }
    to   { width: 120px; opacity: 1; }
}

/* Título do projeto */
.cinematic-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 4px;
    overflow: hidden;
    opacity: 0;
    animation: titleReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) 1s forwards;
    line-height: 1.1;
}

@keyframes titleReveal {
    from { opacity: 0; transform: translateY(60px); filter: blur(8px); }
    to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}

/* Subtítulo / localização */
.cinematic-subtitle {
    font-size: 1rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 6px;
    opacity: 0;
    margin-top: 20px;
    animation: subtitleReveal 0.8s ease 1.4s forwards;
}

@keyframes subtitleReveal {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Barra de progresso dourada */
.cinematic-progress {
    position: absolute;
    bottom: 0; left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), #fff, var(--gold));
    width: 0;
    animation: progressBar 1.2s ease 0.2s forwards;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

@keyframes progressBar {
    from { width: 0; }
    to   { width: 100%; }
}

/* Ícone de loading elegante */
.cinematic-loader {
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    opacity: 0;
    animation: loaderFade 0.5s ease 1.5s forwards;
}

.cinematic-loader span {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    margin: 0 4px;
    animation: dotBounce 1.2s ease-in-out infinite;
}

.cinematic-loader span:nth-child(2) { animation-delay: 0.2s; }
.cinematic-loader span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotBounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40%            { transform: scale(1.2); opacity: 1; }
}

@keyframes loaderFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Responsivo mobile */
@media (max-width: 768px) {
    .cinematic-title { font-size: 1.6rem; letter-spacing: 2px; }
    .cinematic-subtitle { font-size: 0.8rem; letter-spacing: 4px; }
}

/* ============================================================
   PROJECT PAGE (Imersiva - FULLSCREEN SEM SCROLL)
   ============================================================ */

.project-page {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 15;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
    overflow: hidden; /* Sem scroll em lugar nenhum */
}

.project-page.visible {
    opacity: 1;
    pointer-events: all;
}

/* Navbar do projeto */
.project-page-nav {
    flex-shrink: 0; /* Nunca encolhe */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 40px;
    height: 70px;
    background: rgba(0, 0, 0, 0.80);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    z-index: 20;
}

.btn-back {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.nav-btn-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-back:hover {
    background: var(--gold);
    border-color: var(--gold);
}

.project-page-logo {
    height: 80px;
    object-fit: contain;
}

/* Corpo: ocupa exatamente o espaço restante após a navbar */
.project-page-body {
    flex: 1;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    overflow: hidden; /* Sem scroll */
    padding: 25px 50px;
    gap: 0;
    align-items: stretch;
    min-height: 0; /* Necessário para flex children não vazarem */
}

/* Coluna da galeria */
.project-gallery-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-right: 40px;
    overflow: hidden;
    min-height: 0;
}

/* Frame da galeria: ocupa todo o espaço disponível */
.project-gallery-frame {
    flex: 1;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(212, 175, 55, 0.3);
    background: #000;
    min-height: 0;
}

.project-gallery-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease;
    display: block;
}

/* Navegação da galeria */
.pg-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(212, 175, 55, 0.85);
    color: #fff;
    border: none;
    width: 44px; height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    z-index: 5;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pg-nav:hover { background: var(--gold); transform: translateY(-50%) scale(1.1); }
.pg-prev { left: 12px; }
.pg-next { right: 12px; }

.pg-counter {
    position: absolute;
    bottom: 12px;
    right: 15px;
    background: rgba(0,0,0,0.65);
    color: var(--gold);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Miniaturas compactas */
.pg-thumbnails {
    flex-shrink: 0;
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.pg-thumb {
    width: 85px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0.55;
    flex-shrink: 0;
}

.pg-thumb:hover, .pg-thumb.active {
    border-color: var(--gold);
    opacity: 1;
}

/* Coluna de detalhes */
.project-details-col {
    color: #fff;
    padding-left: 40px;
    border-left: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.pd-badge {
    display: inline-block;
    background: var(--gold);
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 15px;
    align-self: flex-start;
}

.pd-title {
    font-size: 1.7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.15;
    margin-bottom: 18px;
    color: #fff;
}

.pd-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.pd-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

.pd-meta-item i { color: var(--gold); font-size: 0.95rem; }

.pd-divider {
    width: 50px;
    height: 2px;
    background: var(--gold);
    margin: 15px 0;
}

.pd-description {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.72);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5; /* Máximo de linhas visíveis */
    -webkit-box-orient: vertical;
}

/* Mobile da project-page */
@media (max-width: 768px) {
    .project-page-nav { padding: 10px 15px; height: 60px; }
    .project-page-logo { height: 55px; transform: scale(1.2); }
    .hide-mobile { display: none; }
    .nav-btn-contact { padding: 8px 12px; font-size: 0.75rem; gap: 5px; }
    .btn-back { padding: 5px; font-size: 1.2rem; } /* ícone maior */
    .project-page-body {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr auto;
        padding: 15px;
        gap: 15px;
    }
    .project-gallery-col { padding-right: 0; gap: 8px; }
    .project-details-col { padding-left: 0; border-left: none; border-top: 1px solid rgba(212,175,55,0.2); padding-top: 12px; justify-content: flex-start; }
    .pd-title { font-size: 1.1rem; margin-bottom: 10px; }
    .pd-description { -webkit-line-clamp: 3; font-size: 0.8rem; }
    .pd-divider { margin: 10px 0; }
    .pd-badge { font-size: 0.65rem; }
    .pg-thumb { width: 75px; height: 55px; }
    /* Esconder o Fale Conosco em telas muito pequenas (ex: iPhone SE) */
    @media (max-width: 380px) {
        .hide-mobile-small { display: none; }
        .nav-btn-contact { padding: 8px; justify-content: center; border-radius: 50%; width: 35px; height: 35px; }
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    /* Navbar Mobile */
    nav {
        height: auto;
        padding-top: 0;
    }

    nav .container {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        padding: 0 2%; /* Empurra para os cantos extremos */
    }

    .logo img {
        max-height: 150px;
        margin-top: -25px; /* Sobe a logo para o limite */
        margin-left: -5px; /* Garante que cole no canto esquerdo */
    }

    .nav-links, .nav-cta {
        display: none !important;
    }

    .menu-toggle {
        display: flex !important;
        margin-top: 35px !important; /* Nivelado com a logo no mobile */
        margin-right: 10px;
    }

    nav .btn-gold {
        padding: 8px 15px !important;
        font-size: 0.7rem !important;
    }

    /* Hero Mobile */
    .hero {
        padding-top: 100px;
        height: auto;
        min-height: 100vh;
    }

    .hero h1 {
        font-size: 2.2rem;
        margin-top: 20px;
    }

    .hero p {
        font-size: 1rem;
        letter-spacing: 1px;
        padding: 0 10px;
    }

    .hero .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    /* Content adjustments */
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

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

    .cta-banner {
        height: 600px; /* Estilo 'Capa de Revista' */
        padding: 40px 20px;
        background-position: center 20%; /* Foca nos rostos/topo da casa */
        background-image: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0) 70%), url('acorp_family_house.png') !important;
        display: flex;
        flex-direction: column;
        justify-content: flex-end; /* Move tudo para a base */
        align-items: center;
        border-radius: 30px;
        margin: 40px 5px; /* Margem lateral mínima para ganhar espaço */
    }

    .cta-banner h2 {
        font-size: 0.9rem !important; /* Fonte menor para caber em 3 linhas */
        margin-bottom: 20px;
        line-height: 1.4;
        font-weight: 800;
        text-shadow: 1px 1px 8px rgba(0,0,0,0.6);
        width: 100% !important;
        max-width: 100% !important; /* Usa toda a largura disponível */
        text-transform: uppercase;
        letter-spacing: 1.5px;
        text-align: center;
    }

    .cta-banner .btn {
        width: 100%;
        max-width: 280px;
        padding: 18px !important;
        font-size: 0.9rem !important;
        letter-spacing: 2px;
        box-shadow: 0 10px 20px rgba(212, 175, 55, 0.4);
    }

    .project-img {
        height: 300px;
    }

    /* Footer Mobile Revamp */
    footer {
        text-align: center;
        padding: 50px 20px;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    footer .logo img {
        width: 150px !important; /* Logo proporcional no celular */
        margin: 0 auto 30px;
        display: block;
    }

    .contact-item {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .contact-item h5 {
        margin-bottom: 10px;
    }

    .contact-item p {
        justify-content: center;
    }

    /* Testimonial Mobile Adjustments */
    .testimonial-card {
        padding: 40px 20px; /* Mais compacto no celular */
        min-height: auto;
    }

    .testimonial-card p {
        font-size: 1.1rem; /* Texto menor e mais proporcional */
        margin-bottom: 20px;
        padding: 0 10px;
    }

    .testimonial-card p::before, .testimonial-card p::after {
        font-size: 2rem; /* Aspas menores no celular */
    }

    .testimonial-card .stars {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .testimonial-card strong {
        font-size: 1rem;
    }
}

/* ============================================================
   PREMIUM CONTACT FORM STYLES
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.premium-form {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.premium-form:hover {
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 25px 60px rgba(212, 175, 55, 0.05);
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 0 8px;
    font-size: 1rem;
    color: var(--white);
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    outline: none;
    transition: var(--transition);
    font-family: inherit;
}

.form-group textarea {
    resize: none;
    min-height: 100px;
}

.form-group label {
    position: absolute;
    top: 12px;
    left: 0;
    font-size: 1rem;
    color: var(--grey);
    pointer-events: none;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Floating Label Animation */
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -15px;
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Input Focus Glow & Outline */
.form-group input:focus,
.form-group textarea:focus {
    border-bottom: 1px solid var(--gold);
    box-shadow: 0 1px 0 var(--gold);
}

@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .premium-form {
        padding: 30px 20px;
    }
}

/* ============================================================
   MAIS SOBRE NÓS - DETAILED PAGE OVERLAY
   ============================================================ */
.about-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--black);
    z-index: 10010;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    color: var(--white);
}

.about-page.visible {
    transform: translateX(0);
}

.about-page-nav {
    position: sticky;
    top: 0;
    width: 100%;
    height: 80px;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 100;
}

/* ============================================================
   BOTÃO DE RETORNAR (BACK BUTTON) COM GLOW/BLUR DOURADO E ANIMAÇÃO
   ============================================================ */
.btn-back {
    background: rgba(18, 18, 18, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid rgba(212, 175, 55, 0.4);
    color: var(--gold);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.15), inset 0 0 5px rgba(212, 175, 55, 0.05);
    position: relative;
    overflow: hidden;
}

.btn-back i {
    font-size: 0.95rem;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-back:hover {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.75), 0 0 12px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

.btn-back:hover i {
    transform: translateX(-4px); /* Seta desliza um pouco para a esquerda */
}

.btn-back:active {
    transform: translateY(0);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.about-page-logo {
    height: 60px;
    transition: transform 0.3s;
}

.about-page-logo:hover {
    transform: scale(1.05);
}

.about-page-body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 100px; /* Reduzido padding superior para acomodar o card sobreposto flutuante */
    position: relative;
    z-index: 10;
}

/* ============================================================
   AP-BANNER (PAREDE DO ESCRITÓRIO COM O LOGOTIPO AFIXADO)
   ============================================================ */
.ap-banner {
    position: relative;
    width: 100%;
    height: 480px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ap-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(18, 18, 18, 0.4) 0%, rgba(18, 18, 18, 0.85) 100%);
    z-index: 1;
}

.ap-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.ap-banner-logo {
    max-height: 140px;
    width: auto;
    filter: drop-shadow(0 15px 35px rgba(212, 175, 55, 0.35));
    animation: bannerLogoFloat 6s ease-in-out infinite;
}

@keyframes bannerLogoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ============================================================
   AP-FLOATING-CARD (CARD SOBREPOSTO DE HISTÓRIA)
   ============================================================ */
.ap-floating-card {
    background: rgba(24, 24, 24, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid var(--gold);
    border-radius: 24px;
    padding: 60px 50px;
    margin-top: -140px; /* Puxa o card para cima do banner, igual ao site referência */
    margin-bottom: 80px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(212, 175, 55, 0.1);
    position: relative;
    z-index: 20;
}

.ap-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.ap-card-content {
    color: var(--white);
}

.ap-lead {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--white);
    font-weight: 600;
    letter-spacing: -0.2px;
}

.ap-paragraphs {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 40px;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
}

.ap-paragraphs p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--grey);
    text-align: justify;
}

/* ============================================================
   AP-TEAM-SECTION (COM A MARCA D'ÁGUA "EQUIPE")
   ============================================================ */
.ap-team-section {
    margin-bottom: 80px;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 80px;
}

.ap-team-title-wrapper {
    position: relative;
    text-align: center;
    margin-bottom: 60px;
    padding-top: 10px;
}

.ap-team-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 9rem;
    font-weight: 900;
    color: rgba(212, 175, 55, 0.03); /* Faint gold watermark (igual ao site referência) */
    letter-spacing: 20px;
    line-height: 1;
    z-index: 1;
    pointer-events: none;
    text-transform: uppercase;
}

.ap-section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--gold);
    position: relative;
    z-index: 2;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.ap-section-subtitle {
    font-size: 1.1rem;
    color: var(--grey);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.ap-team-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    position: relative;
    z-index: 5;
}

/* CARD DE TIME ESTILO SITE REFERÊNCIA */
.ap-member-card {
    background: rgba(25, 25, 25, 0.9);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    max-width: 300px;
    width: 100%;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.ap-member-card:hover {
    border-color: var(--gold);
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(212, 175, 55, 0.15);
}

.ap-member-photo-box {
    position: relative;
    width: 100%;
    height: 340px;
    background: #151515;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ap-member-placeholder {
    position: relative;
    z-index: 2;
    font-size: 7.5rem;
    color: rgba(255, 255, 255, 0.12);
    transition: var(--transition);
}

.ap-member-card:hover .ap-member-placeholder {
    color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.ap-member-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    position: relative;
    z-index: 0;
    transition: var(--transition);
}

.ap-member-card:hover .ap-member-img {
    transform: scale(1.05);
}

/* Ajuste específico de enquadramento para a foto do João */
#joao-photo {
    object-position: center 5%;
}

.ap-member-info {
    padding: 25px 20px;
    text-align: center;
    background: #1e1e1e;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.ap-member-info h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 5px;
}

.ap-member-role {
    font-size: 0.9rem;
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ============================================================
   AP-DIFF-SECTION (DIFERENCIAIS)
   ============================================================ */
.ap-diff-section {
    margin-bottom: 80px;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 80px;
}

.ap-diff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.ap-diff-card {
    background: rgba(25, 25, 25, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
}

.ap-diff-card:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.03);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.ap-diff-icon {
    width: 65px;
    height: 65px;
    background: rgba(212, 175, 55, 0.1);
    border: 1.5px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.7rem;
    margin: 0 auto 25px;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.2);
}

.ap-diff-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
}

.ap-diff-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--grey);
}

/* ============================================================
   AP-CTA-SECTION (CHAMADA FINAL)
   ============================================================ */
.ap-cta-section {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 80px;
}

.ap-cta-card {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(18, 18, 18, 0.7) 100%);
    border: 2px solid var(--gold);
    border-radius: 30px;
    padding: 70px 50px;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
}

.ap-cta-card h2 {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.ap-cta-card p {
    font-size: 1.15rem;
    color: var(--grey);
    max-width: 750px;
    margin: 0 auto 35px;
    line-height: 1.8;
}

/* ============================================================
   MEDIA QUERIES RESPONSIVAS
   ============================================================ */
@media (max-width: 991px) {
    .ap-floating-card {
        padding: 40px 30px;
        margin-top: -100px;
    }
    
    .ap-paragraphs {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .ap-team-watermark {
        font-size: 6rem;
        letter-spacing: 12px;
    }
    
    .ap-banner {
        height: 380px;
    }
    
    .ap-banner-logo {
        max-height: 100px;
    }
}

@media (max-width: 768px) {
    .about-page-nav {
        padding: 0 20px;
    }
    
    .ap-paragraphs p {
        text-align: left; /* Remove espaçamento excessivo entre palavras no mobile */
    }
    
    .ap-team-grid {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    /* Reordenamento dos cartões da equipe no mobile */
    .ap-team-grid > :nth-child(1) { /* João (está na esquerda/1º no HTML) */
        order: 3;
    }
    .ap-team-grid > :nth-child(2) { /* André (está no meio/2º no HTML) */
        order: 1;
    }
    .ap-team-grid > :nth-child(3) { /* Viviana (está na direita/3º no HTML) */
        order: 2;
    }
    
    .ap-cta-card {
        padding: 50px 30px;
    }
    
    .ap-cta-card h2 {
        font-size: 1.8rem;
    }
}

/* ============================================================
   AP-PARTNERS-GRID & CARDS (PARCEIROS OFICIAIS)
   ============================================================ */
.ap-partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.ap-partner-card {
    background: rgba(25, 25, 25, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 16px;
    padding: 25px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}

.ap-partner-card:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.03);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.ap-partner-logo-box {
    width: 60px;
    height: 60px;
    background: #ffffff;
    border: 1.5px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    transition: var(--transition);
    padding: 0;
}

.ap-partner-logo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ap-partner-card:hover .ap-partner-logo-box {
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    transform: scale(1.05);
}

.ap-partner-info-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.ap-partner-category {
    font-size: 0.8rem;
    color: var(--gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ap-partner-name {
    font-size: 1.05rem;
    color: var(--white);
    font-weight: 600;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .ap-partners-grid {
        grid-template-columns: 1fr;
    }
}



