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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #1f2933;
    background-color: #f8fafc;
}

/* Custom Properties - paleta Supergasbras */
:root {
    --sg-orange: #F15A22;
    --sg-orange-dark: #D84C1F;
    --sg-yellow: #FFC857;
    --sg-black: #050608;
    --sg-dark-gray: #1f2933;
    --sg-light-gray: #64748b;
    --sg-white: #ffffff;

    /* manter nomes antigos para reaproveitar o CSS/JS */
    --primary-blue: var(--sg-black);
    --light-blue: var(--sg-orange);
    --accent-yellow: var(--sg-orange);
    --yellow-hover: var(--sg-orange-dark);
    --dark-gray: var(--sg-dark-gray);
    --light-gray: var(--sg-light-gray);
    --white: var(--sg-white);
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-800: #111827;
    --slate-900: #020617;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    justify-content: center;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.btn-primary {
    background-color: var(--accent-yellow);
    color: #111827;
    box-shadow: 0 10px 25px rgba(241, 90, 34, 0.35);
}

.btn-primary:hover {
    background-color: var(--yellow-hover);
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(216, 76, 31, 0.4);
}

.btn-full {
    width: 100%;
}

/* Header */
.header {
    background-color: rgba(0, 0, 0, 0.95);
    color: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

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

.logo-icon {
    width: 2.4rem;
    height: 2.4rem;
    background-color: var(--accent-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111827;
    font-size: 1.2rem;
    font-weight: bold;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.logo-subtext {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #e5e7eb;
}

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

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-yellow);
    transition: width 0.2s ease;
}

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

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Banner Section */
.banner-section {
    background-color: var(--sg-black);
    color: var(--white);
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

/* Chevrons em laranja, inspirados nas peças da Supergasbras */
.banner-section::before,
.banner-section::after {
    content: "";
    position: absolute;
    top: -20%;
    bottom: -20%;
    left: -10%;
    width: 40%;
    background: linear-gradient(
        to right,
        #ffef9a 0%,
        #ffc857 20%,
        #ff9f1c 45%,
        #f15a22 70%,
        transparent 100%
    );
    clip-path: polygon(0 0, 65% 0, 100% 50%, 65% 100%, 0 100%);
    opacity: 0.4;
    pointer-events: none;
}

.banner-section::after {
    left: -18%;
    width: 32%;
    opacity: 0.2;
}

.banner-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image:
        radial-gradient(circle at 10% 20%, #f97316 0%, transparent 55%),
        radial-gradient(circle at 80% 0%, #fbbf24 0%, transparent 55%),
        radial-gradient(circle at 100% 80%, #f97316 0%, transparent 55%);
    mix-blend-mode: screen;
}

.banner-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.banner-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.banner-brand {
    display: block;
    color: var(--accent-yellow);
    font-size: 3.2rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.banner-description {
    font-size: 1.1rem;
    color: #e5e7eb;
    margin-bottom: 1.5rem;
    max-width: 540px;
}

.banner-phone {
    margin-top: 1.25rem;
    font-size: 0.95rem;
    color: #e5e7eb;
}

.banner-phone strong {
    color: var(--accent-yellow);
}

.banner-image {
    display: flex;
    justify-content: center;
    position: relative;
}

.cylinder-image {
    max-width: 360px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.8));
}

.decorative-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.decoration {
    position: absolute;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.decoration-1 {
    width: 2.2rem;
    height: 2.2rem;
    background-color: var(--accent-yellow);
    top: 0;
    right: 0.5rem;
    opacity: 0.9;
}

.decoration-2 {
    width: 1.7rem;
    height: 1.7rem;
    background-color: var(--sg-yellow);
    bottom: 0;
    left: 0.5rem;
    opacity: 0.8;
    animation-delay: 0.5s;
}

.banner-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2rem;
    background: linear-gradient(to top, var(--slate-50) 0%, transparent 100%);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--slate-50) 0%, #ffe9d7 50%, #fff 100%);
    padding: 4rem 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--sg-dark-gray);
    line-height: 1.1;
    margin-bottom: 1.3rem;
    text-transform: uppercase;
}

.hero-highlight {
    color: var(--accent-yellow);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--light-gray);
    font-weight: 500;
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero-illustrations {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.illustration-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeIn 0.6s ease-out;
}

.illustration-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.12);
}

.illustration-icon {
    width: 4.2rem;
    height: 4.2rem;
    background-color: var(--accent-yellow);
    color: #111827;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border: 4px solid rgba(0, 0, 0, 0.08);
    font-size: 1.8rem;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--sg-dark-gray);
    margin-bottom: 0.4rem;
}

.card-description {
    color: var(--light-gray);
}

.app-interface {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    animation: fadeIn 0.6s ease-out;
}

.app-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.app-icon {
    width: 3.4rem;
    height: 3.4rem;
    background-color: var(--accent-yellow);
    color: #111827;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.app-info {
    text-align: left;
}

.app-content {
    background: var(--slate-100);
    padding: 1rem;
    border-radius: 12px;
}

.location-card {
    background: var(--white);
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.location-indicator {
    width: 0.75rem;
    height: 0.75rem;
    background-color: var(--accent-yellow);
    border-radius: 50%;
}

.tracking-card {
    background-color: var(--accent-yellow);
    color: var(--sg-black);
    padding: 0.75rem;
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.map-link {
    color: var(--sg-black);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.map-link:hover {
    opacity: 0.8;
}

.map-link p {
    margin: 0;
    font-weight: 600;
}

/* Features Section */
.features-section {
    padding: 4rem 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--sg-dark-gray);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.section-description {
    font-size: 1.1rem;
    color: var(--light-gray);
    max-width: 640px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--slate-50);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    animation: fadeIn 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.feature-card:hover {
    background: #ffe9d7;
}

.feature-icon {
    width: 3.8rem;
    height: 3.8rem;
    background-color: var(--accent-yellow);
    color: #111827;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.9rem;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--sg-dark-gray);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-description {
    color: var(--light-gray);
}

/* Contact Section */
.contact-section {
    background-color: var(--sg-black);
    color: var(--white);
    padding: 4rem 0;
}

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

.contact-section .section-description {
    color: #bfdbfe;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--accent-yellow);
    color: #111827;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.contact-details h3 {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: var(--white);
}

.order-card {
    background: #111827;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

.order-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background-color: #020617;
    color: var(--white);
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

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

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

.social-link {
    color: #94a3b8;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--accent-yellow);
}

.footer-bottom {
    border-top: 1px solid #1f2937;
    padding-top: 2rem;
    text-align: center;
}

.copyright {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Toast Notification */
.toast {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1100;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.toast-icon {
    color: #10b981;
    font-size: 1.5rem;
}

.toast-text h4 {
    color: var(--dark-gray);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.toast-text p {
    color: var(--light-gray);
    font-size: 0.9rem;
}

.toast-close {
    background: none;
    border: none;
    color: var(--light-gray);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

/* ==== CARROSSEL SUPERGASBRAS ==== */

.banner-image {
    display: flex;
    justify-content: center;
    position: relative;
}

.banner-carousel {
    position: relative;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: radial-gradient(circle at top, rgba(255,255,255,0.1), transparent 60%);
}

.carousel-slide {
    opacity: 0;
    transition: opacity 0.8s ease;
    position: absolute;
    inset: 0;
}

.carousel-slide.active {
    opacity: 1;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.7));
}

/* Bolinhas */
.carousel-dots {
    margin-top: 14px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.dot {
    width: 11px;
    height: 11px;
    background-color: #f15a22;
    opacity: 0.35;
    border-radius: 50%;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.dot.active {
    opacity: 1;
    transform: scale(1.2);
}

/* ===== CAROUSEL CAPTIONS ===== */

.carousel-caption {
    text-align: center;
    margin-top: 12px;
    color: #fff;
}

.carousel-caption h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #F15A22; /* laranja Supergasbras */
}

.carousel-caption p {
    font-size: 0.95rem;
    color: #e5e5e5;
    line-height: 1.35rem;
}


/* Mobile: ocupar linha inteira abaixo do texto */
@media (max-width: 768px) {
    .banner-content {
        grid-template-columns: 1fr;
    }

    .banner-image {
        margin-top: 2rem;
    }
}


/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #000;
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
        border-top: 1px solid #1f2937;
    }

    .nav-menu.show {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .banner-content,
    .hero-content,
    .contact-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .banner-section::before,
    .banner-section::after {
        opacity: 0.25;
        left: -40%;
        width: 80%;
    }

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

    .banner-brand {
        font-size: 2.3rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .toast {
        right: 1rem;
        left: 1rem;
        top: auto;
        bottom: 2rem;
        transform: translateY(400px);
    }

    .toast.show {
        transform: translateY(0);
    }
}
