/* =============================================
   SANTA ROSA MALHAS - CSS Principal
   Design: Elegante - Azul Marinho + Dourado
   ============================================= */

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

:root {
    --navy:        #1a2744;
    --navy-dark:   #111b33;
    --navy-mid:    #243156;
    --navy-light:  #2e3d6b;
    --gold:        #2e6da4;
    --gold-light:  #4a8fc4;
    --gold-dark:   #1a5280;
    --white:       #ffffff;
    --off-white:   #f8f7f4;
    --gray-light:  #f0eff0;
    --gray:        #888;
    --gray-dark:   #444;
    --text:        #1a1a2e;
    --text-light:  #555;
    --border:      #e0ddd8;
    --shadow-sm:   0 2px 8px rgba(26,39,68,.08);
    --shadow-md:   0 8px 24px rgba(26,39,68,.12);
    --shadow-lg:   0 20px 50px rgba(26,39,68,.18);
    --transition:  all .3s ease;
    --radius:      8px;
    --radius-lg:   16px;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    line-height: 1.25;
    color: var(--navy);
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Topbar --- */
.topbar {
    background: var(--navy-dark);
    color: rgba(255,255,255,.75);
    font-size: .86rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(46,109,164,.2);
}
.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.topbar-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.topbar-info span { display: flex; align-items: center; gap: 6px; }
.topbar-info i { color: var(--gold); font-size: .7rem; }
.topbar-social { display: flex; gap: 12px; }
.topbar-social a {
    color: rgba(255,255,255,.6);
    font-size: .85rem;
    width: 26px; height: 26px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.15);
    transition: var(--transition);
}
.topbar-social a:hover { color: var(--gold); border-color: var(--gold); }

/* --- Navbar --- */
.navbar {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-bottom: 3px solid var(--gold);
}
.navbar.scrolled {
    box-shadow: var(--shadow-md);
}
.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 24px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.logo-img {
    height: 103px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-link {
    font-size: .97rem;
    font-weight: 500;
    color: var(--navy);
    padding: 8px 14px;
    border-radius: var(--radius);
    position: relative;
    transition: var(--transition);
    letter-spacing: .02em;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px; height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: transform .3s ease;
}
.nav-link:hover, .nav-link.active {
    color: var(--blue-mid);
    background: rgba(46,109,164,.08);
}
/* Botão Trabalhe Conosco quando ativo: fundo azul escuro, texto branco legível */
.nav-cta.active {
    background: var(--navy) !important;
    color: var(--white) !important;
    border-color: var(--navy) !important;
}
.nav-link:hover::after, .nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}
.nav-cta {
    background: var(--navy);
    color: var(--white) !important;
    padding: 9px 18px;
    border-radius: 6px;
    font-size: .9rem;
    display: flex; align-items: center; gap: 7px;
    border: 2px solid var(--navy);
}
.nav-cta::after { display: none; }
.nav-cta:hover {
    background: var(--blue-mid) !important;
    border-color: var(--blue-mid);
    color: var(--white) !important;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
}
.hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 998;
}
.mobile-overlay.show { display: block; }

/* --- Section Utilities --- */
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--white); }
.section-alt { background: var(--off-white); }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header.left { text-align: left; }
.section-tag {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .72rem; font-weight: 700;
    letter-spacing: .18em; text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}
.section-tag::before, .section-tag::after {
    content: '';
    display: block;
    width: 28px; height: 1px;
    background: var(--gold);
}
.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 16px;
}
.section-dark .section-title { color: var(--white); }
.section-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
}
.section-dark .section-subtitle { color: rgba(255,255,255,.7); }
.divider {
    width: 56px; height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px;
    margin: 16px auto 0;
}
.divider.left { margin-left: 0; }

/* --- Buttons --- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 28px;
    font-size: .9rem; font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    letter-spacing: .03em;
    text-transform: uppercase;
    font-size: .82rem;
}
.btn-primary {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}
.btn-primary:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46,109,164,.35);
}
.hero-btn-white {
    color: #fff !important;
    border-color: rgba(255,255,255,.7) !important;
    background: rgba(255,255,255,.15) !important;
}
.hero-btn-white:hover {
    background: rgba(255,255,255,.25) !important;
}
.hero-btn-white i {
    color: #fff !important;
}
.cta-btn-white {
    color: #fff !important;
    background: rgba(255,255,255,.15) !important;
    border-color: rgba(255,255,255,.7) !important;
}
.cta-btn-white:hover {
    background: rgba(255,255,255,.28) !important;
}
.cta-btn-white i {
    color: #fff !important;
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,.5);
}
.btn-outline:hover {
    background: rgba(255,255,255,.1);
    border-color: var(--white);
}
.btn-navy {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}
.btn-navy:hover {
    background: var(--navy-light);
    border-color: var(--navy-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-lg { padding: 16px 36px; font-size: .9rem; }
.btn-sm { padding: 9px 20px; font-size: .78rem; }

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--navy-dark);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://d2xsxph8kpxj0f.cloudfront.net/310519663457201787/8HBHnwFCG4PDY3BxU5hvaL/img-6744_d737fbd9.webp');
    background-size: cover;
    background-position: center;
    opacity: .22;
    transform: scale(1.05);
    transition: transform 8s ease;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(17,27,51,.95) 0%, rgba(26,39,68,.8) 60%, rgba(17,27,51,.6) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 80px 0;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(46,109,164,.15);
    border: 1px solid rgba(46,109,164,.35);
    color: var(--gold-light);
    font-size: .75rem; font-weight: 600;
    letter-spacing: .15em; text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
}
.hero-badge i { font-size: .7rem; }
.hero-title {
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
}
.hero-title .highlight {
    color: var(--gold);
    display: block;
}
.hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,.75);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 560px;
    font-family: 'Inter', sans-serif;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats {
    display: flex;
    gap: 36px;
    flex-wrap: wrap;
    padding-top: 36px;
    border-top: 1px solid rgba(255,255,255,.12);
}
.hero-stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}
.hero-stat-label {
    font-size: .78rem;
    color: rgba(255,255,255,.6);
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-top: 4px;
}
.hero-scroll {
    position: absolute;
    bottom: 32px; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: rgba(255,255,255,.4);
    font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
    z-index: 2;
    animation: bounce 2s infinite;
}
.hero-scroll i { font-size: 1rem; }
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* --- About Section (Home) --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}
.about-image-wrap {
    position: relative;
}
.about-image-main {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.about-image-badge {
    position: absolute;
    bottom: -24px; right: -24px;
    background: var(--navy-dark);
    color: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
}
.about-image-badge .badge-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
    display: block;
    color: #fff;
}
.about-image-badge .badge-text {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    display: block;
    color: #fff;
    margin-top: 4px;
}
.about-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: .97rem;
}
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 28px 0 32px;
}
.about-feature {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 14px;
    background: var(--off-white);
    border-radius: var(--radius);
    border-left: 3px solid var(--gold);
}
.about-feature i { color: var(--gold); font-size: .9rem; margin-top: 2px; flex-shrink: 0; }
.about-feature span { font-size: .85rem; font-weight: 500; color: var(--navy); }

/* --- Stats Section --- */
.stats-section {
    background: var(--navy);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}
.stats-section::before {
    content: '';
    position: absolute;
    top: -50%; left: -10%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(46,109,164,.08) 0%, transparent 70%);
    pointer-events: none;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.stat-card {
    text-align: center;
    padding: 32px 20px;
    border: 1px solid rgba(46,109,164,.15);
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,.03);
    transition: var(--transition);
}
.stat-card:hover {
    border-color: rgba(46,109,164,.4);
    background: rgba(46,109,164,.05);
    transform: translateY(-4px);
}
.stat-icon {
    width: 52px; height: 52px;
    background: rgba(46,109,164,.12);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    color: var(--gold);
    font-size: 1.2rem;
}
.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    font-size: .82rem;
    color: rgba(255,255,255,.6);
    letter-spacing: .06em;
    text-transform: uppercase;
    font-weight: 500;
}

/* --- Products Section --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(46,109,164,.3);
}
.product-card-img {
    height: 200px;
    overflow: hidden;
    background: var(--navy-dark);
    display: flex; align-items: center; justify-content: center;
    position: relative;
}
.product-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.08); }
.product-card-icon {
    font-size: 3rem;
    color: var(--gold);
    opacity: .8;
}
.product-card-body { padding: 24px; }
.product-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
}
.product-card-desc {
    font-size: .88rem;
    color: var(--text-light);
    line-height: 1.65;
}
.product-tag {
    display: inline-block;
    background: rgba(46,109,164,.1);
    color: var(--gold-dark);
    font-size: .7rem; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 50px;
    margin-bottom: 10px;
    border: 1px solid rgba(46,109,164,.25);
}

/* --- Quality Section --- */
.quality-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}
.quality-list { margin-top: 24px; }
.quality-item {
    display: flex; gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}
.quality-item:last-child { border-bottom: none; }
.quality-item-icon {
    width: 44px; height: 44px;
    background: rgba(46,109,164,.1);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    font-size: 1.1rem;
    flex-shrink: 0;
    border: 1px solid rgba(46,109,164,.2);
}
.quality-item-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 4px;
}
.quality-item-desc {
    font-size: .88rem;
    color: var(--text-light);
    line-height: 1.6;
}
.quality-image {
    position: relative;
}
.quality-image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.quality-image-overlay {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    background: linear-gradient(to top, rgba(26,39,68,.6) 0%, transparent 60%);
}
.quality-image-caption {
    position: absolute;
    bottom: 24px; left: 24px; right: 24px;
    color: var(--white);
}
.quality-image-caption h4 { font-size: 1.2rem; margin-bottom: 4px; }
.quality-image-caption p { font-size: .85rem; opacity: .8; }

/* --- Timeline (Empresa) --- */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
    content: '';
    position: absolute;
    left: 12px; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold), rgba(46,109,164,.1));
}
.timeline-item {
    position: relative;
    margin-bottom: 36px;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -34px; top: 6px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--gold);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--gold);
}
.timeline-year {
    font-size: .75rem; font-weight: 700;
    letter-spacing: .15em; text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px;
}
.timeline-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}
.timeline-desc {
    font-size: .9rem;
    color: var(--text-light);
    line-height: 1.65;
}

/* --- Page Hero (Subpages) --- */
.page-hero {
    background: var(--navy-dark);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/machines.jpg');
    background-size: cover;
    background-position: center;
    opacity: .1;
}
.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(17,27,51,.97) 0%, rgba(26,39,68,.9) 100%);
}
.page-hero-content {
    position: relative;
    z-index: 2;
}
.page-hero-tag {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .72rem; font-weight: 700;
    letter-spacing: .18em; text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}
.page-hero-tag i { font-size: .7rem; }
.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 12px;
}
.page-hero p {
    font-size: 1rem;
    color: rgba(255,255,255,.7);
    max-width: 560px;
    line-height: 1.7;
}
.breadcrumb {
    display: flex; align-items: center; gap: 8px;
    margin-top: 24px;
    font-size: .8rem;
    color: rgba(255,255,255,.5);
}
.breadcrumb a { color: rgba(255,255,255,.5); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: rgba(255,255,255,.25); }
.breadcrumb .current { color: var(--gold); }

/* --- Contact Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 56px;
    align-items: start;
}
.contact-info-card {
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
}
.contact-info-card h3 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 8px;
}
.contact-info-card > p {
    color: rgba(255,255,255,.65);
    font-size: .9rem;
    margin-bottom: 32px;
    line-height: 1.7;
}
.contact-detail {
    display: flex; gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}
.contact-detail-icon {
    width: 42px; height: 42px;
    background: rgba(46,109,164,.15);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    font-size: 1rem;
    flex-shrink: 0;
    border: 1px solid rgba(46,109,164,.2);
}
.contact-detail-label {
    font-size: .72rem; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
    color: rgba(255,255,255,.45);
    margin-bottom: 4px;
}
.contact-detail-value {
    font-size: .95rem;
    color: var(--white);
    line-height: 1.5;
}
.contact-detail-value a { color: var(--white); }
.contact-detail-value a:hover { color: var(--gold); }
.contact-map {
    margin-top: 28px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.1);
}
.contact-map iframe {
    width: 100%; height: 220px;
    display: block;
    filter: grayscale(30%) contrast(1.1);
}

/* --- Forms --- */
.form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}
.form-card h3 {
    font-size: 1.4rem;
    color: var(--navy);
    margin-bottom: 6px;
}
.form-card > p {
    font-size: .9rem;
    color: var(--text-light);
    margin-bottom: 28px;
    line-height: 1.6;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.form-group { margin-bottom: 18px; }
.form-label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 7px;
    letter-spacing: .02em;
}
.form-label .required { color: var(--gold-dark); margin-left: 2px; }
.form-control {
    width: 100%;
    padding: 11px 14px;
    font-size: .9rem;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    outline: none;
}
.form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(46,109,164,.12);
}
.form-control::placeholder { color: #aaa; }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }
.form-section-title {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold-dark);
    padding: 18px 0 10px;
    border-top: 1px solid var(--border);
    margin-top: 8px;
    margin-bottom: 4px;
}
.form-section-title:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.form-submit { margin-top: 24px; }
.form-submit .btn { width: 100%; justify-content: center; padding: 14px; }

/* Alert messages */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: .9rem;
    display: flex; align-items: center; gap: 10px;
}
.alert-success {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
}
.alert-error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}
.alert i { font-size: 1rem; }

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
    padding: 90px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(46,109,164,.06) 0%, transparent 70%);
    pointer-events: none;
}
.cta-section h2 { color: var(--white); font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,.7); font-size: 1rem; max-width: 500px; margin: 0 auto 36px; line-height: 1.7; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-section .btn-primary {
    background: rgba(255,255,255,.18);
    color: #fff;
    border-color: rgba(255,255,255,.7);
}
.cta-section .btn-primary:hover {
    background: rgba(255,255,255,.3);
    border-color: #fff;
}
.cta-section .btn-primary i { color: #fff; }

/* --- Footer --- */
.footer { background: var(--navy-dark); color: rgba(255,255,255,.7); }
.footer-top { padding: 72px 0 48px; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-logo-center {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo-img {
    height: 145px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
    gap: 48px;
}
.footer-logo {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 16px;
}
.footer-logo-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    display: block;
    line-height: 1.1;
}
.footer-logo-sub {
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
}
.footer-desc {
    font-size: .88rem;
    line-height: 1.75;
    margin-bottom: 20px;
    color: rgba(255,255,255,.55);
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 34px; height: 34px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.6);
    font-size: .85rem;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.footer-title {
    font-family: 'Inter', sans-serif;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 18px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    font-size: .88rem;
    color: rgba(255,255,255,.55);
    display: flex; align-items: center; gap: 8px;
    transition: var(--transition);
}
.footer-links a i { font-size: .65rem; color: var(--gold); }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact-list li {
    display: flex; gap: 12px;
    margin-bottom: 16px;
    align-items: flex-start;
}
.footer-contact-list i {
    color: var(--gold);
    font-size: .9rem;
    margin-top: 2px;
    flex-shrink: 0;
}
.footer-contact-list span, .footer-contact-list a {
    font-size: .88rem;
    color: rgba(255,255,255,.6);
    line-height: 1.6;
}
.footer-contact-list a:hover { color: var(--gold); }
.footer-bottom {
    padding: 22px 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.35); }

/* --- WhatsApp Float --- */
.whatsapp-float {
    position: fixed;
    bottom: 28px; right: 28px;
    width: 52px; height: 52px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 16px rgba(37,211,102,.45);
    z-index: 999;
    transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,.55); }

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 90px; right: 28px;
    width: 40px; height: 40px;
    background: var(--navy);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .85rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    z-index: 999;
    opacity: 0; visibility: hidden;
    transition: var(--transition);
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--gold); transform: translateY(-3px); }

/* --- Empresa Page --- */
.empresa-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: start;
}
.empresa-numbers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}
.empresa-number-card {
    background: var(--navy);
    color: var(--white);
    padding: 24px 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid rgba(46,109,164,.2);
}
.empresa-number-card .num {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    display: block;
    line-height: 1;
    margin-bottom: 6px;
}
.empresa-number-card .label {
    font-size: .75rem;
    color: rgba(255,255,255,.6);
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* --- Products Full Page --- */
.products-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.product-list-item {
    display: flex; gap: 16px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
    align-items: flex-start;
}
.product-list-item:hover {
    border-color: rgba(46,109,164,.4);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}
.product-list-icon {
    width: 40px; height: 40px;
    background: rgba(46,109,164,.1);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    font-size: .95rem;
    flex-shrink: 0;
    border: 1px solid rgba(46,109,164,.2);
}
.product-list-name {
    font-size: .95rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 4px;
}
.product-list-desc {
    font-size: .83rem;
    color: var(--text-light);
    line-height: 1.55;
}

/* --- Trabalhe Conosco --- */
.trabalhe-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    margin-bottom: 64px;
}
.trabalhe-benefits {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.benefit-item {
    display: flex; gap: 14px;
    align-items: flex-start;
    padding: 16px;
    background: var(--off-white);
    border-radius: var(--radius);
    border-left: 3px solid var(--gold);
}
.benefit-item i { color: var(--gold); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }
.benefit-item strong { display: block; font-size: .92rem; color: var(--navy); margin-bottom: 3px; }
.benefit-item p { font-size: .85rem; color: var(--text-light); line-height: 1.5; margin: 0; }

/* --- Produtos Intro Grid --- */
.produtos-intro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* --- Missão Visão Valores Grid --- */
.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* --- About CTA Buttons (below Conheça Nossa História) --- */
.about-cta-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
}

/* --- Button outline-navy --- */
.btn-outline-navy {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}
.btn-outline-navy:hover {
    background: var(--navy);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* --- Safe Area (iPhone notch/Dynamic Island) --- */
@supports (padding: max(0px)) {
    .navbar { padding-left: max(0px, env(safe-area-inset-left)); padding-right: max(0px, env(safe-area-inset-right)); }
    .topbar { padding-left: max(0px, env(safe-area-inset-left)); padding-right: max(0px, env(safe-area-inset-right)); }
    .footer { padding-left: max(0px, env(safe-area-inset-left)); padding-right: max(0px, env(safe-area-inset-right)); }
    .whatsapp-float { bottom: max(28px, env(safe-area-inset-bottom)); right: max(28px, env(safe-area-inset-right)); }
    .back-to-top { bottom: max(90px, calc(env(safe-area-inset-bottom) + 62px)); right: max(28px, env(safe-area-inset-right)); }
}

/* Prevent horizontal overflow globally */
body, html { max-width: 100%; overflow-x: hidden; }
* { max-width: 100%; }
img, video, iframe { max-width: 100%; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about-grid, .quality-grid, .empresa-grid, .contact-grid, .trabalhe-intro {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .mvv-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .produtos-intro-grid { grid-template-columns: 1fr; gap: 16px; }
    .about-image-badge { bottom: -16px; right: 16px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .quality-image img { height: 380px; }
    .logo-img { height: 80px; }
}

@media (max-width: 768px) {
    /* Topbar */
    .topbar { display: none; }

    /* Navbar */
    .hamburger { display: flex; }
    .navbar-content { padding: 10px 0; }
    .logo-img { height: 68px; }
    .nav-menu {
        position: fixed;
        top: 0; right: -100%;
        width: min(300px, 85vw); height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 24px 32px;
        gap: 4px;
        z-index: 999;
        box-shadow: var(--shadow-lg);
        transition: right .35s ease;
        overflow-y: auto;
    }
    .nav-menu.open { right: 0; }
    .nav-link { width: 100%; padding: 12px 16px; font-size: .95rem; }
    .nav-cta { width: 100%; justify-content: center; margin-top: 8px; }

    /* Hero */
    .hero { min-height: 100svh; }
    .hero-content { padding: 60px 0 80px; }
    .hero-title { font-size: clamp(1.9rem, 7vw, 2.6rem); }
    .hero-subtitle { font-size: .95rem; }
    .hero-stats { gap: 20px; flex-wrap: wrap; }
    .hero-stat-number { font-size: 1.8rem; }
    .hero-actions { flex-wrap: wrap; gap: 10px; }
    .hero-actions .btn { flex: 1 1 140px; justify-content: center; }

    /* Sections */
    .section { padding: 56px 0; }
    .section-sm { padding: 40px 0; }
    .section-title { font-size: 1.65rem; }
    .section-header { margin-bottom: 36px; }

    /* Grids */
    .about-grid, .quality-grid, .empresa-grid, .contact-grid, .trabalhe-intro {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .about-features { grid-template-columns: 1fr; }
    .about-image-main { height: 300px; }
    .about-image-badge { bottom: 16px; right: 16px; padding: 14px 18px; }
    .about-image-badge .badge-number { font-size: 1.8rem; }

    /* Stats */
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .stat-card { padding: 22px 14px; }
    .stat-number { font-size: 2rem; }

    /* Products */
    .products-grid { grid-template-columns: 1fr; }
    .products-list { grid-template-columns: 1fr; }

    /* Quality */
    .quality-image img { height: 280px; }
    .quality-item { gap: 12px; padding: 14px 0; }

    /* Empresa */
    .empresa-numbers { grid-template-columns: 1fr 1fr; gap: 12px; }
    .empresa-number-card { padding: 18px 14px; }
    .empresa-number-card .num { font-size: 1.6rem; }
    .timeline { padding-left: 28px; }

    /* Forms */
    .form-row { grid-template-columns: 1fr; }
    .form-card { padding: 28px 20px; }
    .contact-info-card { padding: 28px 20px; }
    .contact-map iframe { height: 200px; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-top { padding: 48px 0 36px; }
    .footer-logo-img { height: 110px; }
    .footer-logo-center { margin-bottom: 32px; padding-bottom: 28px; }

    /* CTA */
    .cta-section { padding: 60px 0; }
    .cta-actions { flex-direction: column; align-items: center; }
    .cta-actions .btn { width: 100%; max-width: 320px; justify-content: center; }

    /* Page Hero */
    .page-hero { padding: 56px 0 40px; }
    .page-hero h1 { font-size: clamp(1.7rem, 6vw, 2.4rem); }

    /* Trabalhe Conosco */
    .trabalhe-intro { margin-bottom: 40px; }

    /* Produtos Intro Grid */
    .produtos-intro-grid { grid-template-columns: 1fr; gap: 16px; }

    /* Missão Visão Valores */
    .mvv-grid { grid-template-columns: 1fr; gap: 20px; }

    /* About CTA Buttons */
    .about-cta-btns { flex-direction: column; }
    .about-cta-btns .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    /* Base */
    .container { padding: 0 14px; }
    html { font-size: 15px; }

    /* Navbar */
    .logo-img { height: 58px; }
    .navbar-content { padding: 8px 0; }

    /* Hero */
    .hero { min-height: 100svh; }
    .hero-content { padding: 50px 0 70px; }
    .hero-title { font-size: clamp(1.7rem, 8vw, 2.2rem); }
    .hero-stats { flex-direction: column; gap: 12px; }
    .hero-stat { display: flex; align-items: center; gap: 12px; }
    .hero-stat-number { font-size: 1.6rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }

    /* Sections */
    .section { padding: 44px 0; }
    .section-title { font-size: 1.45rem; }

    /* Stats */
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .stat-card { padding: 18px 10px; }
    .stat-number { font-size: 1.7rem; }
    .stat-icon { width: 40px; height: 40px; font-size: 1rem; }

    /* Empresa */
    .empresa-numbers { grid-template-columns: 1fr 1fr; gap: 10px; }
    .empresa-number-card { padding: 14px 10px; }
    .empresa-number-card .num { font-size: 1.4rem; }

    /* Forms */
    .form-card { padding: 20px 14px; }
    .contact-info-card { padding: 22px 14px; }
    .form-control { font-size: .88rem; padding: 10px 12px; }
    .form-submit .btn { padding: 13px; font-size: .82rem; }

    /* Footer */
    .footer-logo-img { height: 90px; }
    .footer-top { padding: 36px 0 28px; }

    /* Page Hero */
    .page-hero { padding: 44px 0 32px; }
    .page-hero h1 { font-size: clamp(1.5rem, 7vw, 2rem); }

    /* Products */
    .product-card-img { height: 160px; }
    .product-card-body { padding: 16px; }

    /* Quality */
    .quality-image img { height: 220px; }
    .quality-item-icon { width: 36px; height: 36px; font-size: .9rem; }

    /* Buttons */
    .btn-lg { padding: 13px 24px; font-size: .82rem; }

    /* WhatsApp / Back to top */
    .whatsapp-float { width: 46px; height: 46px; font-size: 1.3rem; bottom: 20px; right: 16px; }
    .back-to-top { bottom: 76px; right: 16px; }
}
