/* ==========================================================================
   INGA - Style System & Full Website Layout
   ========================================================================== */

/* 1. Reset and Variables */
:root {
    --color-teal: #2c9f9a;
    --color-teal-dark: #1f726e;
    --color-teal-light: #e6f6f5;
    --color-gold: #d4af37;
    --color-gold-hover: #b89327;
    --color-white: #ffffff;
    --color-dark: #121212;
    --color-dark-gray: #1e1e1e;
    --color-light-bg: #f9f9f9;
    --color-text-dark: #222222;
    --color-text-muted: #666666;
    --color-ocean-depth: #0a312f; /* Deep Ocean 500 */
    
    --font-primary: 'Inter', sans-serif;
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    --container-max: 1200px;
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-primary);
    background-color: var(--color-dark);
    color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* 2. User-Specified Inter Font Weights & Styles */
.inter-thin { font-family: var(--font-primary); font-optical-sizing: auto; font-weight: 100; font-style: normal; }
.inter-extralight { font-family: var(--font-primary); font-optical-sizing: auto; font-weight: 200; font-style: normal; }
.inter-light { font-family: var(--font-primary); font-optical-sizing: auto; font-weight: 300; font-style: normal; }
.inter-regular { font-family: var(--font-primary); font-optical-sizing: auto; font-weight: 400; font-style: normal; }
.inter-medium { font-family: var(--font-primary); font-optical-sizing: auto; font-weight: 500; font-style: normal; }
.inter-semibold { font-family: var(--font-primary); font-optical-sizing: auto; font-weight: 600; font-style: normal; }
.inter-bold { font-family: var(--font-primary); font-optical-sizing: auto; font-weight: 700; font-style: normal; }
.inter-extrabold { font-family: var(--font-primary); font-optical-sizing: auto; font-weight: 800; font-style: normal; }
.inter-black { font-family: var(--font-primary); font-optical-sizing: auto; font-weight: 900; font-style: normal; }

.inter-thin-italic { font-family: var(--font-primary); font-optical-sizing: auto; font-weight: 100; font-style: italic; }
.inter-extralight-italic { font-family: var(--font-primary); font-optical-sizing: auto; font-weight: 200; font-style: italic; }
.inter-light-italic { font-family: var(--font-primary); font-optical-sizing: auto; font-weight: 300; font-style: italic; }
.inter-regular-italic { font-family: var(--font-primary); font-optical-sizing: auto; font-weight: 400; font-style: italic; }
.inter-medium-italic { font-family: var(--font-primary); font-optical-sizing: auto; font-weight: 500; font-style: italic; }
.inter-semibold-italic { font-family: var(--font-primary); font-optical-sizing: auto; font-weight: 600; font-style: italic; }
.inter-bold-italic { font-family: var(--font-primary); font-optical-sizing: auto; font-weight: 700; font-style: italic; }
.inter-extrabold-italic { font-family: var(--font-primary); font-optical-sizing: auto; font-weight: 800; font-style: italic; }
.inter-black-italic { font-family: var(--font-primary); font-optical-sizing: auto; font-weight: 900; font-style: italic; }

/* 3. Header & Menu */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 2.2rem 2rem;
    transition: var(--transition-smooth);
    background-color: rgba(10, 49, 47, 0.5); /* Deep ocean 500 with 50% opacity */
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header.scrolled {
    padding: 1.2rem 2rem;
    background-color: rgba(10, 49, 47, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
    border-bottom-color: transparent;
}

/* Brand circle dot at top-left */
.header-logo-link {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    z-index: 110;
}

.brand-dot {
    display: block;
    width: 24px;
    height: 24px;
    background-color: var(--color-teal);
    border-radius: 50%;
    transition: var(--transition-fast);
}

.brand-dot:hover {
    transform: scale(1.15);
    background-color: var(--color-teal-light);
}

.header-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    justify-content: center; /* Center the menu on screen */
    align-items: center;
    position: relative;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 4rem; /* Wide letter space menu */
}

.nav-link {
    color: var(--color-white);
    text-decoration: none;
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    transition: var(--transition-fast);
    padding: 0.5rem 0;
    position: relative;
}

/* Hover yellow gold color */
.nav-link:hover,
.nav-link.active {
    color: var(--color-gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--color-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Mobile Hamburger Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    width: 30px;
    height: 24px;
    justify-content: center;
    position: absolute;
    right: 0;
    z-index: 110;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    transition: var(--transition-fast);
}

/* 4. Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

/* Responsive Background Rotation System (Natural orientation: Ocean Left, Rock Right) */
.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    background-image: url('img/conceito1.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    transition: var(--transition-smooth);
}

/* Desktop Viewport (Default Landscape / screen ratio > 1) */
@media (min-width: 901px) {
    .bg-container {
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        transform: none; /* No horizontal flip needed anymore, matches Figma layout */
    }
}

/* Mobile & Portrait Viewports */
@media (max-width: 900px) {
    .bg-container {
        top: 50%;
        left: 50%;
        /* Swapping width and height so that the cover matches viewport scale after -90deg rotation */
        width: 100vh;
        height: 100vw;
        transform: translate(-50%, -50%) rotate(-90deg); /* Rotate 90deg counter-clockwise to put rock on top */
    }
}

.layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100vh;
    width: 100vw;
    position: relative;
    z-index: 10;
}

/* Hero Content Container (Left / Ocean) */
.content-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 3rem 6% 3rem 12%; /* Keep it balanced over the ocean */
    animation: fadeInPhrase 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.main-phrase {
    font-size: clamp(2.2rem, 3.8vw, 3.4rem);
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--color-white);
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.hero-subtitle {
    margin-top: 1.5rem;
    font-size: clamp(1rem, 1.25vw, 1.2rem);
    line-height: 1.6;
    color: #e0e0e0;
    max-width: 480px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    animation: fadeInPhrase 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Hero Brand Container (Right / Rock) */
.brand-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    animation: fadeInBrand 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.25rem;
    transition: var(--transition-smooth);
}

.logo-tagline {
    color: var(--color-teal);
    font-size: 0.62rem;
    letter-spacing: 0.28em;
    margin-top: 0.9rem;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.logo-img {
    width: 250px;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: var(--transition-smooth);
}

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

.tagline {
    font-size: 0.8rem;
    letter-spacing: 0.24em;
    color: var(--color-teal);
    text-transform: uppercase;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* 5. Generic Section Styles */
.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 8rem 2rem;
}

.editorial-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 4rem;
}

/* Left Column: Visual Outline Circle Header */
.col-visual {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    min-height: 240px; /* Base height to accommodate absolute circle container */
}

/* Thicker border (6px stroke) and absolute positioning (50% overlapping boundary) */
.outline-circle {
    width: 240px;
    height: 240px;
    border: 6px solid var(--color-teal);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: absolute;
    top: 0;
    left: 2rem;
    margin-top: -120px; /* Positioned 50% overlapping boundary */
    z-index: 25;
    transition: var(--transition-smooth);
    background-color: transparent;
}

/* Custom styling for Solucoes section circle which uses gold border */
.solucoes-section .outline-circle {
    border-color: var(--color-gold);
}

.outline-circle:hover {
    background-color: rgba(44, 159, 154, 0.05); /* Slight transparent tint */
    border-color: var(--color-teal-dark);
}

.solucoes-section .outline-circle:hover {
    background-color: rgba(212, 175, 55, 0.05); /* Gold transparent tint */
    border-color: var(--color-gold-hover);
}

.outline-circle:hover .circle-text {
    transform: scale(1.05);
}

.circle-text {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-align: center;
    color: var(--color-teal);
    line-height: 1.4;
    transition: var(--transition-smooth);
    margin-top: 40px; /* Positioned 40px below circle center per user request */
}

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

.col-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* 6. Quem Somos Section */
.quem-somos-section {
    background-color: var(--color-white);
    color: var(--color-text-dark);
    position: relative;
    z-index: 10;
}

.quem-somos-section .circle-text {
    color: var(--color-teal);
}

.btn-eduardo {
    padding: 0.8rem 1.6rem;
    background: none;
    border: 1px solid var(--color-teal);
    border-radius: 4px;
    color: var(--color-teal);
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition-fast);
    position: absolute;
    top: 155px; /* Sit cleanly right below the 240px circle */
    left: 2.2rem;
    z-index: 25;
}

.btn-eduardo:hover {
    background-color: var(--color-teal);
    color: var(--color-white);
}

.btn-eduardo .arrow {
    transition: transform 0.3s ease;
}

.btn-eduardo:hover .arrow {
    transform: translateX(5px);
}

.text-block {
    font-size: 1.1rem;
    line-height: 1.75;
    color: #333333;
}

.text-block p {
    margin-bottom: 1.5rem;
}

.text-block p:last-child {
    margin-bottom: 0;
}

.trajetoria-link {
    color: var(--color-teal-dark);
    text-decoration: none;
    font-style: italic;
    font-weight: 600;
    transition: var(--transition-fast);
}

.trajetoria-link:hover {
    color: var(--color-gold-hover);
}

.highlight-quote {
    font-size: 1.6rem;
    line-height: 1.45;
    color: var(--color-teal-dark);
    border-left: 3px solid var(--color-teal);
    padding-left: 2rem;
    margin: 1.5rem 0;
}

/* 7. Transition Parallax Banner */
.transicao-banner-section {
    position: relative;
    height: 70vh;
    min-height: 480px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%; /* Extra height to support smooth parallax translation */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Pure CSS parallax window effect */
    z-index: -2;
}

/* Fallback for touch devices where background-attachment: fixed is buggy */
@media (hover: none) {
    .parallax-bg {
        background-attachment: scroll;
        height: 100%;
    }
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 18, 18, 0.45); /* Soft overlay darken */
    z-index: -1;
}

.banner-content {
    max-width: 900px;
    padding: 2rem;
    text-align: center;
}

.impact-phrase {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    line-height: 1.4;
    color: var(--color-white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* 8. Nossa Abordagem Section */
.abordagem-section {
    background-color: #002c2d;
    color: var(--color-white);
    position: relative;
    z-index: 10;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.abordagem-section .outline-circle {
    border-color: #2e9d9a;
}

.abordagem-section .circle-text {
    color: #2e9d9a;
}

.abordagem-header {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
    margin-bottom: 3.5rem;
    min-height: 120px;
}

.abordagem-header .col-visual {
    width: 320px;
    min-height: auto;
}

.abordagem-header .col-header-text {
    flex: 1;
    padding-top: 1.5rem;
}

.abordagem-subtitle {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.7;
    color: #e0e0e0;
    margin: 0;
}

/* 2x2 Minimalist Interactive Grid - Full Width Usable Area */
.principles-grid-container {
    position: relative;
    width: 100%;
    min-height: 560px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    --line-h-top: 50%;
    --line-v-left: 50%;
}

/* Division Lines with Architectural Overhangs */
.grid-line {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.55);
    z-index: 5;
    pointer-events: none;
    transition: top 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                left 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                width 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                height 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                background-color 0.3s ease;
}

.line-h {
    top: var(--line-h-top);
    left: -20px;
    width: calc(100% + 40px);
    height: 1.5px;
}

.line-v {
    left: var(--line-v-left);
    top: -20px;
    width: 1.5px;
    height: calc(100% + 40px);
}

/* Quadrants */
.quadrant {
    position: relative;
    padding: 3rem;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease;
}

/* Rest State: centered title */
.quad-rest {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2.5rem;
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.quad-rest .quad-title {
    font-size: 1.7rem;
    line-height: 1.3;
    color: var(--color-white);
    letter-spacing: -0.01em;
}

/* Hover State: reveal expanded content matching Image 2 mockup proportions */
.quad-hover {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 3rem 4rem;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.97);
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.quadrant:hover .quad-rest,
.principles-grid-container.hover-quad-1 .quad-top-left .quad-rest,
.principles-grid-container.hover-quad-2 .quad-top-right .quad-rest,
.principles-grid-container.hover-quad-3 .quad-bottom-left .quad-rest,
.principles-grid-container.hover-quad-4 .quad-bottom-right .quad-rest {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}

.quadrant:hover .quad-hover,
.principles-grid-container.hover-quad-1 .quad-top-left .quad-hover,
.principles-grid-container.hover-quad-2 .quad-top-right .quad-hover,
.principles-grid-container.hover-quad-3 .quad-bottom-left .quad-hover,
.principles-grid-container.hover-quad-4 .quad-bottom-right .quad-hover {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

/* Elements inside hover state */
.hover-left, .hover-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hover-left .quad-title, .hover-right .quad-title {
    font-size: 1.85rem;
    line-height: 1.25;
    color: var(--color-white);
    margin-bottom: 1.2rem;
}

.quad-icon {
    margin-top: 1rem;
}

.icon-above {
    margin-bottom: 1.2rem;
    margin-top: 0;
}

.svg-icon {
    width: 72px;
    height: 72px;
    color: #ffffff;
    stroke: #ffffff;
    display: block;
}

.quad-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: #d0e4e2;
}

/* Grid Line Animation Coordinates per Hovered Quadrant */
.principles-grid-container:has([data-quad="1"]:hover),
.principles-grid-container.hover-quad-1 {
    --line-h-top: 62%;
    --line-v-left: 62%;
}

.principles-grid-container:has([data-quad="2"]:hover),
.principles-grid-container.hover-quad-2 {
    --line-h-top: 62%;
    --line-v-left: 38%;
}

.principles-grid-container:has([data-quad="3"]:hover),
.principles-grid-container.hover-quad-3 {
    --line-h-top: 38%;
    --line-v-left: 62%;
}

.principles-grid-container:has([data-quad="4"]:hover),
.principles-grid-container.hover-quad-4 {
    --line-h-top: 38%;
    --line-v-left: 38%;
}

/* Dim non-hovered quadrants */
.principles-grid-container:has(.quadrant:hover) .quadrant:not(:hover),
.principles-grid-container[class*="hover-quad-"] .quadrant:not(:hover) {
    opacity: 0.35;
}

/* 9. Soluções Section */
.solucoes-section {
    background-color: #f4d173;
    color: #35301b;
    position: relative;
    z-index: 10;
    padding-top: 0;
    padding-bottom: 6rem;
}

.solucoes-section .outline-circle {
    border-color: #35301b;
}

.solucoes-section .circle-text {
    color: #35301b;
}

.solucoes-header {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
    margin-bottom: 3.5rem;
    position: relative;
    padding-top: 8rem;
}

.solucoes-header .col-visual {
    width: 320px;
    position: absolute;
    top: 0;
    left: 0;
    min-height: 240px;
}

.solucoes-header .col-header-text {
    flex: 1;
    margin-left: 320px;
    padding-top: 0;
}

.solucoes-intro {
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.7;
    color: #35301b;
    margin: 0;
}

/* Soluções Interactive Wrapper */
.solucoes-interactive-wrapper {
    position: relative;
    width: 100%;
}

/* --- 1. Rest State Cards View (Image 2) --- */
.solucoes-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.solucoes-interactive-wrapper.is-expanded .solucoes-cards-grid {
    display: none;
}

.solucao-card-item {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.solucao-card-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.solucao-card-btn {
    width: 100%;
    padding: 1.25rem 1rem;
    background-color: #38321e;
    color: #ffffff;
    border: none;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease;
}

.solucao-card-item:hover .solucao-card-btn {
    background-color: #2b2615;
}

.solucao-card-img-wrap {
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.solucao-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.solucao-card-item:hover .solucao-card-img {
    transform: scale(1.05);
}

/* --- 2. Expanded Tab Card View (Image 1) --- */
.solucoes-expanded-card {
    display: none;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.14);
    animation: fadeInCard 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.solucoes-interactive-wrapper.is-expanded .solucoes-expanded-card {
    display: flex;
}

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

/* Tab Header Buttons */
.solucoes-tab-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.solucoes-tab-header-btn {
    padding: 1.25rem 1rem;
    border: none;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    text-align: center;
    background-color: #c6982b;
    color: #ffffff;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.solucoes-tab-header-btn:hover {
    background-color: #b58920;
}

.solucoes-tab-header-btn.active {
    background-color: #38321e;
    color: #ffffff;
}

/* Expanded Card Body Panels */
.solucoes-tab-body {
    display: flex;
    flex-direction: column;
}

.solucao-panel {
    display: none;
    flex-direction: column;
}

.solucao-panel.active {
    display: flex;
    animation: fadeInPanel 0.35s ease forwards;
}

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

/* Panel Top Row: Image + Description */
.panel-top-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 320px;
}

.panel-img-col {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

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

.panel-desc-col {
    background-color: #38321e;
    color: #ffffff;
    padding: 3rem 3.5rem;
    display: flex;
    align-items: center;
}

.panel-desc-text {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #f5f2e8;
    margin: 0;
}

/* Panel Bottom Row: Atuamos em list */
.panel-bottom-row {
    background-color: #ece2cd;
    color: #35301b;
    padding: 3rem 3.5rem;
    display: grid;
    grid-template-columns: 240px 1fr;
    align-items: flex-start;
}

.panel-atuamos-label {
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #38321e;
    padding-top: 0.2rem;
}

.panel-atuamos-list ul {
    list-style-type: disc;
    padding-left: 1.25rem;
    margin: 0;
}

.panel-atuamos-list li {
    font-size: 1rem;
    line-height: 1.8;
    color: #35301b;
    margin-bottom: 0.4rem;
}

.panel-atuamos-list li:last-child {
    margin-bottom: 0;
}

/* 10. Footer */
.site-footer {
    background-color: #0b0b0b;
    border-top: 1px solid #1a1a1a;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    z-index: 10;
}

.copyright {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    color: #666666;
}

/* 11. Modals & Popups System */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(8px);
    z-index: 200;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-card {
    background-color: var(--color-dark-gray);
    border: 1px solid #333333;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
    width: 90%;
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: none;
    color: #888888;
    font-size: 2.2rem;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 50;
}

.modal-close:hover {
    color: var(--color-white);
    transform: scale(1.1);
}

/* Lidera Modal Layout */
.modal-lidera-card {
    max-width: 940px;
}

.modal-content-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
}

.modal-img-wrapper {
    width: 100%;
    height: 100%;
    min-height: 480px;
    background-color: #111111;
    overflow: hidden;
    position: relative;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modal-info-wrapper {
    padding: 4rem 4rem 4rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.modal-circle {
    position: relative !important;
    top: 0 !important;
    width: 160px;
    height: 160px;
    margin-bottom: 1rem;
}

.modal-circle .circle-text {
    margin-top: 18px;
}

.profile-name {
    font-size: 1.8rem;
    color: var(--color-white);
    line-height: 1.2;
}

.profile-title {
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    color: var(--color-teal);
    margin-top: -0.5rem;
}

.profile-bio {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #cccccc;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

/* Contato Modal Layout */
.modal-contato-card {
    max-width: 500px;
}

.modal-contact-wrapper {
    padding: 4.5rem 3.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.contact-card-title {
    font-size: 1.8rem;
    color: var(--color-white);
    margin-top: 1rem;
}

.contact-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #aaaaaa;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid #2a2a2a;
    padding: 1.2rem;
    border-radius: 6px;
    transition: var(--transition-fast);
}

.contact-item:hover {
    border-color: var(--color-teal);
    background-color: rgba(44, 159, 154, 0.04);
}

.contact-icon {
    font-size: 1.4rem;
    color: var(--color-teal);
}

.contact-link {
    font-size: 1.05rem;
    color: var(--color-white);
    text-decoration: none;
    transition: var(--transition-fast);
}

.contact-link:hover {
    color: var(--color-gold);
}

/* Animations Helper */
@keyframes fadeInBrand {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* 12. Mobile Responsiveness */
@media (max-width: 1024px) {
    .nav-list {
        gap: 2rem;
    }
}

@media (max-width: 900px) {
    /* Header menu toggle override to brand circle */
    .menu-toggle {
        display: flex;
        width: 28px;
        height: 28px;
        background-color: var(--color-teal);
        border-radius: 50%;
        justify-content: center;
        align-items: center;
        border: none;
        padding: 0;
        position: absolute;
        right: 2rem;
        z-index: 110;
        transition: var(--transition-fast);
    }

    .menu-toggle.active {
        background-color: transparent;
    }

    .hamburger-line {
        background-color: var(--color-white);
        width: 16px;
        height: 2px;
        margin: 0;
        position: absolute;
        opacity: 0;
        transition: var(--transition-fast);
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(18, 18, 18, 0.98);
        backdrop-filter: blur(15px);
        display: flex;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 105;
    }

    .main-nav.active {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }

    .nav-link {
        font-size: 1.1rem;
    }

    /* Hamburger Active Animation for Brand Toggler */
    .menu-toggle.active .hamburger-line {
        opacity: 1;
    }
    .menu-toggle.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg);
    }
    .menu-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg);
    }

    /* Layout Grids */
    .layout-grid {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        padding: 6.5rem 2rem 7rem 2rem;
        text-align: center;
    }

    .brand-container {
        padding: 0;
        justify-content: flex-start;
    }

    .logo-img {
        width: 190px;
    }

    .tagline {
        font-size: 0.72rem;
        letter-spacing: 0.22em;
        margin-top: 0.5rem;
    }

    .content-container {
        padding: 0;
        align-items: center;
        width: 100%;
    }

    .main-phrase {
        font-size: clamp(1.8rem, 7vw, 2.3rem);
        line-height: 1.3;
        text-align: center;
    }

    .hero-subtitle {
        text-align: center;
        margin-top: 1.2rem;
        font-size: 1rem;
        padding: 0 1.5rem;
        max-width: 500px;
    }

    /* Editorial sections */
    .editorial-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .col-visual {
        align-items: center;
    }

    .outline-circle {
        position: relative !important;
        top: 0 !important;
        left: auto !important;
        transform: none !important;
        margin-top: 0 !important;
        width: 180px;
        height: 180px;
    }

    .outline-circle .circle-text {
        margin-top: 21px;
    }

    .btn-eduardo {
        position: relative !important;
        top: 0 !important;
        left: auto !important;
        margin-top: 2rem !important;
    }

    .section-container {
        padding: 5rem 1.5rem;
    }

    .principles-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .ficha-list {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .ficha-content {
        padding: 2rem;
        min-height: auto;
    }

    .tab-navigation {
        gap: 1.5rem;
        justify-content: space-between;
    }

    .tab-btn {
        font-size: 0.85rem;
        letter-spacing: 0.08em;
    }

    /* Modal Mobile */
    .modal-content-grid {
        grid-template-columns: 1fr;
    }

    .modal-img-wrapper {
        min-height: 260px;
        height: 260px;
    }

    .modal-info-wrapper {
        padding: 2.5rem 2rem;
        align-items: center;
        text-align: center;
    }

    .modal-circle {
        width: 120px;
        height: 120px;
    }

    .modal-card {
        width: 95%;
        margin: 1rem auto;
    }
    
    .modal-close {
        top: 1rem;
        right: 1.25rem;
        color: var(--color-white);
        background-color: rgba(0,0,0,0.5);
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}
