/* ========================================
   EUROPAV ASFALTOS - Unique Design
   Cores da Logo: Azul #1e3a8a / Amarelo #eab308
   ======================================== */

:root {
    /* Brand Colors - Extraídas da Logo */
    --blue-900: #1e3a8a;
    --blue-800: #1e40af;
    --blue-700: #2563eb;
    --blue-600: #3b82f6;
    --yellow-500: #eab308;
    --yellow-400: #facc15;
    --yellow-600: #ca8a04;

    /* Neutrals */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --black: #020617;

    /* Functional */
    --whatsapp: #25d366;
    --success: #22c55e;
    --error: #ef4444;

    /* Typography */
    --font: 'Outfit', sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;
    --space-3xl: 8rem;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in: cubic-bezier(0.4, 0, 1, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font);
    background: var(--white);
    color: var(--gray-700);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ========================================
   Loader
   ======================================== */
#loader {
    position: fixed;
    inset: 0;
    background: var(--blue-900);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease), visibility 0.6s;
}

#loader.loaded {
    opacity: 0;
    visibility: hidden;
}

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

.loader-logo {
    display: flex;
    margin-bottom: 30px;
    justify-content: center;
}

.loader-logo img {
    height: 300px;
    width: auto;
    animation: loaderPulse 1.5s ease-in-out infinite;
}

@keyframes loaderPulse {
    0%, 100% { opacity: 0.5; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1); }
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255,255,255,0.2);
    border-radius: 3px;
    overflow: hidden;
}

.loader-progress {
    height: 100%;
    background: var(--yellow-500);
    animation: loaderBar 2s var(--ease) forwards;
}

@keyframes loaderBar {
    0% { width: 0; }
    100% { width: 100%; }
}

/* ========================================
   Navigation
   ======================================== */
#mainNav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 5px 0;
    transition: all 0.4s var(--ease);
}

#mainNav.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    padding: 5px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

.nav-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 150px;
    width: auto;
    transition: transform 0.3s var(--ease);
}

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

.nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    position: relative;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    padding: 8px 0;
    transition: color 0.3s;
}

#mainNav.scrolled .nav-links a {
    color: var(--gray-700);
}

.nav-links a::before {
    content: attr(data-text);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--yellow-500);
    clip-path: polygon(0 50%, 100% 50%, 100% 50%, 0 50%);
    transition: clip-path 0.4s var(--ease);
}

.nav-links a:hover::before {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.nav-system {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    transition: all 0.3s var(--ease);
    opacity: 0.6;
}

.nav-system img {
    width: 21px;
    height: 28px;
}

.nav-system:hover {
    color: var(--yellow-500);
    background: rgba(255,255,255,0.1);
    opacity: 1;
}

#mainNav.scrolled .nav-system {
    color: rgba(0,0,0,0.15);
}

#mainNav.scrolled .nav-system:hover {
    color: var(--blue-900);
    background: rgba(0,0,0,0.05);
    opacity: 1;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--yellow-500);
    color: var(--blue-900);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 50px;
    transition: all 0.3s var(--ease);
    overflow: hidden;
    position: relative;
}

.nav-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--blue-900);
    transform: translateX(-100%);
    transition: transform 0.4s var(--ease);
}

.nav-cta:hover::before {
    transform: translateX(0);
}

.nav-cta .cta-icon,
.nav-cta .cta-text {
    position: relative;
    z-index: 1;
    transition: color 0.3s;
}

.nav-cta:hover .cta-icon,
.nav-cta:hover .cta-text {
    color: var(--yellow-500);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    z-index: 1001;
}

.nav-toggle span {
    width: 28px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s var(--ease);
}

#mainNav.scrolled .nav-toggle span {
    background: var(--blue-900);
}

.nav-toggle.active span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:last-child {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--blue-900);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s var(--ease);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-links li {
    overflow: hidden;
}

.mobile-links a {
    display: flex;
    align-items: baseline;
    gap: 15px;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    padding: 15px 0;
    transform: translateY(100%);
    transition: transform 0.5s var(--ease), color 0.3s;
}

.mobile-menu.active .mobile-links a {
    transform: translateY(0);
}

.mobile-links li:nth-child(1) a { transition-delay: 0.1s; }
.mobile-links li:nth-child(2) a { transition-delay: 0.15s; }
.mobile-links li:nth-child(3) a { transition-delay: 0.2s; }
.mobile-links li:nth-child(4) a { transition-delay: 0.25s; }
.mobile-links li:nth-child(5) a { transition-delay: 0.3s; }

.mobile-links a span {
    font-size: 1rem;
    color: var(--yellow-500);
    font-weight: 400;
}

.mobile-links a:hover {
    color: var(--yellow-500);
}

.mobile-footer {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.mobile-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.mobile-social {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.mobile-social a {
    color: var(--gray-400);
    font-size: 1.25rem;
    transition: color 0.3s;
}

.mobile-social a:hover {
    color: var(--yellow-500);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 35px;
    background: var(--yellow-500);
    color: var(--blue-900);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 60px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--white);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s var(--ease);
}

.btn-primary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-primary .btn-text,
.btn-primary .btn-icon {
    position: relative;
    z-index: 1;
}

.btn-primary .btn-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    transition: transform 0.3s var(--ease);
}

.btn-primary:hover .btn-icon svg {
    transform: translateX(5px);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(234, 179, 8, 0.4);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 18px 35px;
    border: 2px solid rgba(255,255,255,0.3);
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 60px;
    transition: all 0.3s var(--ease);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--blue-900);
    border-color: var(--white);
}

/* ========================================
   Section Label
   ======================================== */
.section-label {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.label-number {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--yellow-500);
}

.label-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-label.light .label-number,
.section-label.light .label-text {
    color: var(--gray-400);
}

.text-accent {
    color: var(--yellow-500);
}

/* ========================================
   About Section
   ======================================== */
.about {
    padding: 150px 0;
    background: var(--gray-50);
    overflow: hidden;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.about-images {
    position: relative;
}

.img-main {
    position: relative;
    z-index: 2;
}

.img-main img {
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.img-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--yellow-500);
    color: var(--blue-900);
    padding: 25px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(234, 179, 8, 0.3);
}

.badge-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 600;
}

.img-secondary {
    position: absolute;
    top: 50%;
    right: -80px;
    width: 250px;
    z-index: 1;
    transform: translateY(-50%);
}

.img-secondary img {
    border-radius: 16px;
    border: 8px solid var(--white);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Elemento curvo decorativo */
.about-curve {
    position: absolute;
    top: -50px;
    left: -100px;
    width: 300px;
    height: 300px;
    border: 40px solid var(--blue-900);
    border-radius: 50%;
    opacity: 0.1;
}

.about-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 25px;
}

.about-text {
    font-size: 1.05rem;
    color: var(--gray-600);
    margin-bottom: 35px;
    line-height: 1.8;
}

.about-features {
    margin-bottom: 40px;
}

.feature {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-200);
}

.feature:last-child {
    border-bottom: none;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(30, 58, 138, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--blue-900);
    stroke-width: 2;
    fill: none;
}

.feature-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 3px;
}

.feature-content p {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--blue-900);
    transition: gap 0.3s var(--ease);
}

.link-arrow svg {
    width: 20px;
    height: 20px;
    stroke: var(--blue-900);
    stroke-width: 2;
    fill: none;
    transition: transform 0.3s var(--ease);
}

.link-arrow:hover {
    gap: 15px;
}

.link-arrow:hover svg {
    transform: translateX(5px);
}

/* ========================================
   Services Section
   ======================================== */
.services {
    padding: 150px 0;
    background: var(--white);
}

.services-header {
    max-width: 1400px;
    margin: 0 auto 80px;
    padding: 0 40px;
}

.services-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.2;
}

.services-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--gray-50);
    padding: 50px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--ease);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--yellow-500);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease);
}

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

.service-card:hover {
    background: var(--white);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    transform: translateY(-10px);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.card-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--gray-200);
    line-height: 1;
    transition: color 0.5s var(--ease);
}

.service-card:hover .card-number {
    color: rgba(234, 179, 8, 0.3);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--blue-900);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s var(--ease);
}

.service-card:hover .card-icon {
    background: var(--yellow-500);
}

.card-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--white);
    stroke-width: 2;
    fill: none;
    transition: stroke 0.5s var(--ease);
}

.service-card:hover .card-icon svg {
    stroke: var(--blue-900);
}

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

.service-card p {
    color: var(--gray-600);
    margin-bottom: 25px;
    line-height: 1.7;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--blue-900);
    transition: gap 0.3s var(--ease);
}

.card-link svg {
    width: 18px;
    height: 18px;
    stroke: var(--blue-900);
    stroke-width: 2;
    fill: none;
    transition: transform 0.3s var(--ease);
}

.card-link:hover {
    gap: 15px;
}

.card-link:hover svg {
    transform: translateX(5px);
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: var(--gray-900);
}

.cta-shape {
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    background: var(--yellow-500);
    border-radius: 50%;
    opacity: 0.1;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 40px;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--gray-400);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 35px;
    background: var(--whatsapp);
    color: var(--white);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 60px;
    transition: all 0.3s var(--ease);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 18px 35px;
    border: 2px solid rgba(255,255,255,0.3);
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 60px;
    transition: all 0.3s var(--ease);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--gray-900);
    border-color: var(--white);
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    padding: 150px 0;
    background: var(--white);
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 40px;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.info-card {
    display: flex;
    gap: 15px;
    padding: 25px;
    background: var(--gray-50);
    border-radius: 16px;
    transition: all 0.3s var(--ease);
}

.info-card:hover {
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

.info-icon {
    width: 45px;
    height: 45px;
    background: var(--blue-900);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--yellow-500);
    font-size: 1rem;
    flex-shrink: 0;
}

.info-content h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 5px;
}

.info-content p {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: var(--gray-100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    font-size: 1.1rem;
    transition: all 0.3s var(--ease);
}

.social-links a:hover {
    background: var(--blue-900);
    color: var(--yellow-500);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--gray-50);
    padding: 50px;
    border-radius: 24px;
}

.form-header {
    margin-bottom: 35px;
}

.form-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 5px;
}

.form-header p {
    color: var(--gray-500);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group.full {
    grid-column: span 2;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 18px 20px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s var(--ease);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue-900);
    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.1);
}

.form-group label {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: var(--gray-500);
    font-size: 0.95rem;
    pointer-events: none;
    transition: all 0.3s var(--ease);
    background: var(--white);
    padding: 0 5px;
}

.form-group textarea ~ label {
    top: 25px;
    transform: none;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group select:focus ~ label,
.form-group select:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: 0;
    font-size: 0.8rem;
    color: var(--blue-900);
    font-weight: 600;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.btn-submit {
    width: 100%;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    background: var(--blue-900);
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 12px;
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--yellow-500);
    transform: translateX(-100%);
    transition: transform 0.5s var(--ease);
}

.btn-submit:hover::before {
    transform: translateX(0);
}

.btn-submit .btn-text,
.btn-submit .btn-icon {
    position: relative;
    z-index: 1;
    transition: color 0.3s;
}

.btn-submit:hover .btn-text,
.btn-submit:hover .btn-icon {
    color: var(--blue-900);
}

.btn-submit svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--gray-900);
    padding: 80px 0 0;
}

.footer-top {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px 60px;
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 80px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    height: 120px;
    width: auto;
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--gray-400);
    max-width: 350px;
    line-height: 1.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 25px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    color: var(--gray-400);
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-col ul a:hover {
    color: var(--yellow-500);
}

.footer-col ul li i {
    color: var(--yellow-500);
    margin-right: 10px;
    font-size: 0.9rem;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: all 0.3s var(--ease);
}

.footer-social a:hover {
    background: var(--yellow-500);
    color: var(--blue-900);
}

/* ========================================
   WhatsApp Float
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.75rem;
    z-index: 999;
    transition: transform 0.3s var(--ease);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--whatsapp);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* ========================================
   Back to Top
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 100px;
    width: 50px;
    height: 50px;
    background: var(--blue-900);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    stroke: var(--yellow-500);
    stroke-width: 2;
    fill: none;
}

.back-to-top:hover {
    background: var(--yellow-500);
    transform: translateY(-5px);
}

.back-to-top:hover svg {
    stroke: var(--blue-900);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1200px) {
    .img-secondary {
        right: -40px;
    }

    .about-container,
    .contact-container {
        gap: 60px;
    }
}

@media (max-width: 1024px) {
    .nav-center {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-cta,
    .nav-system {
        display: none;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .about-left {
        max-width: 500px;
    }

    .img-secondary {
        position: static;
        width: 200px;
        margin-top: -80px;
        margin-left: auto;
    }

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

    .contact-container {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .about-title,
    .services-title,
    .contact-title {
        font-size: 2rem;
    }

    .img-badge {
        right: 0;
        bottom: -20px;
        padding: 20px;
    }

    .badge-number {
        font-size: 2rem;
    }

    .info-cards {
        grid-template-columns: 1fr;
    }

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

    .form-group.full {
        grid-column: span 1;
    }

    .contact-form-wrapper {
        padding: 30px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }

    .back-to-top {
        right: 90px;
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 20px;
    }

    .about-container,
    .services-header,
    .services-grid,
    .cta-content,
    .contact-container,
    .footer-top,
    .footer-bottom {
        padding-left: 20px;
        padding-right: 20px;
    }

    .mobile-links a {
        font-size: 1.8rem;
    }

    .service-card {
        padding: 30px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ========================================
   Avaliação Google
   ======================================== */
.google-rating {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    margin-bottom: 30px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    color: var(--gray-700);
    transition: border-color 0.3s var(--ease);
}

.google-rating:hover {
    border-color: var(--yellow-500);
}

.rating-score {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--gray-900);
}

.rating-stars {
    color: var(--yellow-500);
    letter-spacing: 2px;
}

.rating-text {
    font-size: 0.9rem;
    font-weight: 600;
}

.about-right .link-arrow {
    display: flex;
    width: fit-content;
}

/* ========================================
   FAQ
   ======================================== */
.faq {
    padding: 120px 0;
    background: var(--gray-50);
}

.faq-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}

.faq-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.2;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.faq-item[open] {
    border-color: var(--yellow-500);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 26px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--blue-900);
    font-size: 1.25rem;
    font-weight: 700;
    transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
    background: var(--yellow-500);
}

.faq-item summary h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gray-900);
}

.faq-item p {
    padding: 0 26px 24px;
    color: var(--gray-600);
    line-height: 1.7;
}

.faq-item p a {
    color: var(--blue-700);
    font-weight: 600;
    text-decoration: underline;
}

/* ========================================
   Contato / Formulário / Rodapé legal
   ======================================== */
.info-content a {
    color: inherit;
    transition: color 0.3s;
}

.info-content a:hover {
    color: var(--blue-700);
}

.form-privacy {
    margin: 5px 0 20px;
    font-size: 0.8rem;
    color: var(--gray-500);
    line-height: 1.5;
}

.form-privacy a {
    color: var(--blue-700);
    text-decoration: underline;
}

.footer-col ul li a i {
    color: var(--yellow-500);
    margin-right: 10px;
    font-size: 0.9rem;
}

.footer-legal p {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.footer-policies {
    margin-top: 6px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-policies a {
    color: var(--gray-400);
    text-decoration: underline;
    transition: color 0.3s;
}

.footer-policies a:hover {
    color: var(--yellow-500);
}

/* ========================================
   Acessibilidade
   ======================================== */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--yellow-500);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

@media (max-width: 1024px) {
    .faq-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

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

    .faq-title {
        font-size: 2rem;
    }

    .faq-item summary {
        padding: 18px 20px;
    }

    .faq-item p {
        padding: 0 20px 20px;
    }
}

@media (max-width: 480px) {
    .faq-container {
        padding: 0 20px;
    }
}

/* ========================================
   Containers compartilhados (Galeria / Parceiros)
   ======================================== */
.gallery-container,
.partners-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

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

.gallery-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.2;
}

/* ========================================
   Galeria
   ======================================== */
.gallery {
    padding: 120px 0;
    background: var(--white);
}

.gallery-header {
    margin-bottom: 30px;
}

.gallery-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.gallery-filter-btn {
    padding: 10px 22px;
    border-radius: 30px;
    border: 1px solid var(--gray-200);
    color: var(--gray-700);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s var(--ease);
}

.gallery-filter-btn:hover {
    border-color: var(--blue-900);
    color: var(--blue-900);
}

.gallery-filter-btn.active {
    background: var(--blue-900);
    border-color: var(--blue-900);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.gallery-item {
    position: relative;
    display: block;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--gray-100);
}

.gallery-item.hidden {
    display: none;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.gallery-item::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 58, 138, 0.55);
    color: var(--white);
    font-size: 1.6rem;
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
    opacity: 1;
}

.lightbox {
    border: none;
    padding: 0;
    background: transparent;
    max-width: 100vw;
    max-height: 100vh;
    width: 100vw;
    height: 100vh;
    margin: 0;
}

.lightbox[open] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox::backdrop {
    background: rgba(2, 6, 23, 0.92);
}

.lightbox-img {
    max-width: min(92vw, 1280px);
    max-height: 80vh;
    width: auto;
    height: auto;
    border-radius: 10px;
}

.lightbox-caption {
    margin-top: 14px;
    color: var(--gray-200);
    font-size: 0.95rem;
    text-align: center;
    padding: 0 20px;
}

.lightbox-close,
.lightbox-nav {
    position: fixed;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    color: var(--white);
    font-size: 2rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.lightbox-close:hover,
.lightbox-nav:hover {
    background: var(--yellow-500);
    color: var(--blue-900);
}

.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ========================================
   Parceiros
   ======================================== */
.partners {
    padding: 80px 0;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
}

.partners-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 40px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
}

.partners-grid li {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partners-grid img {
    width: 100%;
    max-width: 160px;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: filter 0.3s var(--ease), opacity 0.3s var(--ease);
}

.partners-grid li:hover img {
    filter: none;
    opacity: 1;
}

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .partners-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

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

    .gallery-title {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .lightbox-nav {
        top: auto;
        bottom: 20px;
        transform: none;
    }

    .partners-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .gallery-container,
    .partners-container {
        padding: 0 20px;
    }

    .partners-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

/* ========================================
   Briefing 2026-10: topo branco, logo chapada,
   capa em faixa e cards de serviços
   ======================================== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Loader e rodapé com a logo chapada sobre branco */
#loader {
    background: var(--white);
}

.loader-logo img {
    height: auto;
    width: 260px;
}

.loader-bar {
    background: var(--gray-200);
}

.footer-logo {
    height: auto;
    width: 150px;
    background: var(--white);
    padding: 12px 16px;
    border-radius: 12px;
}

/* Topo branco fixo */
#mainNav,
#mainNav.scrolled {
    background: var(--white);
    backdrop-filter: none;
    padding: 0;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: none;
}

.nav-container {
    height: 84px;
    gap: 32px;
}

.nav-logo img {
    height: 64px;
    width: auto;
}

.nav-logo:hover img {
    transform: none;
}

.nav-center {
    position: static;
    transform: none;
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-links {
    gap: 28px;
}

.nav-links a,
#mainNav.scrolled .nav-links a {
    color: var(--gray-800);
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.nav-links a::before {
    display: none;
}

.nav-links a:hover {
    color: var(--blue-900);
    border-color: var(--yellow-500);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-services {
    display: inline-flex;
    align-items: center;
    padding: 11px 20px;
    border: 2px solid var(--blue-900);
    border-radius: 50px;
    color: var(--blue-900);
    font-weight: 700;
    font-size: 0.85rem;
    transition: background 0.2s, color 0.2s;
}

.nav-services:hover {
    background: var(--blue-900);
    color: var(--white);
}

.nav-cta {
    padding: 13px 22px;
    border: none;
}

.nav-cta::before {
    display: none;
}

.nav-cta:hover {
    background: var(--blue-900);
}

.nav-toggle span,
#mainNav.scrolled .nav-toggle span {
    background: var(--blue-900);
}

.mobile-menu {
    padding-top: 84px;
}

.mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
}

.mobile-cta a {
    display: block;
    text-align: center;
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: 700;
}

.mobile-cta .mobile-cta-primary {
    background: var(--yellow-500);
    color: var(--blue-900);
}

.mobile-cta .mobile-cta-secondary {
    border: 2px solid var(--white);
    color: var(--white);
}

/* Capa: foto em faixa, só o slogan sobre ela */
.hero {
    position: relative;
    padding-top: 84px;
    background: var(--white);
}

.hero-band {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    /* Altura proporcional à largura: corta menos a foto da usina (4:3) e não amplia além do original */
    height: clamp(320px, 43vw, 600px);
    max-height: 72vh;
    overflow: hidden;
}

.hero-band img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 45%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.18);
}

.hero-content {
    position: absolute;
    inset: 0;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px 140px;
    display: flex;
    align-items: flex-end;
}

.slogan-text {
    display: inline-block;
    font-size: clamp(1.1rem, 2.4vw, 1.9rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    padding: 14px 28px;
    background: var(--yellow-500);
    color: var(--blue-900);
}

/* Quatro cards brancos sobrepondo a foto */
.hero-cards {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: -90px auto 0;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.hero-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 28px 26px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-top: 3px solid var(--yellow-500);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s var(--ease), border-color 0.2s;
}

.hero-card:hover {
    transform: translateY(-3px);
    border-color: var(--blue-900);
    border-top-color: var(--yellow-500);
}

.hero-card svg {
    width: 36px;
    height: 36px;
    stroke: var(--blue-900);
    stroke-width: 2.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-card h2 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--blue-900);
    line-height: 1.25;
}

.hero-card p {
    font-size: 0.95rem;
    color: var(--gray-900);
    line-height: 1.5;
}

.hero + .about {
    padding-top: 110px;
}

/* Logos de empresas: mesma caixa e proporção para todas */
.partners-grid li {
    aspect-ratio: 16 / 9;
    padding: 14px 18px;
}

.partners-grid img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
}

@media (max-width: 1320px) {
    .nav-center,
    .nav-right,
    .nav-system {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }
}

@media (max-width: 1024px) {
    .hero-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-container {
        height: 72px;
    }

    .nav-logo img {
        height: 52px;
    }

    .hero,
    .mobile-menu {
        padding-top: 72px;
    }

    .hero-band {
        height: 300px;
    }

    .hero-content {
        padding-bottom: 80px;
    }

    .hero-cards {
        margin-top: -50px;
        gap: 12px;
    }

    .hero-card {
        padding: 20px 18px;
    }

    .hero + .about {
        padding-top: 80px;
    }
}

@media (max-width: 560px) {
    .hero-cards {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-content,
    .hero-cards {
        padding-left: 20px;
        padding-right: 20px;
    }

    .slogan-text {
        letter-spacing: 2px;
        padding: 12px 18px;
    }
}

/* ========================================
   Páginas internas (2026-10)
   ======================================== */
.nav-links a[aria-current="page"] {
    color: var(--blue-900);
    border-color: var(--yellow-500);
}

.nav-services[aria-current="page"] {
    background: var(--blue-900);
    color: var(--white);
}

.mobile-links a {
    font-size: 1.7rem;
    padding: 8px 0;
}

.mobile-links a[aria-current="page"] {
    color: var(--yellow-500);
}

.mobile-links li:nth-child(6) a { transition-delay: 0.35s; }
.mobile-links li:nth-child(7) a { transition-delay: 0.4s; }

.mobile-footer {
    position: static;
    transform: none;
    margin-top: 30px;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-address {
    font-style: normal;
    color: var(--gray-400);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 20px;
}

.footer-address strong {
    color: var(--gray-200);
}

.footer-address a:hover {
    color: var(--yellow-500);
}

/* Topo das páginas internas */
.page-hero {
    padding: 140px 0 56px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.page-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 18px;
}

.breadcrumb li + li::before {
    content: '/';
    margin-right: 8px;
    color: var(--gray-400);
}

.breadcrumb a {
    color: var(--blue-900);
    font-weight: 600;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.15;
    max-width: 900px;
}

.page-lead {
    margin-top: 16px;
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 720px;
}

.services-page {
    padding: 80px 0;
}

.service-photo {
    margin: -50px -50px 30px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

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

/* Blocos de conteúdo */
.content-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px;
}

.content-muted {
    max-width: none;
    background: var(--gray-50);
    padding-left: max(40px, calc((100% - 1120px) / 2));
    padding-right: max(40px, calc((100% - 1120px) / 2));
}

.content-section h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 20px;
}

.content-section p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 14px;
}

.content-section a:not([class]) {
    color: var(--blue-900);
    font-weight: 700;
    text-decoration: underline;
}

.content-narrow {
    max-width: 760px;
}

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

.content-split-reverse .content-media {
    order: -1;
}

.content-media img {
    width: 100%;
    border-radius: 12px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.feature-box {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-top: 3px solid var(--yellow-500);
    border-radius: 12px;
    padding: 24px;
}

.feature-box h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--blue-900);
    margin-bottom: 8px;
}

.feature-box p {
    font-size: 0.95rem;
    color: var(--gray-700);
    margin: 0;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    color: var(--gray-700);
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 16px;
    height: 9px;
    border-left: 3px solid var(--blue-900);
    border-bottom: 3px solid var(--blue-900);
    transform: rotate(-45deg);
}

.steps-title {
    margin: 30px 0 14px;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--gray-900);
}

.steps {
    counter-reset: passo;
}

.steps li {
    counter-increment: passo;
    position: relative;
    padding-left: 46px;
    margin-bottom: 14px;
    color: var(--gray-700);
    min-height: 32px;
}

.steps li::before {
    content: counter(passo);
    position: absolute;
    left: 0;
    top: -2px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--yellow-500);
    color: var(--blue-900);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Onde estamos */
.map-wrap {
    display: flex;
    justify-content: center;
}

.brazil-map {
    width: 100%;
    max-width: 520px;
    height: auto;
}

.map-uf {
    fill: var(--gray-200);
    stroke: var(--white);
    stroke-width: 1.5;
}

.map-pr {
    fill: var(--blue-900);
    stroke: var(--white);
    stroke-width: 1.5;
}

.map-pin {
    fill: var(--yellow-500);
    stroke: var(--white);
    stroke-width: 3;
}

.map-pin-halo {
    fill: var(--yellow-500);
    opacity: 0.35;
}

.map-label {
    font-family: var(--font);
    font-size: 20px;
    font-weight: 800;
    fill: var(--gray-900);
    paint-order: stroke;
    stroke: var(--white);
    stroke-width: 5px;
}

.location-card {
    font-style: normal;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-left: 4px solid var(--yellow-500);
    border-radius: 12px;
    padding: 20px 24px;
    margin: 24px 0;
    color: var(--gray-700);
    line-height: 1.8;
}

.location-card strong {
    color: var(--blue-900);
}

.location-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-map {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 50px;
    background: var(--blue-900);
    color: var(--white);
    font-weight: 700;
    transition: background 0.2s;
}

.btn-map:hover {
    background: var(--blue-800);
}

.btn-map-alt {
    background: var(--yellow-500);
    color: var(--blue-900);
}

.btn-map-alt:hover {
    background: var(--yellow-400);
}

.map-embed iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
}

/* Empresas: logos que ainda não chegaram aparecem com o nome na mesma caixa */
.partners-grid .partner-name span {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--gray-500);
    text-align: center;
    line-height: 1.2;
}

/* Faixa de chamada: azul chapado, sem decoração */
.cta-bg {
    background: var(--blue-900);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 1024px) {
    .content-split {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }

    .content-split-reverse .content-media {
        order: 0;
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 110px 0 40px;
    }

    .content-section {
        padding: 56px 40px;
    }

    .content-section h2 {
        font-size: 1.6rem;
    }

    .service-photo {
        margin: -30px -30px 24px;
    }

    .map-embed iframe {
        height: 320px;
    }
}

@media (max-width: 480px) {
    .page-hero-inner,
    .content-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .feature-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.breadcrumb ol,
.steps {
    list-style: none;
}

.footer-col ul li {
    color: var(--gray-400);
}

/* Foto do produto (saco) mantém a proporção original */
.content-media img.img-produto {
    aspect-ratio: auto;
    max-width: 480px;
    margin: 0 auto;
}

/* Seta no canto dos cards da capa: indica que o card é clicável */
.hero-card {
    position: relative;
}

.hero-card::after {
    content: '';
    position: absolute;
    top: 22px;
    right: 22px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--gray-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e3a8a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 18px no-repeat;
    transition: background-color 0.2s, transform 0.2s var(--ease);
}

.hero-card:hover::after,
.hero-card:focus-visible::after {
    background-color: var(--yellow-500);
    transform: translateX(3px);
}

.hero-card h2 {
    padding-right: 40px;
}

/* Topo das páginas internas com foto (ex.: Massa Ensacada) */
.page-hero-split .page-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: 48px;
    align-items: center;
}

.page-hero-media img {
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    border-radius: 12px;
}

@media (max-width: 768px) {

    .page-hero-split .page-hero-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    /* No celular a foto vem logo abaixo do título e do texto de abertura */

    .page-hero-media img {
        max-width: 260px;
        margin: 0 auto;
    }
}

/* Slogan embaixo, alinhado à direita, quase encostado nos cards; no celular fica menor para cobrir menos a foto */
.hero-content {
    justify-content: flex-end;
    padding-bottom: 104px;
}

@media (max-width: 768px) {
    .slogan-text {
        font-size: 0.8rem;
        letter-spacing: 1.5px;
        padding: 8px 14px;
    }

    .hero-content {
        padding-bottom: 60px;
    }
}

/* Celular: slogan sai da foto e vai para a barra do topo, logo após a logo */
.nav-slogan {
    display: none;
}

@media (max-width: 768px) {
    .nav-slogan {
        display: inline-block;
        margin-left: 12px;
        margin-right: auto;
        padding: 6px 10px;
        background: var(--yellow-500);
        color: var(--blue-900);
        font-size: 0.68rem;
        font-weight: 800;
        letter-spacing: 1px;
        text-transform: uppercase;
        line-height: 1.2;
        white-space: nowrap;
    }

    .hero-slogan {
        display: none;
    }
}

.nav-logo,
.nav-toggle {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    /* O espaçamento do desktop empurrava o botão do menu para fora da tela */
    .nav-container {
        gap: 0;
    }

    .nav-toggle {
        margin-right: -10px;
    }
}

/* Telas estreitas: letra menor em uma linha; abaixo de 360px quebra em duas linhas */
@media (max-width: 420px) {
    .nav-slogan {
        font-size: 0.62rem;
        letter-spacing: 0.5px;
        padding: 6px 8px;
    }
}

@media (max-width: 360px) {
    .nav-slogan {
        white-space: normal;
        max-width: 165px;
        text-align: center;
        font-size: 0.58rem;
    }
}

/* Sobre nós: quadro pequeno da massa ensacada na frente da foto principal */
.img-front {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 170px;
    z-index: 3;
    transition: transform 0.2s var(--ease);
}

.img-front img {
    border-radius: 16px;
    border: 8px solid var(--white);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.img-front:hover {
    transform: translateY(-4px);
}

@media (max-width: 1024px) {
    .img-front {
        right: -10px;
        top: -30px;
        width: 140px;
    }
}

@media (max-width: 480px) {
    .img-front {
        right: -6px;
        top: -24px;
        width: 110px;
    }

    .img-front img {
        border-width: 5px;
        border-radius: 12px;
    }
}

/* Marca d'água do Sobre nós: símbolo EA da logo (no lugar do anel), em cor única e bem clara */
.about-curve {
    top: -120px;
    left: -50px;
    width: 340px;
    height: 189px;
    border: 0;
    border-radius: 0;
    background: var(--blue-900);
    -webkit-mask: url("../assets/img/logo-marca.png") center / contain no-repeat;
    mask: url("../assets/img/logo-marca.png") center / contain no-repeat;
    opacity: 0.1;
}

@media (max-width: 480px) {
    .about-curve {
        top: -86px;
        left: -14px;
        width: 200px;
        height: 111px;
    }
}

/* Home: cabeçalho das seções Nossas Obras e Empresas (título à esquerda, link à direita) */
.home-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.home-section-head h2,
.home-section-head .partners-title {
    margin: 0;
    text-align: left;
}

.home-massa .content-media img.img-produto {
    max-width: 420px;
}

.home-massa .location-actions {
    margin-top: 24px;
}

/* Cards da capa sem ícone: título logo no topo, alinhado com a seta */
.hero-card h2 {
    margin-top: 4px;
}

/* Empresas alinhadas com as demais seções */
.partners-container {
    max-width: 1200px;
}
