/* ==========================================================================
   WILMAN - PRESENÇA DIGITAL ESTRATÉGICA
   Design System & Premium Stylesheet
   ========================================================================== */

/* --- Custom Properties (Color Palette & Variables) --- */
:root {
    --color-dark: #232323;
    --color-light: #EFE8DE;
    --color-green: #587245;
    --color-teal: #2D5A4A;
    --color-blue: #1F6E78;
    --color-orange: #B86A43;
    --color-orange-glow: rgba(184, 106, 67, 0.4);
    
    --color-white: #ffffff;
    --color-text-dark: #232323;
    --color-text-muted: #555555;
    --color-text-light: #EFE8DE;
    
    --font-title: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --container-width: 1200px;
    --border-radius: 12px;
    --border-radius-lg: 24px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 20px 40px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 25px var(--color-orange-glow);
}

/* --- Base & Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-light);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-title);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Layout Utility Classes --- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center { text-align: center; }
.text-dark { color: var(--color-dark); }
.text-muted { color: var(--color-text-muted); }
.text-gradient {
    background: linear-gradient(135deg, var(--color-green) 0%, var(--color-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-family: var(--font-title);
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 1.125rem 2.5rem;
    font-size: 1.05rem;
}

.btn-primary {
    background-color: var(--color-orange);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(184, 106, 67, 0.3);
}

.btn-primary:hover {
    background-color: #a35934;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

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

.btn-secondary:hover {
    background-color: #214337;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-orange);
    color: var(--color-orange);
}

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

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

/* --- Badges & Tags --- */
.badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background-color: rgba(88, 114, 69, 0.15);
    color: var(--color-green);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(88, 114, 69, 0.2);
}

.section-tag {
    display: inline-block;
    color: var(--color-orange);
    font-family: var(--font-title);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

/* --- Header / Navigation --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(239, 232, 222, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(35, 35, 35, 0.05);
    transition: var(--transition-smooth);
}

.header.scrolled {
    background-color: rgba(239, 232, 222, 0.95);
    box-shadow: var(--shadow-subtle);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo-img {
    height: 48px;
    object-fit: contain;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-dark);
}

.nav-link:hover {
    color: var(--color-orange);
}

/* Mobile Toggle */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 110;
}

.mobile-nav-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--color-dark);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* Mobile Nav Menu Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100vh;
    background-color: var(--color-light);
    z-index: 95;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.mobile-nav-overlay.active {
    left: 0;
}

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

.mobile-nav-link {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
}

/* --- Hero Section (Dobra 1) --- */
.hero {
    background: linear-gradient(135deg, var(--color-dark) 0%, #152520 100%);
    color: var(--color-white);
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(239, 232, 222, 0.85);
    margin-bottom: 2.5rem;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.hero-action-note {
    font-size: 0.85rem;
    color: rgba(239, 232, 222, 0.6);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

/* Hero Tech/Logo Visual */
.hero-visual {
    display: flex;
    justify-content: center;
}

.visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.tech-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite;
}

.tech-card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(88, 114, 69, 0.2) 0%, rgba(31, 110, 120, 0) 70%);
    z-index: -1;
    filter: blur(10px);
}

.tech-card-logo {
    width: 140px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.tech-card-stats {
    display: flex;
    gap: 2rem;
    width: 100%;
    justify-content: space-around;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem 0;
    margin-bottom: 1.5rem;
}

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

.stat-number {
    display: block;
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-green);
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tech-card-bars {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bar-line {
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.bar-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--width);
    background: linear-gradient(90deg, var(--color-green), var(--color-teal));
    border-radius: 10px;
}

/* Waves Divider */
.hero-waves {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-waves svg {
    position: relative;
    display: block;
    width: calc(135% + 1.3px);
    height: 70px;
}

.hero-waves .shape-fill {
    fill: var(--color-light);
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(184, 106, 67, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(184, 106, 67, 0); }
    100% { box-shadow: 0 0 0 0 rgba(184, 106, 67, 0); }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* --- Section Headings General --- */
.section-header {
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-top: 0.25rem;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

/* --- A Dor Section (Dobra 2) --- */
.dor {
    padding: 100px 0;
    background-color: var(--color-light);
}

.dor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.dor-card {
    background-color: var(--color-white);
    border: 1px solid rgba(35, 35, 35, 0.05);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-subtle);
}

.dor-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.dor-card.warning {
    border-top: 4px solid var(--color-orange);
}

.dor-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(31, 110, 120, 0.08);
    color: var(--color-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.dor-card.warning .dor-icon-wrapper {
    background-color: rgba(184, 106, 67, 0.08);
    color: var(--color-orange);
}

.dor-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.dor-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.dor-cta-box {
    text-align: center;
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-subtle);
    max-width: 800px;
    margin: 0 auto;
}

.dor-cta-text {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

/* --- A Solução Section (Dobra 3) --- */
.solucao {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 100px 0;
}

.solucao .section-title {
    color: var(--color-white);
}

.solucao .section-subtitle {
    color: rgba(239, 232, 222, 0.7);
}

.solucao-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.solucao-details {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.service-item {
    display: flex;
    gap: 1.5rem;
}

.service-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius);
    background-color: rgba(88, 114, 69, 0.15);
    color: var(--color-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    border: 1px solid rgba(88, 114, 69, 0.25);
}

.service-text h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-white);
}

.service-text p {
    font-size: 0.95rem;
    color: rgba(239, 232, 222, 0.75);
}

/* Pricing Card Card */
.pricing-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(184, 106, 67, 0.15) 0%, rgba(0,0,0,0) 70%);
    filter: blur(10px);
    z-index: -1;
}

.pricing-badge {
    position: absolute;
    top: 15px;
    right: -40px;
    background-color: var(--color-orange);
    color: var(--color-white);
    padding: 0.4rem 3rem;
    transform: rotate(45deg);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.pricing-desc {
    font-size: 0.9rem;
    color: rgba(239, 232, 222, 0.7);
    margin-bottom: 2rem;
}

.price-box {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}

.price-old {
    font-size: 1.1rem;
    text-decoration: line-through;
    color: rgba(239, 232, 222, 0.5);
}

.price-current {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-orange);
    line-height: 1;
    margin: 0.25rem 0;
    font-family: var(--font-title);
}

.price-current::before {
    content: 'R$ ';
    font-size: 1.75rem;
    font-weight: 600;
}

.price-installments {
    font-size: 0.85rem;
    color: rgba(239, 232, 222, 0.7);
}

.countdown-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    margin-bottom: 2rem;
    text-align: center;
}

.countdown-text {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(239, 232, 222, 0.6);
    margin-bottom: 0.75rem;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

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

.countdown-item span {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-white);
    font-family: var(--font-title);
}

.countdown-item label {
    font-size: 0.7rem;
    color: rgba(239, 232, 222, 0.5);
    text-transform: uppercase;
}

.pricing-footer {
    font-size: 0.8rem;
    color: rgba(239, 232, 222, 0.5);
    text-align: center;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

/* --- Portfólio Section (Dobra 4) --- */
.portfolio {
    padding: 100px 0;
    background-color: var(--color-light);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.portfolio-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(35, 35, 35, 0.05);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

/* Browser Mockup Style */
.browser-mockup {
    background-color: #f1ebd9;
    border-bottom: 1px solid rgba(35, 35, 35, 0.05);
    display: flex;
    flex-direction: column;
}

.browser-header {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    gap: 6px;
    background-color: rgba(35, 35, 35, 0.03);
}

.browser-header .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(35, 35, 35, 0.2);
}

.browser-url {
    margin-left: 1rem;
    font-size: 0.7rem;
    color: rgba(35, 35, 35, 0.4);
    background-color: rgba(35, 35, 35, 0.05);
    padding: 0.15rem 2rem;
    border-radius: 50px;
    font-family: var(--font-body);
}

.project-preview {
    height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--color-white);
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.25rem;
}

.project-icon-placeholder {
    font-size: 3rem;
}

.preview-pratica {
    background: linear-gradient(135deg, #4c683c 0%, #204033 100%);
}

.preview-baseviva {
    background: linear-gradient(135deg, #1F6E78 0%, #153c42 100%);
}

.preview-acordes {
    background: linear-gradient(135deg, #B86A43 0%, #7d4427 100%);
}

.portfolio-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.portfolio-info h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: var(--color-dark);
}

.portfolio-info p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.project-link {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-orange);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    align-self: flex-start;
}

.project-link:hover {
    color: #a35934;
    gap: 0.75rem;
}

/* --- FAQ Section --- */
.faq {
    padding: 100px 0;
    background-color: var(--color-white);
    border-top: 1px solid rgba(35, 35, 35, 0.05);
}

.faq-list {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-item {
    border: 1px solid rgba(35, 35, 35, 0.06);
    border-radius: var(--border-radius);
    background-color: var(--color-light);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: rgba(35, 35, 35, 0.15);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-family: var(--font-title);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-dark);
    cursor: pointer;
    gap: 1.5rem;
}

.faq-question i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    color: var(--color-teal);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 2rem;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

/* Open State classes */
.faq-item.active {
    background-color: var(--color-white);
    border-color: var(--color-teal);
    box-shadow: var(--shadow-subtle);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Large enough height to fit answers */
}

/* --- Final CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-dark) 100%);
    color: var(--color-white);
    padding: 100px 0;
    position: relative;
}

.cta-section h2 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.15rem;
    color: rgba(239, 232, 222, 0.85);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Footer --- */
.footer {
    background-color: var(--color-dark);
    color: var(--color-text-light);
    padding: 80px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 50px;
}

.footer-logo {
    height: 54px;
    object-fit: contain;
    margin-bottom: 1.25rem;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--color-green);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.footer-address {
    font-size: 0.9rem;
    color: rgba(239, 232, 222, 0.6);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 8px;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-green);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(239, 232, 222, 0.7);
}

.footer-links a:hover {
    color: var(--color-orange);
    padding-left: 5px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact a {
    color: var(--color-white);
}

.footer-contact i {
    color: var(--color-green);
    margin-right: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px 0;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: rgba(239, 232, 222, 0.4);
}

/* --- Floating WhatsApp Mobile --- */
.whatsapp-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 90;
    transition: var(--transition-smooth);
}

.whatsapp-floating:hover {
    transform: scale(1.1);
    background-color: #128c7e;
}

/* --- Scroll Reveal Animations classes --- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        align-items: center;
    }
    
    .dor-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .solucao-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .nav {
        display: none;
    }
    
    .header-cta {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .dor-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card {
        padding: 2rem 1.5rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .whatsapp-floating {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.65rem;
    }
}

/* ==========================================================================
   ACESSIBILIDADE E RECURSOS ESPECIAIS (Skip Link & Focus)
   ========================================================================== */
.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    background-color: var(--color-orange);
    color: var(--color-white);
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    z-index: 200;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    transition: top 0.3s ease;
    font-family: var(--font-title);
    border: 2px solid var(--color-white);
}

.skip-link:focus {
    top: 0;
    outline: none;
}

/* outline focus visible for keyboard users */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--color-orange);
    outline-offset: 4px;
}

/* ==========================================================================
   LEGAL PAGES LAYOUT & STYLE
   ========================================================================== */
.legal-page {
    background-color: var(--color-light);
    color: var(--color-text-dark);
}

.legal-content {
    padding: 140px 0 80px;
}

.container-narrow {
    max-width: 800px;
}

.legal-header {
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(35, 35, 35, 0.1);
    padding-bottom: 2rem;
}

.legal-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

.last-updated {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-teal);
    position: relative;
    padding-bottom: 6px;
}

.legal-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-green);
}

.legal-section p {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 1.25rem;
}

.legal-section ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    list-style: disc;
}

.legal-section ul li {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.inline-link {
    color: var(--color-orange);
    font-weight: 600;
}

.inline-link:hover {
    color: #a35934;
    text-decoration: underline;
}

/* LGPD Form Styles */
.lgpd-form {
    background-color: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(35, 35, 35, 0.05);
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-dark);
}

.required {
    color: var(--color-orange);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(35, 35, 35, 0.15);
    font-family: var(--font-body);
    font-size: 0.95rem;
    background-color: #faf8f3;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-teal);
    background-color: var(--color-white);
    box-shadow: 0 0 0 3px rgba(45, 90, 74, 0.1);
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: var(--color-teal);
}

.checkbox-group label {
    font-weight: 400;
    font-size: 0.85rem;
    line-height: 1.4;
    cursor: pointer;
}

.form-message-box {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 600;
    display: none;
    text-align: center;
}

.form-message-box.success {
    display: block;
    background-color: rgba(88, 114, 69, 0.15);
    color: #3b502e;
    border: 1px solid rgba(88, 114, 69, 0.25);
}

.form-message-box.error {
    display: block;
    background-color: rgba(184, 106, 67, 0.15);
    color: #8c4b2a;
    border: 1px solid rgba(184, 106, 67, 0.25);
}

/* ==========================================================================
   COOKIE CONSENT BANNER & MODAL
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 30px;
    right: 30px;
    background-color: rgba(35, 35, 35, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--color-white);
    padding: 1.5rem 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.cookie-banner-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    max-width: var(--container-width);
    margin: 0 auto;
}

.cookie-banner-text h4 {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
    color: var(--color-green);
}

.cookie-banner-text p {
    font-size: 0.85rem;
    color: rgba(239, 232, 222, 0.8);
    line-height: 1.5;
}

.cookie-policy-link {
    color: var(--color-green);
    text-decoration: underline;
    font-weight: 600;
}

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

.btn-text-only {
    background: transparent;
    border: none;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    text-decoration: underline;
    transition: var(--transition-smooth);
    padding: 0;
}

.btn-text-only:hover {
    color: var(--color-orange);
}

/* Modal Overlay & Modal */
.cookie-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(21, 21, 21, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1010;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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

.cookie-modal {
    background-color: var(--color-light);
    color: var(--color-text-dark);
    max-width: 600px;
    width: 90%;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(35, 35, 35, 0.1);
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    transform: translateY(30px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-modal-overlay.active .cookie-modal {
    transform: translateY(0);
}

.cookie-modal-content {
    padding: 2.5rem;
}

.cookie-modal h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.cookie-modal p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.cookie-option {
    background-color: var(--color-white);
    border: 1px solid rgba(35, 35, 35, 0.08);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.option-header label {
    font-family: var(--font-title);
    font-size: 0.95rem;
    cursor: pointer;
}

.option-header input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--color-teal);
    cursor: pointer;
}

.cookie-option p {
    margin-bottom: 0;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.cookie-modal-actions {
    margin-top: 2rem;
}

/* Responsive banner */
@media (max-width: 992px) {
    .cookie-banner-container {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .cookie-banner {
        bottom: 20px;
        left: 20px;
        right: 20px;
        padding: 1.5rem;
    }
    
    .cookie-banner-actions {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .cookie-banner-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    .cookie-banner-actions .btn {
        width: 100%;
    }
    .cookie-modal-content {
        padding: 1.5rem;
    }
}
