/* ============================================================
   Ernestina Cosméticos — Folha de estilos personalizada
   ============================================================ */

:root {
    --rosa-900: #5f2735;
    --rosa-800: #7d3346;
    --rosa-700: #9c4257;
    --rosa-500: #c97b8d;
    --rosa-200: #f2d6dd;
    --rosa-100: #faecef;
    --areia:    #f6efe9;
    --creme:    #fdfaf8;
    --escuro:   #312329;
    --texto:    #6a5b60;
    --gradiente: linear-gradient(135deg, #7d3346 0%, #9c4257 55%, #b4586d 100%);
    --sombra:   0 .75rem 2rem rgba(95, 39, 53, .12);
    --raio:     1.1rem;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', system-ui, sans-serif;
    color: var(--texto);
    background: var(--creme);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--escuro);
    font-weight: 600;
}

a { text-decoration: none; }
section { padding: 5.5rem 0; }

.section-title em, .hero-title em {
    color: var(--rosa-700);
    font-style: italic;
}

/* ---------- Tags e títulos de seção ---------- */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--rosa-700);
    background: var(--rosa-100);
    border: 1px solid var(--rosa-200);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: .45rem 1rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.section-title { font-size: clamp(1.75rem, 3.5vw, 2.6rem); }
.section-sub   { max-width: 44rem; color: var(--texto); }

/* ---------- Botões ---------- */
.btn-rosa {
    background: var(--gradiente);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: .8rem 1.75rem;
    font-weight: 600;
    box-shadow: 0 .5rem 1.25rem rgba(125, 51, 70, .35);
    transition: all .3s ease;
}
.btn-rosa:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 .75rem 1.5rem rgba(125, 51, 70, .45);
}

.btn-outline-rosa {
    border: 2px solid var(--rosa-700);
    color: var(--rosa-700);
    border-radius: 999px;
    padding: .8rem 1.75rem;
    font-weight: 600;
    background: transparent;
    transition: all .3s ease;
}
.btn-outline-rosa:hover {
    background: var(--rosa-700);
    color: #fff;
    transform: translateY(-2px);
}

.btn-whats {
    background: #25d366;
    color: #fff;
    border: 0;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 .5rem 1.25rem rgba(37, 211, 102, .4);
    transition: all .3s ease;
}
.btn-whats:hover { color: #fff; transform: translateY(-2px); }

/* ---------- Navbar ---------- */
.navbar { padding: .9rem 0; transition: all .3s ease; }
.navbar.scrolled { box-shadow: var(--sombra); padding: .55rem 0; }

.navbar .nav-link {
    color: var(--escuro);
    font-weight: 500;
    margin: 0 .35rem;
    position: relative;
}
.navbar .nav-link::after {
    content: '';
    position: absolute;
    left: .5rem;
    right: .5rem;
    bottom: .15rem;
    height: 2px;
    background: var(--gradiente);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after { transform: scaleX(1); }

.brand-badge {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: var(--gradiente);
    color: #fff;
    border-radius: 12px;
    font-size: 1.1rem;
}
.brand-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    line-height: 1;
    color: var(--escuro);
    font-weight: 700;
}
.brand-text small {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: .6rem;
    letter-spacing: .35em;
    text-transform: uppercase;
    color: var(--rosa-700);
    font-weight: 600;
    margin-top: .25rem;
}

/* ---------- Hero ---------- */
.hero {
    background:
        radial-gradient(1200px 600px at 85% -10%, var(--rosa-100), transparent 60%),
        radial-gradient(900px 500px at -10% 110%, var(--areia), transparent 55%);
    padding: 7rem 0 5.5rem;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--rosa-700);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.hero-title { font-size: clamp(2.4rem, 5.2vw, 4rem); line-height: 1.12; }
.hero-sub   { font-size: 1.08rem; max-width: 34rem; }
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
}
.hero-badges li { font-size: .9rem; font-weight: 500; }
.hero-badges i  { color: var(--rosa-700); }

.hero-card {
    position: relative;
    background: var(--gradiente);
    border-radius: 1.75rem;
    min-height: 420px;
    display: grid;
    place-items: center;
    color: #fff;
    box-shadow: var(--sombra);
    overflow: hidden;
}
.hero-card::before, .hero-card::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
}
.hero-card::before { width: 260px; height: 260px; top: -80px; right: -80px; }
.hero-card::after  { width: 340px; height: 340px; bottom: -140px; left: -110px; }
.hero-card-icon { font-size: 6rem; opacity: .9; }
.chip {
    position: absolute;
    background: rgba(255, 255, 255, .16);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, .3);
    padding: .55rem 1.1rem;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 500;
    z-index: 1;
}
.chip-1 { top: 2rem;    left: 1.5rem; }
.chip-2 { top: 5rem;    right: 1.25rem; }
.chip-3 { bottom: 5rem; left: 1.25rem; }
.chip-4 { bottom: 2rem; right: 1.5rem; }

/* ---------- Faixa de diferenciais ---------- */
.feature-strip .feature-item { padding: 1rem .5rem; }
.feature-strip i {
    font-size: 1.6rem;
    color: var(--rosa-700);
    margin-bottom: .75rem;
}
.feature-strip h3 {
    font-size: 1.05rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: .35rem;
}
.feature-strip p { font-size: .85rem; margin: 0; }

/* ---------- Cards de categoria ---------- */
.cat-card, .cat-card-static {
    display: block;
    background: #fff;
    border: 1px solid var(--rosa-100);
    border-radius: var(--raio);
    padding: 2rem 1.75rem;
    height: 100%;
    box-shadow: 0 .25rem .75rem rgba(95, 39, 53, .05);
    transition: all .3s ease;
    color: var(--texto);
}
.cat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sombra);
    border-color: var(--rosa-200);
    color: var(--texto);
}
.cat-card h3, .cat-card-static h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.cat-card p, .cat-card-static p { font-size: .92rem; }
.cat-icon {
    display: inline-grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: var(--rosa-100);
    color: var(--rosa-700);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}
.cat-link {
    color: var(--rosa-700);
    font-weight: 600;
    font-size: .9rem;
    font-family: 'Poppins', sans-serif;
}

/* ---------- Áreas utilitárias ---------- */
.bg-areia { background: var(--areia); }

.quote-card {
    background: #fff;
    border-left: 4px solid var(--rosa-700);
    border-radius: var(--raio);
    padding: 2.25rem;
    box-shadow: var(--sombra);
}
.quote-card i    { color: var(--rosa-500); font-size: 1.6rem; margin-bottom: 1rem; }
.quote-card p    { font-family: 'Playfair Display', serif; font-size: 1.25rem; color: var(--escuro); margin: 0; }

/* ---------- Página interna (hero) ---------- */
.page-hero {
    background:
        radial-gradient(900px 400px at 90% -20%, var(--rosa-100), transparent 60%),
        radial-gradient(700px 350px at 0% 130%, var(--areia), transparent 55%);
    padding: 5rem 0 3.5rem;
}
.breadcrumb-custom a { color: var(--rosa-700); }
.breadcrumb-custom .active { color: var(--texto); }

/* ---------- Cards de valores / info ---------- */
.value-card, .info-card {
    background: #fff;
    border: 1px solid var(--rosa-100);
    border-radius: var(--raio);
    padding: 2rem;
    box-shadow: 0 .25rem .75rem rgba(95, 39, 53, .05);
    transition: all .3s ease;
}
.value-card:hover, .info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sombra);
}
.value-icon {
    display: inline-grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: var(--gradiente);
    color: #fff;
    font-size: 1.35rem;
}

/* ---------- Estatísticas ---------- */
.stats-band {
    background: var(--gradiente);
    color: #fff;
    padding: 4rem 0;
}
.stat-num {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: #fff;
}
.stat-label { color: rgba(255, 255, 255, .8); font-size: .9rem; }

/* ---------- Lista com checks ---------- */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
    background: #fff;
    border: 1px solid var(--rosa-100);
    border-radius: .85rem;
    padding: 1rem 1.25rem;
    margin-bottom: .85rem;
    font-weight: 500;
    color: var(--escuro);
    transition: all .25s ease;
}
.check-list li:hover { border-color: var(--rosa-500); transform: translateX(6px); }
.check-list i { color: var(--rosa-700); margin-right: .75rem; }

/* ---------- Faixa CTA ---------- */
.cta-band { background: var(--gradiente); border-radius: 1.5rem; padding: 4rem 1.5rem; }

/* ---------- Formulário ---------- */
.form-card {
    background: #fff;
    border: 1px solid var(--rosa-100);
    border-radius: var(--raio);
    padding: 2rem;
    box-shadow: var(--sombra);
    margin-top: 1.5rem;
}
.form-label { font-weight: 500; color: var(--escuro); font-size: .92rem; }
.form-control, .form-control:focus {
    border-radius: .75rem;
    border-color: var(--rosa-200);
    padding: .7rem 1rem;
}
.form-control:focus {
    border-color: var(--rosa-500);
    box-shadow: 0 0 0 .2rem rgba(201, 123, 141, .2);
}
.mapa { border-radius: 1.25rem; }

/* ---------- FAQ ---------- */
.accordion-rosa .accordion-item {
    border: 1px solid var(--rosa-100);
    border-radius: 1rem !important;
    overflow: hidden;
    margin-bottom: 1rem;
    background: #fff;
}
.accordion-rosa .accordion-button {
    font-weight: 600;
    color: var(--escuro);
    font-family: 'Poppins', sans-serif;
    font-size: .98rem;
    padding: 1.15rem 1.35rem;
}
.accordion-rosa .accordion-button:not(.collapsed) {
    background: var(--rosa-100);
    color: var(--rosa-800);
    box-shadow: none;
}
.accordion-rosa .accordion-button:focus { box-shadow: none; }

/* ---------- Footer ---------- */
.footer { background: var(--escuro); color: rgba(255, 255, 255, .72); padding: 4.5rem 0 0; }
.footer p { font-size: .92rem; }
.footer-title {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 1.25rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .65rem; font-size: .92rem; }
.footer-links a { color: rgba(255, 255, 255, .72); transition: color .25s ease; }
.footer-links a:hover { color: var(--rosa-500); }
.social-link {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    transition: all .3s ease;
}
.social-link:hover { background: var(--rosa-700); color: #fff; transform: translateY(-3px); }
.text-rosa { color: var(--rosa-500) !important; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    margin-top: 3rem;
    padding: 1.5rem 0;
}

/* ---------- Botão flutuante WhatsApp ---------- */
.whatsapp-float {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1050;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.7rem;
    box-shadow: 0 .5rem 1.5rem rgba(37, 211, 102, .45);
    transition: transform .3s ease;
}
.whatsapp-float:hover { color: #fff; transform: scale(1.08); }
.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25d366;
    z-index: -1;
    animation: pulse-wa 2s infinite;
}
@keyframes pulse-wa {
    0%   { transform: scale(1);    opacity: .6; }
    100% { transform: scale(1.55); opacity: 0; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 991.98px) {
    section { padding: 4rem 0; }
    .hero { padding: 5.5rem 0 4rem; }
    .hero-card { min-height: 320px; }
    .navbar .nav-link { margin: .25rem 0; }
    .navbar .btn { margin-top: .75rem; }
}
