/* =========================================================
   VARIABLES
========================================================= */
:root {
    --color-white: #fff;
    --color-blue: #3A6EA5;
    --color-mint: #8BCFB3;
    --color-light-gray: #F4F6F8;
    --color-text: #2A2E37;
    --color-muted: #6C7280;

    --font-heading: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    --container-width: 1120px;
    --section-padding: 80px;
}

/* =========================================================
   RESET
========================================================= */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-white);
}

/* =========================================================
   LAYOUT
========================================================= */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: var(--section-padding) 0;
}

.section-alt {
    background-color: var(--color-light-gray);
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 40px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 8px;
    color: var(--color-blue);
}

.section-header p {
    margin: 0;
    color: var(--color-muted);
}

/* =========================================================
   BUTTONS
========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 999px;
    border: none;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--color-blue);
    color: #fff;
}

.btn-primary:hover {
    background-color: #315c88;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: var(--color-mint);
    color: var(--color-text);
}

.btn-secondary:hover {
    background-color: #74c5a3;
    transform: translateY(-1px);
}

.btn-full {
    width: 100%;
}

/* =========================================================
   HEADER
========================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--color-white);
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
}

.logo-img {
    height: 42px;
    width: auto;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.main-nav a {
    text-decoration: none;
    color: var(--color-muted);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background-color: var(--color-mint);
    transition: width 0.2s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

/* Mobile nav */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--color-text);
    border-radius: 999px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.nav-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.nav-open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.nav-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   HERO
========================================================= */
.hero {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 72px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /*z-index: -1;*/
	z-index: 0;
    opacity: 0.85;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.35);
    /*z-index: -1;*/
	z-index: 1;
}

.hero-inner {
	position: relative;
    z-index: 2;
    display: grid;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--color-blue);
}

.hero-content p {
    margin-bottom: 24px;
    font-size: 1rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image-placeholder {
    width: 100%;
    max-width: 600px;
    aspect-ratio: 4 / 3;
    border-radius: 24px;
}

/* =========================================================
   ABOUT
========================================================= */
.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    gap: 40px;
    align-items: center;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    display: block;
}

.about-content p {
    margin: 0 0 12px;
    color: var(--color-muted);
}

.about-icons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.about-icon {
    background-color: var(--color-white);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}

.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background-color: var(--color-mint);
    margin-bottom: 8px;
}

.about-icon h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    margin: 0 0 4px;
    color: var(--color-blue);
}

.about-icon p {
    margin: 0;
    font-size: 0.9rem;
}

/* =========================================================
   SERVICES
========================================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.service-card {
    background-color: var(--color-light-gray);
    border-radius: 16px;
    padding: 20px;
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
    border: 1px solid transparent;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin: 0 0 8px;
    color: var(--color-blue);
}

.service-card p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.95rem;
}

.service-card:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
    transform: translateY(-2px);
    border-color: var(--color-mint);
}

/* =========================================================
   INSURANCE
========================================================= */
.insurance-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.insurance-logo {
    background-color: var(--color-white);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    color: var(--color-muted);
    font-size: 0.95rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.insurance-cta {
    text-align: center;
    color: var(--color-muted);
}

.insurance-cta p {
    margin-bottom: 12px;
}

/* =========================================================
   TESTIMONIALS
========================================================= */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.testimonial-card {
    background-color: var(--color-light-gray);
    border-radius: 16px;
    padding: 20px;
}

.testimonial-text {
    font-style: italic;
    color: var(--color-muted);
    margin: 0 0 12px;
}

.testimonial-name {
    font-weight: 600;
    margin: 0;
}

/* =========================================================
   LOCATION
========================================================= */
.location-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 32px;
    align-items: flex-start;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.schedule-table td {
    padding: 8px 4px;
    border-bottom: 1px solid #dde2eb;
}

.schedule-table tr:last-child td {
    border-bottom: none;
}

.location-map {
    width: 100%;
}

.map-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    background: linear-gradient(135deg, #d1e2f5, #e6f7f1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-muted);
    font-weight: 500;
}

/* =========================================================
   CONTACT
========================================================= */
.contact-section {
    background-color: #E6F7F1;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 32px;
    align-items: flex-start;
}

.contact-form {
    background-color: var(--color-white);
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: var(--color-text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #cdd5e0;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-mint);
    box-shadow: 0 0 0 3px rgba(139,207,179,0.3);
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 12px;
    color: var(--color-blue);
}

.contact-info p {
    margin: 4px 0;
    color: var(--color-muted);
}

/* =========================================================
   FOOTER
========================================================= */
.site-footer {
    background-color: var(--color-blue);
    color: var(--color-white);
    padding: 24px 0;
    border-top: 3px solid var(--color-mint);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-logo .logo-mark {
    background-color: var(--color-white);
    color: var(--color-blue);
}

.footer-copy {
    margin: 8px 0 0;
    font-size: 0.85rem;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-nav a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 0.9rem;
}

/* =========================================================
   LANGUAGE TOGGLE
========================================================= */
.lang-toggle {
    display: inline-flex;
    align-items: center;
    background-color: #f0f0f0;
    border-radius: 20px;
    padding: 3px;
    margin-left: 15px;
    gap: 2px;
}

.lang-option {
    padding: 4px 10px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    border-radius: 16px;
    transition: background-color 0.3s, color 0.3s;
}

.lang-option.active {
    background-color: #007bff;
    color: #fff;
}

.lang-separator {
    width: 1px;
    height: 14px;
    background-color: transparent;
}

/* =========================================================
   HERO ANUNCIO (FLIP 3D)
========================================================= */
.hero .anuncio-section {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 40px;
    perspective: 900px;
}

.hero .anuncio-box {
    background: #111;
    color: #f5f5f5;
    padding: 0 28px;
    font-size: 1.125rem;
    text-align: center;
    border-top: 3px solid #d4af37;
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
    border-radius: 10px;
    max-width: 900px;
    width: 90%;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s ease-in-out;
    transform-origin: center center -30px;
	will-change: transform;
}

.hero .anuncio-box.rotar {
    transform: rotateX(180deg);
}

.hero .cara {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    backface-visibility: hidden;
    padding: 0 20px;
    font-size: 1.125rem;
}

.hero .caraA {
    transform: rotateX(0deg) translateZ(30px);
}

.hero .caraB {
    transform: rotateX(180deg) translateZ(30px);
}

.hero-anuncio {
    position: relative;
    z-index: 2;
    bottom: 30px;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: auto;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.social-icons a img {
    width: 24px;
    height: 24px;
    filter: invert(1);
    transition: transform 0.2s ease, filter 0.2s ease;
}

.social-icons a:hover img {
    transform: scale(1.2);
    filter: brightness(1.5);
}

.anuncio-social {
    display: flex;
    gap: 14px;
    margin-top: 10px;
}

.anuncio-social img {
    width: 22px;
    height: 22px;
    filter: invert(1);
    opacity: 0.85;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.anuncio-social a:hover img {
    transform: scale(1.15);
    opacity: 1;
}

/* =========================================================
   MEDIA QUERIES
========================================================= */




/* Responsive */

@media (max-width: 900px) {
    .lang-toggle {
        order: 1;
        margin: 10px 0;
        padding: 10px 0;
    }

    .hero-inner,
    .about-grid,
    .location-grid,
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero {
        padding-top: 72px;
    }

    .header-inner {
        height: 64px;
    }

    .btn-header {
        display: none;
    }

    .main-nav {
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background-color: var(--color-white);
        flex-direction: column;
        padding: 12px 16px 16px;
        border-bottom: 1px solid #e0e5ee;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .main-nav.nav-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-image-placeholder {
        max-width: 450px;
    }

    .logo {
        font-size: 0.9rem;
    }

    .hero .anuncio-box {
        font-size: 1rem;
        max-width: 100%;
        transform-origin: center center -20px;
        padding: 0 12px;
    }

    .hero .cara {
        font-size: 1rem;
        padding: 0 10px;
    }
}

@media (max-width: 768px) {
    .lang-toggle {
        order: 1;
        transform: scale(0.8);
        transform-origin: right center;
    }

    .main-nav {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .lang-option {
        font-size: 11px;
        padding: 3px 8px;
    }

    .lang-toggle {
        padding: 2px;
        gap: 1px;
    }

    .lang-separator {
        height: 12px;
    }

    .header-inner {
        gap: 10px;
    }

    .logo {
        font-size: 0.8rem;
    }
}

@media (max-width: 640px) {
    :root {
        --section-padding: 60px;
    }

    .hero-content h1 {
        font-size: 2rem;
        text-align: center;
    }

    .form-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-img {
        width: 50%;
        height: 50%;
    }

    .about-image {
        display: flex;
        justify-content: center;
    }

    .hero-image-placeholder {
        max-width: 380px;
    }

    .logo {
        font-size: 0.7rem;
    }

    .hero .anuncio-box {
        font-size: 0.875rem;
        transform-origin: center center -15px;
        padding: 0 8px;
    }

    .hero .cara {
        font-size: 0.875rem;
        padding: 0 6px;
    }

    .social-icons {
        gap: 8px;
        justify-content: flex-start;
    }

    .social-icons a img {
        width: 20px;
        height: 20px;
    }
	.hero-anuncio {
        bottom: 20px;
    }

    .anuncio-social img {
        width: 20px;
        height: 20px;
    }
}
