/* 
 * Verifica Finance - Main Stylesheet
 * Colors:
 * - Dark ultramarine: #1D3557
 * - Bright vermilion: #E63946
 * - Warm sand: #F1FAEE
 * - Elegant pearl: #A8DADC
 * - Contrast anthracite: #343A40
 */

/* Base styles and resets */
:root {
    --color-primary: #1D3557;
    --color-accent: #E63946;
    --color-light: #F1FAEE;
    --color-subtle: #A8DADC;
    --color-dark: #343A40;
    --border-radius: 1rem;
    --box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-light);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-primary);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-primary);
    margin-bottom: 2rem;
}

h1 {
    font-size: 4.8rem;
}

h2 {
    font-size: 3.6rem;
    position: relative;
    margin-bottom: 4rem;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 6rem;
    height: 0.4rem;
    background-color: var(--color-accent);
    border-radius: 0.2rem;
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1.6rem;
}

section {
    padding: 8rem 0;
}

section:nth-child(even) {
    background-color: white;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.4rem 3rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1.6rem;
}

.btn-primary {
    background-color: var(--color-accent);
    color: white;
}

.btn-primary:hover {
    background-color: var(--color-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.btn-secondary {
    background-color: var(--color-primary);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--color-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

/* Header */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--color-primary);
}

.logo svg {
    width: 4rem;
    height: 4rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 3rem;
}

nav a {
    color: var(--color-dark);
    font-weight: 600;
}

nav a:hover {
    color: var(--color-accent);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 2.5rem;
    color: var(--color-primary);
}

/* Hero Section */
.hero-section {
    padding: 8rem 0;
    background-color: var(--color-light);
}

.hero-section .container {
    display: flex;
    align-items: center;
    gap: 6rem;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    margin-bottom: 2rem;
}

.hero-content p {
    font-size: 2rem;
    margin-bottom: 3rem;
}

.hero-image {
    flex: 1;
    max-height: 500px;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* About Section */
.about-section .container {
    display: flex;
    align-items: center;
    gap: 6rem;
}

.about-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-content {
    flex: 1;
}

.about-features {
    list-style: none;
    margin-top: 2rem;
}

.about-features li {
    margin-bottom: 1rem;
    color: var(--color-primary);
    font-weight: 600;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.service-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    margin-bottom: 2rem;
}

.service-card h3 {
    margin-bottom: 1.5rem;
}

.service-card ul {
    margin-top: 1.5rem;
    padding-left: 2rem;
}

.service-card li {
    margin-bottom: 0.8rem;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.benefit-item {
    background-color: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    margin-bottom: 1.5rem;
}

.benefit-item h3 {
    margin-bottom: 1rem;
}
.testimonials-section h2{
    text-align: center;
}
/* Testimonials Section */
.testimonials-grid {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.testimonial-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--box-shadow);
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.testimonial-author img {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    margin-bottom: 0.5rem;
}

.testimonial-author p {
    margin-bottom: 0;
    font-size: 1.4rem;
    color: var(--color-dark);
}

/* Contact Section / Form */
.contact-section {
    background-color: var(--color-primary);
    color: white;
}

.contact-section h2 {
    color: #000000;
    text-align: center;
}

.contact-section h2:after {
    background-color: var(--color-light);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 4rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--color-dark);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1.4rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1.6rem;
    background-color: white;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.checkbox-group input {
    width: auto;
    margin-top: 0.4rem;
}

.checkbox-group label {
    margin-bottom: 0;
}

/* FAQ Section */
.faq-container {
    margin-top: 4rem;
}

.faq-item {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #eee;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.faq-item p {
    margin-bottom: 0;
}

/* Footer */
footer {
    background-color: var(--color-dark);
    color: white;
    padding: 5rem 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.footer-section p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--color-subtle);
}

.contact-info {
    list-style: none;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.copyright {
    margin-top: 4rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.4rem;
}

/* Cookie popup */
.cookie-popup {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(52, 58, 64, 0.95);
    color: white;
    padding: 1.5rem;
    z-index: 2000;
}

.cookie-popup.show {
    display: block;
    animation: slideUp 0.5s forwards;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cookie-content p {
    margin-right: 2rem;
    margin-bottom: 0;
}

.cookie-content a {
    color: var(--color-subtle);
}

/* Animations */
@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    html {
        font-size: 60%;
    }
    
    .hero-section .container,
    .about-section .container {
        flex-direction: column-reverse;
        gap: 4rem;
    }
    
    .hero-image,
    .about-image {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 58%;
    }
    
    section {
        padding: 6rem 0;
    }
    .testimonials-grid, .services-grid, .benefits-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        gap: 0;
        padding: 2rem;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 1rem 0;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    html {
        font-size: 55%;
    }
    
    h1 {
        font-size: 3.6rem;
    }
    
    h2 {
        font-size: 2.8rem;
    }
    
    .service-card,
    .benefit-item,
    .testimonial-card {
        padding: 2rem;
    }
    
    .contact-form {
        padding: 2.5rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* Form Errors */
.alert {
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: var(--border-radius);
}

.alert-error {
    background-color: rgba(230, 57, 70, 0.1);
    border-left: 4px solid var(--color-accent);
    color: var(--color-accent);
}

.alert p {
    margin-bottom: 0.5rem;
}

.alert p:last-child {
    margin-bottom: 0;
} 