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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    min-height: 100vh;
}

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

/* Header */
header {
    background: transparent;
    backdrop-filter: none;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: none;
    transition: background 220ms ease, padding 200ms ease, box-shadow 200ms ease;
}

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

.logo h1 {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    transition: color 200ms ease;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.25s ease;
}

.nav-links a:hover {
    color: #fff9f2;
}

/* Dark nav when header scrolled */
header.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(6px);
    box-shadow: 0 6px 30px rgba(0,0,0,0.12);
}
header.scrolled .nav-links a { color: #333; }
header.scrolled .logo h1 { color: #FF6B35; }

.menu-toggle {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: calc(100vh - 80px);
    padding: 120px 2rem 2rem;
    color: white;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-image {
    flex: 1;
    text-align: center;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-image {
    flex: 1;
    text-align: center;
    animation: fadeInUp 1s ease-out 0.4s both;
    overflow: hidden;
    border-radius: 20px; /* bordas arredondadas do hero */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.hero-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0; /* o container tem o border-radius; manter a imagem sem radius evita artefatos */
    max-height: calc(100vh - 160px); /* keep image within hero area */
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(45deg, #FF6B35, #FF8C42);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.6);
}

.btn-secondary {
    background: linear-gradient(45deg, #FFA500, #FF4500);
}

/* Sections */
section {
    padding: 80px 0;
}

.section-white {
    background: white;
    color: #333;
}

.section-orange {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    color: white;
}

.about h2, .advantages h2, .procedures h2, .faq h2, .contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.about p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Advantages */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.advantage-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.advantage-card i {
    font-size: 3rem;
    color: #FF6B35;
    margin-bottom: 1rem;
}

.advantage-card h3 {
    font-size: 1.2rem;
    color: #333;
}

/* Procedures */
.procedures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.procedure-card {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
    transition: transform 0.3s;
}

.procedure-card:hover {
    transform: translateY(-5px);
}

.procedure-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.procedure-card h3 {
    font-size: 1.1rem;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

details {
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

summary {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: #333;
    transition: background 0.3s;
}

summary:hover {
    background: rgba(255, 255, 255, 0.2);
}

details p {
    padding: 0 1.5rem 1.5rem;
    color: #666;
}

/* Contact */
.contact-info {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.schedule, .location {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.schedule h3, .location h3 {
    color: #FF6B35;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.social-links {
    margin-top: 1rem;
}

.social-links a {
    color: white;
    margin: 0 1rem;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #FF6B35;
}

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

/* Reveal helper (used by JS) */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
    will-change: opacity, transform;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Section divider (wave) */
.divider {
    height: 70px;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}
.divider svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* Floating CTA */
.float-cta {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(45deg, #25D366, #128C7E);
    color: white;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    z-index: 1200;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.float-cta:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,0.28); }

/* Header small state */
header.scrolled { backdrop-filter: blur(6px); padding: 8px 2rem; box-shadow: 0 6px 30px rgba(0,0,0,0.12); }

/* Section heading color adjustments */
.section-orange h2 { color: #fff; }
.section-white h2 { color: #333; }

/* Subtle floating animation for icons */
.advantage-card i, .procedure-card i {
    display: inline-block;
    animation: floatIcon 6s ease-in-out infinite;
}
@keyframes floatIcon {
    0% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 1rem 2rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    nav {
        padding: 1rem;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 0;
        text-align: center;
        padding: 1rem;
    }

    .menu-toggle {
        display: block;
    }

    .advantages-grid, .procedures-grid {
        grid-template-columns: 1fr;
    }

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