* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #63274A;
    --secondary: #FDEEEB;
    --tertiary: #FFA8B5;
    --text-dark: #63274A;
    --text-light: #FDEEEB;
    --white: #ffffff;
    --shadow: 0 2px 4px rgba(99, 39, 74, 0.1);
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

h1 {
    font-size: 30px;
    font-weight: 300;
    letter-spacing: 0px;
    text-transform: none;
    color: var(--tertiary);
}

/* GRID */
/* Grid Container */
.grid-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Common Grid Styles */
[class^="grid-"] {
    display: grid;
    gap: 30px;
    margin-bottom: 10px;
}

/* 1 Column Grid */
.grid-1 {
    grid-template-columns: 1fr;
}

/* 2 Column Grid */
.grid-2 {
    grid-template-columns: repeat(2, 1fr);
    align-items: start !important;
}

/* 3 Column Grid */
.grid-3 {
    grid-template-columns: repeat(3, 1fr);
    align-items: start !important;
}

/* 4 Column Grid */
.grid-4 {
    grid-template-columns: repeat(4, 1fr);
    align-items: start !important;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* MENU */
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 100px;
    width: 280px;
    background-image: url('../img/logo.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

.nav-menu a:hover {
    color: var(--primary);
    border-bottom: 1px solid var(--primary);
}

.section {
    padding: 5rem 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Presentation Slider */
.presentation-slider {
    margin-top: 70px;
    height: 600px;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background: var(--secondary);
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--light);
    padding: 2rem;
    border-radius: 10px;
    width: 80%;
    max-width: 800px;
}

/* About Clinic */
.about-clinic {
    background: var(--light);
}

.about-message p {
    font-size: 21px;
}

/* Message Section */
.contact-message {
    background-color: var(--tertiary);
    padding: 3rem 2rem;
    color: white;
}

.message-content {
    text-align: center;
}

.message-content h1 {
    text-align: center;
    font-size: 37px !important;
    font-weight: 300 !important;
}

.message-text {
    font-size: 2rem;
    margin: 0;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.message-text p {
    font-size: 28px;
    font-weight: 600;
    margin: 0;
}

.message-button {
    align-items: center;
    text-align: center;
    font-size: 20px;
}

.message-whatsapp-btn {
    background-color: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    border: 1px solid transparent;
    font-weight: 500;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.message-whatsapp-btn:hover {
    background-color: #ffffff;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.message-whatsapp-btn i {
    margin-left: 8px;
}

/* Treatments Grid */
.treatments {
    background: var(--secondary);
}

.treatments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.treatments h1 {
    text-align: center;
    text-transform: uppercase;
}

.grid-treatments {
    text-align: center;
    place-items: center;

}

.treatments-btn-content {
    align-items: center;
    text-align: center;
    font-size: 20px;
}

.treatments-btn {
    background-color: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    border: 1px solid transparent;
    font-weight: 500;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.treatments-btn:hover {
    background-color: var(--secondary);
    color: var(--primary);
    border: 1px solid var(--primary);
}

/* Technologies Section */
.technologies {
    background: var(--light);
}

.technologies h1 {
    text-align: center;
    text-transform: uppercase;
}

/* Clinic Structure */
.structure {
    background: var(--secondary);
}

/* Appointment Button */
.whatsapp-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: pulse 1.25s infinite;
    transition: transform 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
    fill: white;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-icon {
        width: 30px;
        height: 30px;
    }
}

/* Social Media */
.social-media {
    background: var(--light);
    text-align: center;
}

.social-media h1 {
    text-transform: uppercase;
}

/* Google Reviews */
.google {
    background: var(--secondary);
}

.google h1 {
    text-align: center;
    text-transform: uppercase;
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.blog-content {
    padding: 1.5rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary);
}

/* Footer Styles */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Primeira coluna - Sobre */
.footer-about {
    padding-right: 2rem;
}

.footer-logo {
    height: 100px;
    width: 280px;
    background-image: url('../img/logo_white.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
}

.footer-description {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 0.95rem;
}

.social-icons-footer {
    display: flex;
    gap: 1rem;
}

/* Segunda coluna - Menu Links */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    /* Semi-transparent white border */
    padding: 15px 0;
    list-style-type: none;
}

.footer-links li:last-child {
    border-bottom: none;
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-links li a {
    color: white;
    text-decoration: none;
    display: block;
    padding-left: 20px; /* Left padding for text */
    font-family: Arial, sans-serif;
    font-size: 16px;
}

.footer-links .fa-angle-right {
    margin-right: 10px;
    color: white;
    font-size: 18px;
}

/* Terceira coluna - Contato */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 5%;
}

.contact-info h3 {
    color: var(--secondary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 0.95rem;
}

.contact-item i {
    margin-top: 0.25rem;
    color: var(--secondary);
    font-size: 1.1rem;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--light);
        flex-direction: column;
        padding: 2rem;
        text-align: center;
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .presentation-slider {
        height: 400px;
    }

    .logo {
        height: 45px;
        width: 135px;
        /* Mantendo a mesma proporção */
    }

    .contact-text {
        text-align: center;
    }

    .button-column {
        justify-content: center;
    }
}

/* Blog */
.blog h1 {
    text-align: center;
    text-transform: uppercase;
}

.blog p {
    text-align: center;
    font-size: 18px;
}

.blog-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background: white;
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.blog-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.blog-categories {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.category {
    color: var(--primary);
    font-size: 0.8rem;
    text-transform: uppercase;
}

.blog-title {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-excerpt {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: justify !important;
}

.read-more {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background 0.3s ease;
    border: 1px solid transparent;
}

.read-more:hover {
    background: var(--secondary);
    color: var(--primary);
    border: 1px solid var(--primary);
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}