/* 
   Ideias da Anninha - Premium Design 
   Colors: Blue, White, dark text
*/

:root {
    --primary-color: #4a90e2;
    /* Soft creative blue */
    --primary-dark: #357abd;
    --accent-color: #ff6b6b;
    /* Playful coral/pink for highlights */
    --text-color: #333333;
    --text-light: #666666;
    --background: #ffffff;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --font-script: 'Pacifico', cursive;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--white) !important;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-primary {
    background-color: var(--primary-color);
}

.mt-2 {
    margin-top: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
    margin-left: 10px;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-whatsapp {
    background-color: #25D366;
    font-size: 1.2rem;
    padding: 15px 40px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    background-color: #128C7E;
}

.btn-cta {
    background-color: var(--accent-color);
    padding: 10px 25px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
}

.btn-cta:hover {
    background-color: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo span {
    color: var(--primary-color);
    font-family: var(--font-script);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px auto;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
    text-align: left;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--text-color);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 20px 20px 0px rgba(0, 0, 0, 0.05);
    transform: rotate(2deg);
    transition: transform 0.3s;
}

.hero-image img:hover {
    transform: rotate(0deg);
}

.hero-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

/* Animations */
.animate-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sections General */
.section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-color);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    display: block;
    margin-top: 15px;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-img img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-text .lead {
    font-size: 1.5rem;
    font-family: var(--font-script);
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-features {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.feature-card {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    flex: 1;
    min-width: 140px;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-img-wrapper {
    height: 250px;
    overflow: hidden;
    background-color: #fff;
    /* White background for letterboxing */
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Ensures full image visibility */
    transition: transform 0.5s;
}

.service-card:hover .service-img-wrapper img {
    transform: scale(1.1);
}

.service-img-placeholder {
    height: 200px;
    background-color: #f0f7ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-img-placeholder i {
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.5;
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.service-list {
    margin-top: 20px;
}

.service-list li {
    margin-bottom: 10px;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.service-list li i {
    color: var(--accent-color);
    margin-right: 10px;
    font-size: 0.9rem;
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.portfolio-item {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

/* How it Works */
.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.step-item {
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 0 0 10px var(--white);
}

.step-line {
    flex: 1;
    height: 3px;
    background-color: #e0e0e0;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

/* Info Bar */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.info-item i {
    font-size: 2.5rem;
    opacity: 0.8;
}

/* Contact */
.cta-box {
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
    padding: 60px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    text-align: center;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
}

.footer-logo span {
    color: var(--primary-color);
    font-family: var(--font-script);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-container,
    .about-grid {
        flex-direction: column;
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero-image {
        display: none;
        /* Hide hero image on smaller screens if too large, or adjust */
    }

    .about-content {
        order: -1;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        padding: 20px;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
        transition: 0.3s;
    }

    .nav-menu.active {
        left: 0;
    }

    .steps-container {
        flex-direction: column;
        gap: 30px;
    }

    .step-line {
        width: 3px;
        height: 50px;
        margin: 0 auto;
    }

    .info-grid {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .info-item {
        justify-content: flex-start;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-image,
    .about-img {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-image img,
    .about-img img {
        width: 100%;
    }

    /* Reveal hero image on mobile but stacked */
    .hero-image {
        display: block;
        margin-top: 20px;
    }
}

/* Modal Styles - Premium & Friendly */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    /* Frosted glass effect */
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.open {
    display: flex;
}

.modal-content {
    background-color: var(--white);
    padding: 50px;
    border-radius: 24px;
    width: 100%;
    max-width: 550px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    animation: modalSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 25px;
    right: 30px;
    color: #ccc;
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1;
}

.close-modal:hover {
    color: var(--accent-color);
    transform: rotate(90deg);
}

.modal-step {
    display: none;
}

.modal-step.active {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal h3 {
    margin-bottom: 10px;
    color: var(--primary-dark);
    font-size: 2rem;
    text-align: center;
}

.modal-step>p {
    color: var(--text-light);
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.1rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-dark);
    margin-left: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #edf2f7;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-color);
    background-color: #f8fbff;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.1);
}

.btn-full {
    width: 100%;
    margin-top: 15px;
    padding: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-outline-sm {
    background: transparent;
    border: 2px solid #e0e0e0;
    padding: 12px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-light);
    transition: 0.3s;
}

.btn-outline-sm:hover {
    border-color: var(--text-color);
    color: var(--text-color);
}

/* Pix Box */
.pix-box {
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f0fa 100%);
    border: 2px dashed var(--primary-color);
    padding: 30px 20px;
    border-radius: 20px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pix-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.pix-key-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: var(--white);
    padding: 15px 25px;
    border-radius: 12px;
    margin: 15px auto;
    width: fit-content;
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.1);
}

#pix-key {
    font-family: 'Courier New', monospace;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: -0.5px;
}

.btn-copy {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 1.4rem;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
}

.btn-copy:hover {
    transform: scale(1.1);
}

.pix-name {
    font-weight: 600;
    color: var(--text-color);
}

.instructions {
    text-align: left;
    margin-bottom: 30px;
    font-size: 0.95rem;
    background: #fcfcfc;
    padding: 20px;
    border-radius: 15px;
    border: 1px solid #eee;
}

.instructions p {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    text-align: left !important;
}

.instructions p strong {
    color: var(--primary-dark);
}

.modal-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}