/* =========================================
   ELLA'S CLINIC - CSS COMPLETO E FINAL
   ========================================= */

:root {
    --primary-white: #ffffff;
    --primary-black: #1a1a1a;
    --accent-beige: #e6dcca;
    --text-dark: #4a4a4a;
    --text-gold: #b08d55;
}

body {
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--primary-white);
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; padding: 0; }

/* =========================================
   CABEÇALHO (HEADER)
   ========================================= */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--primary-black);
    color: var(--primary-white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    box-sizing: border-box;
    border-bottom: 2px solid var(--accent-beige);
}

.header-logo {
    max-height: 90px; 
    width: auto;
}

nav ul {
    display: flex;
    gap: 25px;
}

nav a {
    color: var(--primary-white);
    font-weight: 400;
    letter-spacing: 0.5px;
    font-size: 1rem;
}

nav a:hover {
    color: var(--text-gold);
    border-bottom: 1px solid var(--text-gold);
}

header .social-icons i {
    margin-left: 15px;
    font-size: 1.3rem;
    color: var(--primary-white);
    cursor: pointer;
}

header .social-icons i:hover {
    color: var(--text-gold);
}

/* --- SELETOR DE IDIOMAS (BANDEIRAS) --- */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-switcher {
    display: flex;
    gap: 10px;
    border-left: 1px solid var(--accent-beige);
    padding-left: 15px;
}

.lang-switcher img {
    border-radius: 3px;
    filter: grayscale(40%);
    transition: transform 0.3s, filter 0.3s;
    cursor: pointer;
}

.lang-switcher img:hover {
    filter: grayscale(0%);
    transform: scale(1.2);
}

/* =========================================
   HERO SECTION (INÍCIO COM IMAGEM DA MODELO)
   ========================================= */
.hero {
    padding-top: 220px; 
    padding-bottom: 100px;
    text-align: center;
    background-image: url('https://images.unsplash.com/photo-1570172619644-dfd03ed5d881?auto=format&fit=crop&w=2070&q=80'); 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
    color: var(--primary-white); 
    position: relative;
    z-index: 1;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.4); 
    z-index: -1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
    color: var(--primary-white);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* =========================================
   SEÇÕES GERAIS
   ========================================= */
.about, .services, .contact {
    padding: 80px 10%;
    background-color: var(--primary-white);
    text-align: center;
}

.divider {
    height: 3px;
    width: 60px;
    background-color: var(--accent-beige);
    margin: 20px auto 40px auto;
}

/* =========================================
   SERVIÇOS (GRID E IMAGENS)
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.service-card {
    border: 1px solid var(--accent-beige);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(230, 220, 202, 0.6);
    border-color: var(--text-gold);
}

.service-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.service-content {
    padding: 30px 20px;
}

.service-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

/* =========================================
   DEPOIMENTOS
   ========================================= */
.testimonials {
    background-color: var(--accent-beige);
    padding: 100px 10%;
    text-align: center;
}

.testimonials h2 {
    color: var(--text-dark);
    margin-bottom: 40px;
}

.testimonial-text {
    color: var(--text-dark);
    font-size: 1.4rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
}

/* =========================================
   CONTATO E RODAPÉ
   ========================================= */
.contact-info {
    margin-top: 30px;
    font-size: 1.2rem;
}

.contact-info p {
    margin: 10px 0;
}

.footer-icons i {
     color: var(--text-gold);
     margin: 0 12px;
     font-size: 1.5rem;
}

.footer-icons i:hover {
    color: var(--text-dark);
}

footer {
    background-color: var(--primary-black);
    color: var(--primary-white);
    text-align: center;
    padding: 40px 20px;
    font-size: 0.9rem;
    border-top: 4px solid var(--accent-beige);
}

.developer-credit {
    margin-top: 15px;
    font-size: 0.75rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    letter-spacing: 0.5px;
}

.developer-credit:hover {
    opacity: 1;
}

.developer-credit a {
    color: var(--accent-beige);
    text-decoration: none;
    font-weight: 700;
}

.developer-credit a:hover {
    text-decoration: underline;
    color: var(--text-gold);
}

/* =========================================
   WHATSAPP FLUTUANTE
   ========================================= */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20b857;
}

/* =========================================
   RESPONSIVIDADE (MOBILE)
   ========================================= */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
        padding: 20px 5%;
        position: fixed; 
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        font-size: 0.9rem;
    }

    .header-logo {
        max-height: 70px;
    }

    .header-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .lang-switcher {
        border-left: none;
        border-top: 1px solid var(--accent-beige);
        padding-left: 0;
        padding-top: 10px;
    }

    .hero {
        padding-top: 240px; 
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}