/* ============================================
   TCN Assessoria Contabil - Main Stylesheet
   Color Palette based on logo (black/white):
   Primary Dark: #111111
   Secondary Dark: #1a1a2e
   Accent Gold: #c9a84c
   Light: #f5f5f5
   ============================================ */

/* === RESET & BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* === TOP BAR === */
.top-bar {
    background: #111;
    color: #ccc;
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid #222;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.top-bar-left a {
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-left a:hover {
    color: #c9a84c;
}

.top-bar-right {
    display: flex;
    gap: 12px;
}

.top-bar-right a {
    color: #ccc;
    font-size: 1rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.top-bar-right a:hover {
    color: #c9a84c;
    transform: scale(1.2);
}

/* === NAVBAR === */
.navbar {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255,255,255,0.97);
    box-shadow: 0 2px 30px rgba(0,0,0,0.12);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.navbar-brand img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-links a {
    color: #333;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 20px 14px;
    position: relative;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: #c9a84c;
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #c9a84c;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 70%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    padding: 10px;
}

/* === HERO === */
.hero {
    background: linear-gradient(135deg, #111 0%, #1a1a2e 50%, #111 100%);
    color: #fff;
    text-align: center;
    padding: 100px 20px 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="p" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(201,168,76,0.08)"/></pattern></defs><rect width="100" height="100" fill="url(%23p)"/></svg>');
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-logo {
    max-width: 300px;
    margin: 0 auto 30px;
    filter: drop-shadow(0 4px 20px rgba(201,168,76,0.3));
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.hero h1 span {
    color: #c9a84c;
}

.hero p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 10px;
}

.hero-contact {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.hero-contact a {
    color: #c9a84c;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.hero-contact a:hover {
    transform: translateY(-2px);
    color: #d4b85c;
}

.hero-cta {
    margin-top: 35px;
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: #c9a84c;
    color: #111;
}

.btn-primary:hover {
    background: #d4b85c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201,168,76,0.4);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
    margin-left: 15px;
}

.btn-outline:hover {
    border-color: #c9a84c;
    color: #c9a84c;
}

.btn-secondary {
    background: #1a1a2e;
    color: #fff;
}

.btn-secondary:hover {
    background: #252545;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.85rem;
}

/* === ALERT BAR === */
.alert-bar {
    background: linear-gradient(90deg, #b91c1c, #dc2626);
    color: #fff;
    padding: 12px 20px;
    text-align: center;
    font-size: 0.9rem;
    position: relative;
}

.alert-bar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.alert-bar i {
    font-size: 1.2rem;
}

.alert-bar strong {
    text-transform: uppercase;
}


/* === SECTIONS === */
.section {
    padding: 80px 0;
}

.section-light {
    background: #fff;
}

.section-gray {
    background: #f8f9fa;
}

.section-dark {
    background: #111;
    color: #fff;
}

.section-accent {
    background: linear-gradient(135deg, #1a1a2e, #111);
    color: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-dark .section-header h2,
.section-accent .section-header h2 {
    color: #fff;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #c9a84c;
    margin: 15px auto 0;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.section-dark .section-header p,
.section-accent .section-header p {
    color: rgba(255,255,255,0.7);
}

/* === ABOUT SECTION === */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h3 {
    font-size: 1.6rem;
    color: #111;
    margin-bottom: 20px;
}

.about-content p {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-image {
    position: relative;
}

.about-image-placeholder {
    background: linear-gradient(135deg, #1a1a2e, #2a2a4e);
    border-radius: 8px;
    padding: 60px 40px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.about-image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(201,168,76,0.15), transparent);
    pointer-events: none;
}

.about-image-placeholder i {
    font-size: 4rem;
    color: #c9a84c;
    margin-bottom: 20px;
    display: block;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-box {
    text-align: center;
    padding: 25px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-bottom: 3px solid #c9a84c;
}

.stat-box .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #c9a84c;
    display: block;
}

.stat-box .stat-label {
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
    display: block;
}

/* === SERVICES === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    border-top-color: #c9a84c;
}

.service-card .service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #f8f4e8, #fdf6e3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 1.8rem;
    color: #c9a84c;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #111;
}

.service-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}

/* === IRPF Section === */
.irpf-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.irpf-info h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #fff;
}

.irpf-info p {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    margin-bottom: 15px;
}

.irpf-docs {
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 30px;
    border: 1px solid rgba(201,168,76,0.2);
}

.irpf-docs h3 {
    color: #c9a84c;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.irpf-docs ul {
    list-style: none;
}

.irpf-docs ul li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.irpf-docs ul li:last-child {
    border-bottom: none;
}

.irpf-docs ul li i {
    color: #c9a84c;
    font-size: 0.8rem;
}

/* === NEWS / Informativos === */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
}

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

.news-card-image {
    height: 180px;
    background: linear-gradient(135deg, #1a1a2e, #2a2a4e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c9a84c;
    font-size: 3rem;
}

.news-card-body {
    padding: 25px;
}

.news-card-body .news-date {
    font-size: 0.8rem;
    color: #c9a84c;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.news-card-body h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #111;
}

.news-card-body p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.7;
}

/* === FORMS / Formularios === */
.forms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-download-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #c9a84c;
}

.form-download-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 25px rgba(0,0,0,0.1);
}

.form-download-card .form-icon {
    width: 50px;
    height: 50px;
    background: #f8f4e8;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c9a84c;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.form-download-card .form-info h4 {
    font-size: 1rem;
    color: #111;
    margin-bottom: 5px;
}

.form-download-card .form-info p {
    font-size: 0.85rem;
    color: #666;
}

/* === ABERTURA === */
.abertura-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.step-card {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #c9a84c;
    color: #111;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #111;
}

.step-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* === LINKS === */
.links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.link-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 0.9rem;
    color: #333;
}

.link-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    color: #c9a84c;
}

.link-item i {
    color: #c9a84c;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* === CONTACT === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateX(5px);
}

.contact-card .contact-icon {
    width: 50px;
    height: 50px;
    background: #111;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c9a84c;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-card h4 {
    font-size: 1rem;
    color: #111;
    margin-bottom: 5px;
}

.contact-card p {
    font-size: 0.9rem;
    color: #666;
}

.contact-card a {
    color: #c9a84c;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.08);
}

.contact-form h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: #111;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #c9a84c;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .btn {
    width: 100%;
}

/* Contact Form Success/Error */
.form-message {
    padding: 12px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: none;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    display: block;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
    display: block;
}

/* === QUOTE BANNER === */
.quote-banner {
    background: linear-gradient(135deg, #111, #1a1a2e);
    color: #fff;
    text-align: center;
    padding: 60px 20px;
    position: relative;
}

.quote-banner::before {
    content: '\201C';
    font-size: 8rem;
    color: rgba(201,168,76,0.15);
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-family: Georgia, serif;
    line-height: 1;
}

.quote-banner blockquote {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.quote-banner cite {
    display: block;
    margin-top: 20px;
    font-size: 0.95rem;
    color: #c9a84c;
    font-style: normal;
    font-weight: 600;
}

/* === CTA SECTION === */
.cta-section {
    background: #c9a84c;
    color: #111;
    text-align: center;
    padding: 60px 20px;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.8;
}

.cta-section .btn {
    background: #111;
    color: #fff;
}

.cta-section .btn:hover {
    background: #1a1a2e;
}

/* === MAP === */
.map-container {
    width: 100%;
    height: 350px;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 30px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* === FOOTER === */
.footer {
    background: #0a0a0a;
    color: #aaa;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #c9a84c;
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-about img {
    height: 40px;
    margin-bottom: 15px;
    filter: brightness(0.9);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #aaa;
    font-size: 0.9rem;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-col ul li a:hover {
    color: #c9a84c;
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.footer-contact-item i {
    color: #c9a84c;
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid #222;
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: #222;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 0.9rem;
    transition: background 0.3s ease, color 0.3s ease;
}

.footer-social a:hover {
    background: #c9a84c;
    color: #111;
}

/* === PAGE HEADER (Internal pages) === */
.page-header {
    background: linear-gradient(135deg, #111, #1a1a2e);
    color: #fff;
    padding: 100px 20px 50px;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="p" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(201,168,76,0.06)"/></pattern></defs><rect width="100" height="100" fill="url(%23p)"/></svg>');
    pointer-events: none;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.breadcrumb a {
    color: #c9a84c;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* === WhatsApp Float === */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37,211,102,0.5);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .abertura-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        border-top: 1px solid #eee;
    }

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

    .nav-links a {
        padding: 15px 20px;
        border-bottom: 1px solid #f0f0f0;
        width: 100%;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .hero {
        padding: 70px 20px 60px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-logo {
        max-width: 220px;
    }

    .hero-contact {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hero-cta .btn {
        display: block;
        margin: 10px auto;
    }

    .hero-cta .btn-outline {
        margin-left: 0;
    }

    .about-grid,
    .irpf-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

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

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

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .section {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .abertura-steps {
        grid-template-columns: 1fr;
    }

    .page-header {
        padding: 80px 20px 40px;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .contact-form {
        padding: 25px;
    }

    .quote-banner blockquote {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .stat-box {
        display: flex;
        align-items: center;
        gap: 15px;
        text-align: left;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* === ANIMATIONS === */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === PRINT === */
@media print {
    .navbar, .top-bar, .whatsapp-float, .footer, .alert-bar {
        display: none;
    }

    .hero {
        background: #fff;
        color: #111;
        padding: 20px;
    }
}
