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

/* --- DESIGN SYSTEM TOKENS --- */
:root {
    /* Colors */
    --color-primary-950: #020617;
    --color-primary-900: #0f172a;
    --color-primary-800: #1e293b;
    --color-primary-700: #334155;
    --color-primary-600: #475569;
    --color-primary-500: #64748b;
    --color-primary-100: #f1f5f9;
    --color-primary-50: #f8fafc;
    
    --color-accent-600: #b45309;
    --color-accent-500: #d97706;
    --color-accent-400: #f59e0b;
    --color-accent-300: #fcd34d;
    --color-accent-100: #fef3c7;
    
    --color-white: #ffffff;
    --color-danger: #ef4444;
    --color-success: #10b981;
    
    /* Gradients */
    --grad-hero: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --grad-gold: linear-gradient(135deg, #b45309 0%, #f59e0b 100%);
    --grad-glass: rgba(255, 255, 255, 0.85);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Borders */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
}

/* --- 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-primary-50);
    color: var(--color-primary-800);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary-900);
    font-weight: 700;
    line-height: 1.25;
}

p {
    font-size: 1rem;
    color: var(--color-primary-600);
}

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

button, input, textarea, select {
    font-family: inherit;
    outline: none;
}

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

/* --- LAYOUT UTILITIES --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
}

.section-dark {
    background-color: var(--color-primary-900);
    color: var(--color-primary-100);
}

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

.section-dark p {
    color: var(--color-primary-500);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--grad-gold);
    border-radius: var(--radius-full);
}

.section-header p {
    font-size: 1.125rem;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--grad-gold);
    color: var(--color-white);
    box-shadow: 0 4px 14px 0 rgba(217, 119, 6, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(217, 119, 6, 0.5);
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary-900);
    border-color: var(--color-primary-900);
}

.btn-secondary:hover {
    background-color: var(--color-primary-900);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
    background-color: var(--color-white);
    color: var(--color-primary-900);
    border-color: var(--color-white);
    transform: translateY(-2px);
}

/* --- HEADER & NAVIGATION --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: var(--transition-normal);
}

.header.scrolled {
    background-color: var(--grad-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5.5rem;
    transition: var(--transition-normal);
}

.header.scrolled .navbar {
    height: 4.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    height: 3rem;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

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

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-primary-900);
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.header:not(.scrolled) .logo-title {
    color: var(--color-white);
}

.logo-subtitle {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--color-accent-500);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.25rem;
    list-style: none;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-primary-700);
    position: relative;
    padding: 0.25rem 0;
}

.header:not(.scrolled) .nav-link {
    color: rgba(255, 255, 255, 0.85);
}

.header:not(.scrolled) .nav-link:hover {
    color: var(--color-white);
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--grad-gold);
    transition: var(--transition-normal);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    margin-left: 1rem;
}

.header:not(.scrolled) .btn-primary {
    box-shadow: none;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 1.75rem;
    height: 1.25rem;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary-900);
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
}

.header:not(.scrolled) .menu-toggle span {
    background-color: var(--color-white);
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    padding-top: 5.5rem;
    background: var(--grad-hero);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--color-white);
}

/* Abstract design details to replace the background image premium styling */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 50%;
    height: 70%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

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

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(217, 119, 6, 0.15);
    border: 1px solid rgba(217, 119, 6, 0.3);
    color: var(--color-accent-300);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.15;
}

.hero h1 span {
    background: var(--grad-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--color-primary-100);
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-image-container {
    position: relative;
    animation: fadeIn 1.2s ease-out;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(5px);
}

.hero-image-wrapper img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    opacity: 0.85;
}

/* Hero Decorative Box Card */
.hero-card {
    position: absolute;
    bottom: -2rem;
    left: -2rem;
    background-color: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--color-accent-500);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    max-width: 280px;
    animation: slideInLeft 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-card-title {
    color: var(--color-white);
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

.hero-card-desc {
    font-size: 0.85rem;
    color: var(--color-primary-500);
}

/* --- ABOUT SECTION (QUEM SOMOS) --- */
.about {
    background-color: var(--color-white);
}

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

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 85%;
    position: relative;
    z-index: 2;
}

.about-img-sub {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    width: 50%;
    position: absolute;
    bottom: -3rem;
    right: 0;
    z-index: 3;
    border: 6px solid var(--color-white);
}

.about-content h3 {
    font-size: 1.25rem;
    color: var(--color-accent-600);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.75rem;
}

.about-content h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.about-text {
    margin-bottom: 1.5rem;
}

.about-features {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.about-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.about-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-sm);
    background-color: var(--color-accent-100);
    color: var(--color-accent-600);
    font-weight: 700;
    flex-shrink: 0;
}

.about-feature-text h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.about-feature-text p {
    font-size: 0.85rem;
}

/* --- SERVICES SECTION (SERVIÇOS) --- */
.services {
    background-color: var(--color-primary-50);
}

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

.service-card {
    background-color: var(--color-white);
    padding: 3rem 2.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-primary-100);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--grad-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-normal);
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: var(--radius-md);
    background-color: var(--color-primary-50);
    color: var(--color-accent-600);
    margin-bottom: 2rem;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    background-color: var(--color-accent-600);
    color: var(--color-white);
}

.service-icon svg {
    width: 2rem;
    height: 2rem;
    fill: currentColor;
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--color-primary-600);
}

/* --- SEGMENTS SECTION (SEGMENTOS) --- */
.segments {
    background-color: var(--color-white);
}

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

.segment-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 380px;
    box-shadow: var(--shadow-md);
    cursor: pointer;
}

.segment-img-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.segment-img-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 60%, rgba(15, 23, 42, 0.1) 100%);
    z-index: 2;
    transition: var(--transition-normal);
}

.segment-card:hover .segment-img-container::before {
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.5) 50%, rgba(15, 23, 42, 0.2) 100%);
}

.segment-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.segment-card:hover img {
    transform: scale(1.08);
}

.segment-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.25rem;
    z-index: 3;
    transition: var(--transition-normal);
}

.segment-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--color-accent-600);
    color: var(--color-white);
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.segment-card h3 {
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.segment-card p {
    font-size: 0.9rem;
    color: var(--color-primary-100);
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: var(--transition-normal);
}

.segment-card:hover p {
    opacity: 0.9;
    height: auto;
    margin-top: 0.5rem;
}

/* --- CONTACT SECTION (CONTATO) --- */
.contact {
    background-color: var(--color-primary-50);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.contact-info {
    background: var(--grad-hero);
    color: var(--color-white);
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
}

.contact-info h3 {
    color: var(--color-white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-info-p {
    color: var(--color-primary-100);
    opacity: 0.9;
    margin-bottom: 3rem;
}

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

.contact-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-sm);
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--color-accent-400);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: currentColor;
}

.contact-text h4 {
    color: var(--color-white);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-text p {
    color: var(--color-primary-100);
    font-size: 0.9rem;
    opacity: 0.85;
}

.contact-socials {
    margin-top: 4rem;
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-full);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
    transition: var(--transition-normal);
}

.social-link:hover {
    background-color: var(--color-accent-600);
    transform: translateY(-3px);
}

.social-link svg {
    width: 1.15rem;
    height: 1.15rem;
    fill: currentColor;
}

.contact-form-container {
    padding: 4rem;
}

.contact-form-container h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary-700);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-primary-100);
    background-color: var(--color-primary-50);
    color: var(--color-primary-800);
    font-size: 0.95rem;
    transition: var(--transition-normal);
}

.form-input:focus {
    border-color: var(--color-accent-500);
    background-color: var(--color-white);
    box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.15);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

.form-feedback {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    display: none;
}

.form-feedback.success {
    display: block;
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--color-success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-feedback.error {
    display: block;
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--color-danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* --- FOOTER (RODAPÉ) --- */
.footer {
    background-color: var(--color-primary-950);
    color: var(--color-primary-100);
    padding: 5rem 0 2rem 0;
    border-top: 4px solid var(--color-accent-600);
    font-size: 0.9rem;
}

.footer h3 {
    color: var(--color-white);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-accent-500);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
    gap: 3.5rem;
    margin-bottom: 4rem;
}

.footer-about .logo-title {
    color: var(--color-white);
}

.footer-about p {
    color: var(--color-primary-500);
    margin-top: 1.25rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link a {
    color: var(--color-primary-500);
}

.footer-link a:hover {
    color: var(--color-accent-400);
    padding-left: 4px;
}

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

.footer-contact-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.footer-contact-item svg {
    width: 1.15rem;
    height: 1.15rem;
    fill: var(--color-accent-500);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.footer-contact-item span {
    color: var(--color-primary-500);
    line-height: 1.4;
}

.footer-cnpj-box {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-cnpj-title {
    font-weight: 700;
    color: var(--color-white);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cnpj-value {
    font-family: monospace;
    font-size: 1.05rem;
    color: var(--color-accent-400);
    font-weight: bold;
}

.legal-address {
    font-size: 0.8rem;
    color: var(--color-primary-500);
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-primary-500);
    font-size: 0.8rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a:hover {
    color: var(--color-accent-400);
}

/* --- LEGAL PAGE STYLING (POLÍTICAS E TERMOS) --- */
.legal-body {
    background-color: var(--color-primary-50);
}

.legal-header {
    background: var(--grad-hero);
    color: var(--color-white);
    padding: 8rem 0 4rem 0;
    text-align: center;
}

.legal-header h1 {
    color: var(--color-white);
    font-size: 2.75rem;
    margin-bottom: 0.75rem;
}

.legal-header p {
    color: var(--color-primary-100);
    opacity: 0.9;
}

.legal-content-section {
    padding: 4rem 0 6rem 0;
}

.legal-content-card {
    background-color: var(--color-white);
    padding: 4rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-primary-100);
}

.legal-content-card h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--color-primary-900);
    border-bottom: 2px solid var(--color-primary-100);
    padding-bottom: 0.5rem;
}

.legal-content-card h2:first-of-type {
    margin-top: 0;
}

.legal-content-card p {
    margin-bottom: 1.25rem;
    font-size: 0.975rem;
    color: var(--color-primary-700);
    text-align: justify;
}

.legal-content-card ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: var(--color-primary-700);
}

.legal-content-card li {
    margin-bottom: 0.5rem;
    font-size: 0.975rem;
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* --- RESPONSIVE DESIGN (MEDIA QUERIES) --- */
@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero {
        padding-top: 8rem;
        padding-bottom: 6rem;
        min-height: auto;
    }
    
    .hero-badge {
        margin: 0 auto 1.5rem auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-image-wrapper img {
        height: 380px;
    }
    
    .hero-card {
        left: 50%;
        transform: translateX(-50%);
        bottom: -1.5rem;
        animation: fadeInUp 1s ease-out;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .about-images {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .services-grid, .segments-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.75rem;
    }
    
    /* Navigation Drawer for Mobile */
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--color-white);
        box-shadow: var(--shadow-xl);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        z-index: 1000;
        transition: var(--transition-normal);
        padding: 2rem;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-link {
        color: var(--color-primary-900) !important;
        font-size: 1.15rem;
    }
    
    .nav-cta {
        margin-left: 0;
        width: 100%;
    }
    
    .nav-cta .btn {
        width: 100%;
    }
    
    /* Hamburger animation when active */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(5px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-5px) rotate(-45deg);
    }
    
    .services-grid, .segments-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-info {
        padding: 2.5rem;
    }
    
    .contact-form-container {
        padding: 2.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .legal-content-card {
        padding: 2rem;
    }
}
