/* =========================================================
   Hera Verde — Página "Em Breve"
   Estética: boticário antigo, alquimia, ativos vegetais
   Abordagem: Mobile First + responsivo
   ========================================================= */

/* ---------- Variáveis de marca ---------- */
:root {
    --cor-fundo: #fdfbf7;          /* palha claro */
    --cor-texto: #3b3631;          /* cinza escuro tendendo ao marrom */
    --cor-texto-suave: #6b635a;    /* marrom acinzentado para textos secundários */
    --cor-oliva: #556b2f;          /* verde oliva (CTA) */
    --cor-oliva-escuro: #445724;   /* hover do CTA */
    --cor-rodape-bg: #f0ead9;      /* bege/palha mais fechado */
    --cor-rodape-borda: #e2d8c3;

    --fonte-titulo: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --fonte-texto: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --largura-maxima: 640px;
}

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

html {
    -webkit-text-size-adjust: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    background-color: var(--cor-fundo);
    color: var(--cor-texto);
    font-family: var(--fonte-texto);
    font-weight: 400;
    line-height: 1.7;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1.5rem 0.5rem;
}

.logo {
    width: 130px;
    height: auto;
    /* animação sutil de flutuar/pulsar */
    animation: flutuar 5s ease-in-out infinite;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem 3rem;
    text-align: center;
}

.hero__content {
    width: 100%;
    max-width: var(--largura-maxima);
    margin: 0 auto;
}

.hero__brand {
    display: block;
    font-family: 'Castellar', var(--fonte-titulo), serif;
    font-weight: 400;
    font-size: clamp(1.8rem, 6vw, 2.6rem);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cor-texto);
    margin-bottom: 0.9rem;
}

.hero__eyebrow {
    display: inline-block;
    font-family: var(--fonte-texto);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--cor-oliva);
    margin-bottom: 1.5rem;
    position: relative;
}

.hero__eyebrow::after {
    content: "";
    display: block;
    width: 46px;
    height: 1px;
    margin: 0.9rem auto 0;
    background-color: var(--cor-oliva);
    opacity: 0.5;
}

.hero__title {
    font-family: var(--fonte-titulo);
    font-weight: 500;
    font-size: clamp(1.9rem, 7vw, 3.1rem);
    line-height: 1.2;
    letter-spacing: 0.01em;
    color: var(--cor-texto);
    margin-bottom: 1.6rem;
}

.hero__subtitle {
    font-size: clamp(1rem, 2.6vw, 1.12rem);
    font-weight: 400;
    color: var(--cor-texto-suave);
    max-width: 540px;
    margin: 0 auto 2.6rem;
}

/* ---------- Botão / CTA ---------- */
.hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    background-color: var(--cor-oliva);
    color: #fdfbf7;
    font-family: var(--fonte-texto);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    text-decoration: none;
    padding: 0.95rem 1.9rem;
    border-radius: 40px;
    box-shadow: 0 6px 20px rgba(85, 107, 47, 0.28);
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.hero__cta:hover,
.hero__cta:focus-visible {
    background-color: var(--cor-oliva-escuro);
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(85, 107, 47, 0.35);
    outline: none;
}

.hero__cta:active {
    transform: translateY(0);
}

.hero__cta-icon {
    width: 22px;
    height: 22px;
    fill: currentColor;
    flex-shrink: 0;
}

/* ---------- Ações: WhatsApp + formulário ---------- */
.hero__actions {
    width: 100%;
}

.hero__divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2.2rem auto;
    max-width: 280px;
    font-family: var(--fonte-titulo);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--cor-texto-suave);
}

.hero__divider::before,
.hero__divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: var(--cor-rodape-borda);
}

/* =========================================================
   FORMULÁRIO DE CONTATO
   ========================================================= */
.contact-form {
    text-align: left;
    background-color: rgba(240, 234, 217, 0.45);
    border: 1px solid var(--cor-rodape-borda);
    border-radius: 12px;
    padding: 1.6rem 1.25rem;
}

.contact-form__title {
    font-family: var(--fonte-titulo);
    font-weight: 500;
    font-size: 1.35rem;
    color: var(--cor-texto);
    text-align: center;
    margin-bottom: 0.6rem;
}

.contact-form__intro {
    font-size: 0.95rem;
    color: var(--cor-texto-suave);
    text-align: center;
    margin-bottom: 1.5rem;
}

.contact-form__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-field__label {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--cor-texto);
}

.form-field__input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--cor-rodape-borda);
    border-radius: 8px;
    background-color: var(--cor-fundo);
    color: var(--cor-texto);
    font-family: var(--fonte-texto);
    font-size: 1rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-field__input::placeholder {
    color: #a39a8f;
}

.form-field__input:focus {
    outline: none;
    border-color: var(--cor-oliva);
    box-shadow: 0 0 0 3px rgba(85, 107, 47, 0.15);
}

.form-field__input:invalid:not(:placeholder-shown):not(:focus) {
    border-color: #a85c4a;
}

.contact-form__submit {
    margin-top: 0.4rem;
    width: 100%;
    padding: 0.95rem 1.5rem;
    border: none;
    border-radius: 40px;
    background-color: var(--cor-oliva);
    color: #fdfbf7;
    font-family: var(--fonte-texto);
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.03em;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(85, 107, 47, 0.28);
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.contact-form__submit:hover,
.contact-form__submit:focus-visible {
    background-color: var(--cor-oliva-escuro);
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(85, 107, 47, 0.35);
    outline: none;
}

.contact-form__submit:active {
    transform: translateY(0);
}

.contact-form__submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 6px 20px rgba(85, 107, 47, 0.18);
}

.contact-form__privacy {
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--cor-texto-suave);
    text-align: center;
    margin-top: 0.2rem;
}

.form-feedback {
    font-size: 0.88rem;
    line-height: 1.5;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-align: center;
}

.form-feedback--error {
    color: #7a3f32;
    background-color: rgba(168, 92, 74, 0.12);
    border: 1px solid rgba(168, 92, 74, 0.25);
}

.form-feedback--success {
    color: var(--cor-oliva-escuro);
    background-color: rgba(85, 107, 47, 0.12);
    border: 1px solid rgba(85, 107, 47, 0.25);
}

/* =========================================================
   RODAPÉ LEGAL
   ========================================================= */
.site-footer {
    background-color: var(--cor-rodape-bg);
    border-top: 1px solid var(--cor-rodape-borda);
    padding: 1.8rem 1.5rem;
    text-align: center;
}

.site-footer__inner {
    max-width: var(--largura-maxima);
    margin: 0 auto;
}

.site-footer__line {
    font-size: 0.78rem;
    line-height: 1.6;
    color: var(--cor-texto-suave);
    margin-bottom: 0.35rem;
}

.site-footer__line--strong {
    font-weight: 700;
    color: var(--cor-texto);
}

.site-footer__line:last-child {
    margin-bottom: 0;
}

/* =========================================================
   ANIMAÇÕES
   ========================================================= */

/* Flutuar/pulsar sutil da logo */
@keyframes flutuar {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-6px) scale(1.03);
    }
}

/* Fade-in de revelação (véu se abrindo) */
@keyframes revelar {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    animation: revelar 1.1s ease forwards;
}

/* atraso em cascata para o clima de revelação */
.reveal--1 { animation-delay: 0.3s; }
.reveal--2 { animation-delay: 0.6s; }
.reveal--3 { animation-delay: 1.0s; }
.reveal--4 { animation-delay: 1.5s; }
.reveal--5 { animation-delay: 1.9s; }

/* =========================================================
   RESPONSIVO — ajustes para telas maiores
   ========================================================= */
@media (min-width: 768px) {
    .site-header {
        padding-top: 3rem;
    }

    .logo {
        width: 160px;
    }

    .hero {
        padding: 3rem 2rem 4rem;
    }

    .contact-form {
        padding: 2rem 1.75rem;
    }

    .site-footer__line {
        font-size: 0.82rem;
    }
}

/* =========================================================
   ACESSIBILIDADE — respeitar preferência por menos movimento
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
    .logo {
        animation: none;
    }

    .reveal {
        opacity: 1;
        animation: none;
    }

    .hero__cta {
        transition: none;
    }

    .contact-form__submit,
    .form-field__input {
        transition: none;
    }
}
