/* Reset básico e box-sizing para facilitar o layout */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variáveis CSS para cores, facilitando a manutenção e padronização */
:root {
    --primary-blue: #004A8F;
    /* Azul mais profundo para profissionalismo */
    --primary-blue-d: #00386B;
    --primary-blue-l: #007BFF;
    --accent-orange: #FF6F00;
    /* Laranja vibrante para destaque */
    --accent-orange-d: #CC5900;
    --gray-light: #F8F9FA;
    /* Cinza claro para seções */
    --gray-medium: #E9ECEF;
    /* Cinza um pouco mais escuro para bordas */
    --dark-text: #212529;
    /* Preto para textos e fundos escuros */
    --dark-bg: #343A40;
    --muted-text: #6C757D;
    /* Cor para textos secundários */
    --white: #FFFFFF;
    /* Branco */
    --red-alert: #DC3545;
    /* Vermelho para alertas */
}

/* Comportamento de scroll suave para âncoras */
html {
    scroll-behavior: smooth;
}

/* Estilos globais do corpo */
body {
    font-family: 'Poppins', sans-serif;
    background: var(--white);
    color: var(--dark-text);
    overflow-x: hidden;
    /* Evita scroll horizontal indesejado */
    line-height: 1.6;
    /* Melhor legibilidade */
}

/* Links globais */
a {
    text-decoration: none;
    color: inherit;
}

/* ===== UTILITIES (Classes de utilidade para reuso) ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    /* Padding horizontal para evitar que o conteúdo cole nas bordas */
}

.section-padding {
    padding: 80px 0;
}

/* Padding padrão para seções, agora vertical */
.section-gray {
    background: var(--gray-light);
}

.section-dark {
    background: var(--dark-bg);
    color: var(--white);
}

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

.section-label {
    font-size: 14px;
    color: var(--primary-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.section-dark .section-label {
    color: var(--primary-blue-l);
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: 800;
    /* clamp para responsividade de fonte */
    color: var(--dark-text);
    line-height: 1.1;
}

.section-title span {
    color: var(--primary-blue);
}

.section-dark .section-title {
    color: var(--white);
}

.section-dark .section-title span {
    color: var(--primary-blue-l);
}

.section-sub {
    font-size: 16px;
    color: var(--muted-text);
    max-width: 700px;
    margin: 15px auto 0;
}

.section-dark .section-sub {
    color: rgba(255, 255, 255, 0.7);
}

/* Botões primários */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-d));
    color: white;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 6px 20px rgba(0, 74, 143, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 74, 143, 0.5);
}

/* Botões outline */
.btn-outline-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: var(--primary-blue);
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border: 2px solid var(--primary-blue-l);
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

.btn-outline-primary:hover {
    border-color: var(--primary-blue);
    background: rgba(0, 74, 143, 0.05);
    transform: translateY(-2px);
}

/* ===== TOPBAR ===== */
.topbar {
    background: var(--dark-bg);
    padding: 8px 0;
    /* Padding vertical */
    color: rgba(255, 255, 255, 0.9);
}

.topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.topbar-msg {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.topbar-msg span {
    color: var(--accent-orange);
    font-weight: 700;
}

.topbar-social {
    display: flex;
    gap: 12px;
}

.topbar-social a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    transition: color 0.2s ease;
}

.topbar-social a:hover {
    color: var(--accent-orange);
}

/* ===== NAVBAR ===== */
nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    /* Fixa a navbar no topo */
    background: var(--white);
    border-bottom: 1px solid var(--gray-medium);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
    /* Transição para a sombra */
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    /* Padding vertical */
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    /* Evita que o logo encolha */
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-d));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 74, 143, 0.3);
}

.logo-text span:first-child {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--dark-text);
    letter-spacing: 0.5px;
    line-height: 1;
}

.logo-text span:last-child {
    font-size: 9px;
    color: var(--muted-text);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
}

.nav-links a {
    display: block;
    padding: 8px 14px;
    color: var(--muted-text);
    font-size: 13px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-links a:hover {
    background: var(--gray-light);
    color: var(--primary-blue);
}

.nav-links a.active {
    color: var(--primary-blue);
    font-weight: 700;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-d));
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(255, 111, 0, 0.35);
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(255, 111, 0, 0.4);
}

/* Hamburger menu para mobile */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 6px;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--dark-text);
    border-radius: 2px;
}

/* Menu mobile (escondido por padrão) */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    border-top: 1px solid var(--gray-medium);
    padding: 16px 24px;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.mobile-menu.open {
    display: flex;
}

/* Mostra o menu quando 'open' é adicionado */

.mobile-menu a {
    padding: 10px 14px;
    color: var(--dark-text);
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.mobile-menu a:hover {
    background: var(--gray-light);
    color: var(--primary-blue);
}

/* ===== HERO SECTION ===== */
.hero {
    /* Imagem de fundo com fallback de cor */
    background: url('https://via.placeholder.com/1920x800/004A8F/FFFFFF?text=AutoMaster+Mecânica') center center/cover no-repeat;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: white;
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    text-align: center;
}

/* Overlay escuro para melhorar a legibilidade do texto */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    padding: 6px 18px;
    font-size: 12px;
    color: white;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
    /* Efeito de blur no fundo do tag */
}

.hero-tag i {
    color: var(--accent-orange);
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(48px, 7vw, 72px);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 18px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.hero h1 span {
    color: var(--primary-blue-l);
}

.hero-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.85;
    margin-bottom: 36px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

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

.about-img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.about-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    color: var(--dark-text);
    margin-bottom: 20px;
}

.about-info p {
    font-size: 16px;
    color: var(--muted-text);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.as-item strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 5px;
}

.as-item span {
    font-size: 13px;
    color: var(--muted-text);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

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

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-medium);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.service-icon {
    font-size: 60px;
    color: var(--primary-blue);
    margin-top: 30px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 15px;
}

.service-card p {
    font-size: 14px;
    color: var(--muted-text);
    line-height: 1.7;
    padding: 0 25px 25px;
    flex: 1;
}

/* ===== WHY CHOOSE US SECTION ===== */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.why-item {
    background: var(--white);
    border: 1px solid var(--gray-medium);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.why-item i {
    font-size: 50px;
    color: var(--accent-orange);
    margin-bottom: 20px;
}

.why-item h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 10px;
}

.why-item p {
    font-size: 14px;
    color: var(--muted-text);
    line-height: 1.7;
}

/* ===== TEAM SECTION ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background: var(--white);
    border: 1px solid var(--gray-medium);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.member-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 4px solid var(--primary-blue-l);
}

.team-member h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 5px;
}

.team-member span {
    font-size: 14px;
    color: var(--primary-blue);
    font-weight: 600;
    display: block;
    margin-bottom: 15px;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.member-social a {
    font-size: 18px;
    color: var(--muted-text);
    transition: color 0.2s ease;
}

.member-social a:hover {
    color: var(--primary-blue);
}

/* ===== GALLERY SECTION ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 40px;
    color: white;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--gray-medium);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.testimonial-card i.fa-quote-left {
    font-size: 36px;
    color: var(--primary-blue-l);
    margin-bottom: 20px;
}

.testimonial-card p {
    font-size: 15px;
    color: var(--muted-text);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 10px;
    border: 3px solid var(--primary-blue);
}

.testimonial-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 5px;
}

.testimonial-card span {
    font-size: 13px;
    color: var(--muted-text);
}

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

.appointment-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    color: var(--dark-text);
    margin-bottom: 20px;
}

.appointment-info p {
    font-size: 16px;
    color: var(--muted-text);
    line-height: 1.8;
    margin-bottom: 20px;
}

.appointment-info ul {
    list-style: none;
}

.appointment-info ul li {
    font-size: 16px;
    color: var(--dark-text);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.appointment-info ul li i {
    color: var(--primary-blue);
}

.appointment-form {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-medium);
}

.appointment-form h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 30px;
    text-align: center;
}

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

.form-group label {
    display: block;
    font-size: 13px;
    color: var(--muted-text);
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: var(--gray-light);
    border: 1px solid var(--gray-medium);
    border-radius: 8px;
    font-size: 15px;
    color: var(--dark-text);
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-blue);
    outline: none;
}

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

.form-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-d));
    color: white;
    border: none;
    padding: 14px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 111, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(255, 111, 0, 0.5);
}

/* ===== NEWSLETTER ===== */
.newsletter {
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-blue-d));
    padding: 60px 0;
    /* Padding vertical */
    color: white;
}

.newsletter .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.news-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    color: white;
    margin-bottom: 10px;
}

.news-text h3 span {
    color: var(--accent-orange);
}

.news-text p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.news-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.news-form input {
    flex: 1;
    min-width: 250px;
    padding: 12px 20px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    color: var(--dark-text);
    font-family: 'Poppins', sans-serif;
}

.news-form button {
    background: var(--accent-orange);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-form button:hover {
    background: var(--accent-orange-d);
    transform: translateY(-2px);
}

/* ===== FOOTER ===== */
footer {
    background: var(--dark-bg);
    color: white;
    padding: 60px 0 30px;
    /* Padding vertical */
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about .logo {
    margin-bottom: 20px;
}

.footer-about .logo-icon {
    background: white;
    color: var(--primary-blue);
}

.footer-about .logo-text span:first-child {
    color: white;
}

.footer-about .logo-text span:last-child {
    color: rgba(255, 255, 255, 0.7);
}

.footer-about p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.footer-social a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--accent-orange);
}

.footer-col h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    color: white;
    margin-bottom: 25px;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col ul li a:hover {
    color: var(--accent-orange);
}

.footer-col ul li a i {
    font-size: 12px;
    color: var(--primary-blue-l);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom p span {
    color: var(--accent-orange);
    font-weight: 600;
}

.footer-selos {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-selo {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-selo i {
    color: var(--primary-blue-l);
}

/* ===== WHATSAPP BUTTON ===== */
.wpp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    /* Cores do WhatsApp */
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 990;
    transition: transform 0.3s ease;
}

.wpp-btn:hover {
    transform: scale(1.1);
}

/* ===== LIGHTBOX (Para galeria de fotos) ===== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* ===== TOAST NOTIFICATION ===== */
.toast {
    visibility: hidden;
    min-width: 250px;
    background-color: var(--dark-bg);
    color: white;
    text-align: center;
    border-radius: 8px;
    padding: 16px;
    position: fixed;
    z-index: 1002;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    font-size: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: visibility 0s, opacity 0.5s ease;
}

.toast.show {
    visibility: visible;
    opacity: 1;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 992px) {

    .topbar,
    .nav-inner .nav-links,
    .nav-actions .nav-cta {
        display: none;
        /* Esconde elementos no mobile */
    }

    .topbar .container,
    .nav-inner {
        padding: 14px 20px;
        /* Ajusta padding para mobile */
    }

    .nav-inner .hamburger {
        display: flex;
        /* Mostra o hamburger */
    }

    .hero,
    .section-padding {
        padding: 60px 0;
        /* Ajusta padding para mobile */
    }

    .about-grid,
    .appointment-grid {
        grid-template-columns: 1fr;
        /* Coluna única no mobile */
    }

    .about-img,
    .appointment-info {
        order: 2;
        /* Inverte a ordem para imagem/info ficar abaixo no mobile */
    }

    .newsletter .container {
        flex-direction: column;
        text-align: center;
    }

    .news-form {
        width: 100%;
        justify-content: center;
    }

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

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        /* Coluna única para formulários */
    }
}