/* 
* FinançaBoa - Main Stylesheet
* Color Palette:
* - Background: #1a1c2c (dark indigo)
* - Accents: #f7b733 (sunny orange), #fc4a1a (terracotta)
* - Headings: #ffffff
* - Text: #e0e0e0
* - Buttons: gradient from #f7b733 to #fc4a1a
*/

/* === Reset & Base Styles === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #1a1c2c;
    padding-top: 5rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1.5rem;
}

a {
    color: #f7b733;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #fc4a1a;
    text-decoration: underline;
}

ul {
    list-style: none;
}

/* === Header & Navigation === */
.site-header {
    background-color: #1a1c2c;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.5rem 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    flex-shrink: 0;
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    width: 28px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

.menu-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #f7b733;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.menu-icon span:nth-child(1) { top: 0px; }
.menu-icon span:nth-child(2) { top: 8px; }
.menu-icon span:nth-child(3) { top: 16px; }

.menu-toggle:checked ~ .menu-icon span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

.menu-toggle:checked ~ .menu-icon span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.menu-toggle:checked ~ .menu-icon span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

.main-nav ul {
    display: flex;
    gap: 1.5rem;
}

.main-nav a {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
}

.main-nav a:hover {
    color: #f7b733;
    text-decoration: none;
}

/* === Hero Section === */
.hero {
    background-color: #2b2d42;
    background-image: linear-gradient(rgba(26, 28, 44, 0.8), rgba(26, 28, 44, 0.9)), url('./img/gTrR0D.jpg');
    background-size: cover;
    background-position: center;
    padding: 5rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #f7b733, #fc4a1a);
    color: #ffffff;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(247, 183, 51, 0.4);
    text-decoration: none;
}

.btn-primary {
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

/* === About Section === */
.about {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
}

.about-icon {
    font-size: 3rem;
    color: #f7b733;
    margin-bottom: 1.5rem;
}

/* === Services Section === */
.services {
    padding: 5rem 0;
    background-color: rgba(43, 45, 66, 0.3);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 1.5rem;
}

.service-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f7b733;
    margin-bottom: 1rem;
}

/* === Process Section === */
.process {
    padding: 5rem 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    text-align: center;
    padding: 1.5rem;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f7b733, #fc4a1a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -1rem;
    width: 2rem;
    height: 2px;
    background-color: #f7b733;
}

/* === Testimonials Section === */
.testimonials {
    padding: 5rem 0;
    background-color: rgba(43, 45, 66, 0.3);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
    position: relative;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 0.25rem;
}

.author-info p {
    margin-bottom: 0;
    font-size: 0.875rem;
    color: #f7b733;
}

/* === Contact Section === */
.contact {
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.contact-info h3 {
    margin-bottom: 2rem;
}

.contact-info p {
    margin-bottom: 2rem;
}

.contact-list {
    display: grid;
    gap: 1rem;
}

.contact-list li {
    display: flex;
    align-items: center;
}

.contact-form {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 2.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    color: #1a1c2c;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1c2c;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    background-color: #ffffff;
    color: #1a1c2c;
}

.form-control:focus {
    outline: none;
    border-color: #f7b733;
    box-shadow: 0 0 0 2px rgba(247, 183, 51, 0.2);
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.form-check input {
    margin-top: 0.3rem;
    margin-right: 0.75rem;
}

.form-check label {
    font-size: 0.9rem;
    color: #1a1c2c;
}

.form-check a {
    color: #fc4a1a;
}

.error-message {
    color: #fc4a1a;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* === Footer === */
.site-footer {
    background-color: #151728;
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #f7b733;
}

.contact-list, .legal-links {
    display: grid;
    gap: 1rem;
}

.legal-links a {
    transition: all 0.3s ease;
}

.legal-links a:hover {
    color: #fc4a1a;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* === Cookie Banner === */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(26, 28, 44, 0.95);
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 2rem;
    animation: slideUp 0.5s ease forwards;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-buttons {
    flex-shrink: 0;
}

/* === Legal Pages === */
.legal-page {
    padding: 5rem 0;
}

.legal-content {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 2rem;
}

.legal-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content ul, .legal-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-content ul li, .legal-content ol li {
    margin-bottom: 0.5rem;
}

/* === Thank You Page === */
.thank-you {
    padding: 5rem 0;
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-icon {
    font-size: 5rem;
    color: #f7b733;
    margin-bottom: 2rem;
}

/* === Animations === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

/* === Icon Styles === */
.icon-location:before {
    content: '📍';
    margin-right: 0.5rem;
}

.icon-phone:before {
    content: '📞';
    margin-right: 0.5rem;
}

.icon-email:before {
    content: '✉️';
    margin-right: 0.5rem;
}

/* === Responsive Styles === */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.75rem; }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 4rem;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .menu-icon {
        display: block;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #1a1c2c;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .menu-toggle:checked ~ .main-nav {
        max-height: 300px;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 1rem;
        gap: 0;
    }
    
    .main-nav ul li {
        width: 100%;
    }
    
    .main-nav ul li a {
        display: block;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .process-step:not(:last-child)::after {
        display: none;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .about, .services, .process, .testimonials, .contact {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 3.5rem;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .site-header {
        padding: 0.3rem 0;
    }
    
    .logo svg {
        width: 120px;
    }
    
    .menu-icon {
        width: 24px;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    .hero, .about, .services, .process, .testimonials, .contact {
        padding: 1.5rem 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
} 