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

:root {
    --primary-blue: #1a3b4d;
    --secondary-blue: #264a5e;
    --accent-green: #28a745;
    --accent-blue: #007bff;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-light: #e5e7eb;
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-strong: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        sans-serif;
    line-height: 1.7;
    font-size: 1rem;
    color: var(--text-dark);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section__header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.section__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.section__subtitle {
    font-size: 1.25rem;
    color: var(--text-medium);
    max-width: 600px;
}

@media (min-width: 768px) {
    .section__title {
        font-size: 2.75rem;
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-soft);
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 1.5rem;
    min-height: 70px;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--primary-blue);
    text-decoration: none;
}

.nav__logo img {
    width: auto;
    max-height: 56px;
    height: auto;
    display: block;
    object-fit: contain;
}

.nav__logo-text {
    letter-spacing: 0.02em;
}

.nav__toggle {
    display: none;
    background: transparent;
    border: 2px solid var(--border-light);
    font-size: 1.5rem;
    color: var(--primary-blue);
    cursor: pointer;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
}

.nav__menu {
    display: flex;
    list-style: none;
    gap: 1rem;
    align-items: center;
}

.nav__link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: color 0.2s ease;
    position: relative;
}

.nav__link:hover {
    color: var(--primary-blue);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: width 0.2s ease;
}

.nav__link:hover::after {
    width: 100%;
}

.nav__cta-button {
    background-color: var(--accent-green);
    color: white;
    text-decoration: none;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-block;
}

.nav__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Mobile Menu */
@media (max-width: 1150px) {
    .nav__toggle {
        display: block;
    }

    .nav__menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: white;
        box-shadow: var(--shadow-medium);
        gap: 0;
        display: none;
    }

    .nav__menu.active {
        display: flex;
    }

    .nav__item {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--border-light);
    }

    .nav__link {
        display: block;
        width: 100%;
        padding: 1rem;
    }

    .nav__link::after {
        display: none;
    }

    .nav__item--cta {
        padding: 1rem;
    }

    .nav__cta-button {
        width: 100%;
    }
}

/* Hero */
.hero {
    padding: 120px 0 4rem;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

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

.hero__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero__subtitle {
    font-size: 1.25rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero__cta {
    display: inline-block;
    background-color: var(--accent-blue);
    color: white;
    text-decoration: none;
    padding: 0.875rem 2rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero__cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-strong);
}

.hero__image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-strong);
}

@media (min-width: 968px) {
    .hero {
        padding: 140px 0 5rem;
    }

    .hero__container {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 3rem;
    }

    .hero__title {
        font-size: 3.25rem;
    }

    .hero__subtitle {
        font-size: 1.375rem;
    }
}

/* Comparison */
.comparison {
    padding: 4rem 0;
    background-color: var(--bg-white);
}

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

.comparison__card {
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border-light);
    box-shadow: var(--shadow-soft);
}

.comparison__card--problem {
    border-color: #fecaca;
    background-color: #fef2f2;
}

.comparison__card--solution {
    border-color: #bbf7d0;
    background-color: #f0fdf4;
}

.comparison__card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comparison__card--problem h3 {
    color: #991b1b;
}

.comparison__card--solution h3 {
    color: #166534;
}

.comparison__card ul {
    list-style: none;
}

.comparison__card li {
    padding: 0.625rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-medium);
    line-height: 1.7;
}

.comparison__card li::before {
    content: '•';
    position: absolute;
    left: 0.5rem;
    font-weight: bold;
}

.comparison__card--problem li::before {
    color: #dc2626;
}

.comparison__card--solution li::before {
    color: #16a34a;
}

@media (min-width: 968px) {
    .comparison {
        padding: 5rem 0;
    }

    .comparison__grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

/* Modalidades */
.modalidades {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

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

.modalidade__card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.modalidade__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.modalidade__icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.modalidade__card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
}

.modalidade__card p {
    color: var(--text-medium);
    line-height: 1.7;
}

@media (min-width: 968px) {
    .modalidades {
        padding: 5rem 0;
    }

    .modalidades__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

/* Vantagens */
.vantagens {
    padding: 4rem 0;
    background-color: var(--bg-white);
}

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

.vantagem__item {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.vantagem__item i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    display: inline-block;
}

.vantagem__item h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.vantagem__item p {
    color: var(--text-medium);
    line-height: 1.7;
}

@media (min-width: 768px) {
    .vantagens__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 968px) {
    .vantagens {
        padding: 5rem 0;
    }

    .vantagens__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Cotação */
.cotacao {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
}

.cotacao .section__title,
.cotacao .section__subtitle {
    color: white;
}

.cotacao__wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    max-width: 1000px;
    margin: 0 auto;
}

.cotacao__image img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
}

.cotacao__form {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form__group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.form__group label {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
}

.form__group input,
.form__group select {
    padding: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    background-color: var(--bg-white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form__group input:focus,
.form__group select:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form__submit {
    background-color: var(--accent-green);
    color: white;
    border: none;
    padding: 0.875rem 1.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 0.5rem;
}

.form__submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.form__submit:active {
    transform: translateY(0);
}

.form__note {
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 0.5rem;
}

@media (min-width: 968px) {
    .cotacao {
        padding: 5rem 0;
    }

    .cotacao__wrapper {
        grid-template-columns: 1fr 1.2fr;
    }

    .cotacao__form {
        padding: 2.5rem;
    }
}

/* Footer */
.footer {
    background-color: #0f172a;
    color: #e2e8f0;
    padding: 3rem 0 1rem;
}

.footer__container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #334155;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
    margin-bottom: 1rem;
}

.footer__logo img {
    width: auto;
    max-height: 64px;
    height: auto;
    display: block;
    object-fit: contain;
    background: #ffffff;
    padding: 8px 12px;
    border-radius: 10px;
}

.footer__slogan {
    color: #94a3b8;
    line-height: 1.7;
    max-width: 300px;
}

.footer__contact h4,
.footer__links h4 {
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer__contact ul,
.footer__links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer__contact li,
.footer__links li {
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer__contact i {
    color: #60a5fa;
    font-size: 1.125rem;
}

.footer__contact a,
.footer__links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer__contact a:hover,
.footer__links a:hover {
    color: white;
}

.footer__bottom {
    padding: 1.5rem 0 0.5rem;
    text-align: center;
}

.footer__bottom p {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer__legal {
    font-size: 0.85rem !important;
    color: #64748b !important;
    max-width: 800px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .footer__container {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

@media (min-width: 968px) {
    .footer__container {
        gap: 3rem;
    }
}

/* Accessibility - Focus states */
a:focus,
button:focus,
input:focus,
select:focus {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

/* Smooth scroll offset for fixed header */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Botão Flutuante WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 56px;
    height: 56px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    color: white;
}

.whatsapp-float:focus {
    outline: 2px solid #128c7e;
    outline-offset: 2px;
}

.whatsapp-float i {
    margin-top: 2px;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 16px;
        right: 16px;
        font-size: 30px;
    }
}
