/*
Theme Name: Hello Elementor Child - Dona Flor
Theme URI: https://donaflor.tapmoving.com
Description: Tema filho do Hello Elementor personalizado com a identidade visual do DonaFlor (Playfair Display, Cormorant Garamond, Lato, paleta tabaco/ouro/escuro).
Tags: blog, premium, dark, gold, tobacco
Author: Antigravity AI
Template: hello-elementor
Version: 1.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Lato:wght@300;400;700;900&display=swap');

:root {
  --donaflor-font-title: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --donaflor-font-body: 'Lato', system-ui, sans-serif;

  /* Brand Colors DonaFlor */
  --donaflor-bg-dark: #12100e;       /* Deep Charcoal Tobacco */
  --donaflor-bg-card: #1c1815;       /* Warm Dark Brown Card */
  --donaflor-gold: #c89d5c;          /* Muted Gold Accent */
  --donaflor-gold-light: #e2b978;    /* Bright Gold */
  --donaflor-tobacco: #5c3a21;       /* Rich Tobacco Brown */
  --donaflor-text-light: #f5f0eb;    /* Warm Soft White */
  --donaflor-text-muted: #a3998f;    /* Warm Gray */
  --donaflor-border: rgba(200, 157, 92, 0.2);
}

body {
  font-family: var(--donaflor-font-body);
}

h1, h2, h3, h4, h5, h6, .elementor-heading-title {
  font-family: var(--donaflor-font-title) !important;
}

/* ─── GLOBAL DARK STYLES ────────────────────────────────────── */
html, body {
  background-color: #0e0c0a !important;
  color: #f0ebe3 !important;
}

/* Header Hello Elementor */
.site-header, header.elementor-section, .e-con.elementor-section {
  background-color: #0e0c0a !important;
  border-bottom: 1px solid rgba(200, 157, 92, 0.2);
}

/* Footer */
.site-footer, footer {
  background-color: #090806 !important;
  border-top: 1px solid rgba(200, 157, 92, 0.2);
  color: #9a9187;
}

/* Links globais */
a {
  color: var(--donaflor-gold);
  transition: color 0.25s ease;
}
a:hover { color: var(--donaflor-gold-light); }

/* ─── SINGLE POST STYLES ─────────────────────────────────────── */
.single-post-body {
  background: #0e0c0a;
  color: #f0ebe3;
}
.single article {
  max-width: 820px;
  margin: 60px auto;
  padding: 0 24px 80px;
}
.single .entry-header .entry-title {
  font-family: var(--donaflor-font-title) !important;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  color: #f0ebe3;
  line-height: 1.2;
  margin-bottom: 24px;
}
.single .entry-content p,
.single .entry-content li {
  font-family: var(--donaflor-font-sans);
  font-size: 1.05rem;
  line-height: 1.85;
  color: #cfc8be;
  margin-bottom: 20px;
}
.single .entry-content h2 {
  font-family: var(--donaflor-font-title) !important;
  font-size: 1.6rem;
  color: var(--donaflor-gold-light);
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(200,157,92,0.2);
}
.single .entry-content ul, .single .entry-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
.single .entry-content blockquote {
  border-left: 3px solid var(--donaflor-gold);
  padding: 20px 28px;
  margin: 32px 0;
  background: rgba(200,157,92,0.06);
  font-style: italic;
  color: var(--donaflor-gold-light);
  font-family: var(--donaflor-font-title);
  font-size: 1.15rem;
}
.single .entry-content strong { color: #f0ebe3; }

/* Post thumbnail no single */
.single .post-thumbnail img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  filter: brightness(0.85) saturate(0.85);
  border-radius: 4px;
  margin-bottom: 40px;
}

/* ─── DONAFLOR PREMIUM FOOTER ────────────────────────────────────────────── */

/* ─── MENU MOBILE PREMIUM ────────────────────────────────────────────────── */
.df-menu-toggle {
    display: none;
    width: 38px !important;
    height: 38px;
    padding: 9px !important;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    flex: 0 0 auto;
    color: #c8965a !important;
    background: rgba(200, 150, 90, 0.06) !important;
    border: 1px solid rgba(200, 150, 90, 0.28) !important;
    border-radius: 50% !important;
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.df-menu-toggle:hover {
    background: #002e24 !important;
    border-color: rgba(200, 150, 90, 0.58) !important;
}
.df-menu-toggle span {
    display: block;
    width: 17px;
    height: 1.5px;
    border-radius: 2px;
    background: currentColor;
    transform-origin: center;
    transition: transform 0.25s ease, opacity 0.2s ease;
}
.df-menu-toggle.is-active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.df-menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.df-menu-toggle.is-active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Premium Polylang language selector */
.df-language-switcher {
    position: relative;
    flex: 0 0 auto;
    z-index: 1002;
}
.df-language-current,
.df-language-option {
    font-family: var(--f-sans, "Montserrat", sans-serif);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.df-language-current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 58px;
    height: 34px;
    padding: 0 9px;
    border: 1px solid rgba(210, 160, 91, .45);
    border-radius: 999px;
    color: #e8d8c1;
    background: rgba(17, 12, 8, .82);
    cursor: pointer;
    transition: border-color .25s ease, background .25s ease, transform .25s ease;
}
.df-language-current:hover,
.df-language-current[aria-expanded="true"] {
    border-color: #d2a05b;
    background: #002e24;
    transform: translateY(-1px);
}
.df-language-flag { font-size: 16px; line-height: 1; letter-spacing: 0; }
.df-language-chevron {
    width: 6px;
    height: 6px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .2s ease;
}
.df-language-current[aria-expanded="true"] .df-language-chevron { transform: rotate(225deg) translate(-1px, -1px); }
.df-language-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 152px;
    padding: 8px;
    border: 1px solid rgba(210, 160, 91, .42);
    border-radius: 13px;
    background: rgba(14, 10, 7, .98);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .48);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}
.df-language-switcher.is-open .df-language-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.df-language-option {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    padding: 7px 10px;
    border-radius: 8px;
    color: #bba990;
    text-decoration: none;
    transition: color .2s ease, background .2s ease;
}
.df-language-option:hover,
.df-language-option.is-active {
    color: #f1c77f;
    background: #002e24;
}
.df-language-option.is-active::after {
    content: "";
    width: 5px;
    height: 5px;
    margin-left: auto;
    border-radius: 50%;
    background: #d2a05b;
    box-shadow: 0 0 9px rgba(210, 160, 91, .8);
}

@media (max-width: 980px) {
    .df-language-current { min-width: 38px; width: 38px; padding: 0; }
    .df-language-current .df-language-code,
    .df-language-current .df-language-chevron { display: none; }
    .df-language-menu { right: -4px; }
}

@media (max-width: 430px) {
    .df-language-current { width: 32px; min-width: 32px; height: 32px; }
    .df-language-flag { font-size: 14px; }
}

/* Header simplificado: menu principal oculto em desktop e mobile. */
.df-header .df-nav-wrap,
.df-header .df-menu-toggle {
    display: none !important;
}

@media (max-width: 800px) {
    .df-header-inner { position: relative; }
    .df-menu-toggle { display: inline-flex; }
    .df-header-actions { gap: 9px !important; }
    .df-social-links { gap: 7px !important; }
    .df-social-link { width: 29px !important; height: 29px !important; }
    .df-nav-wrap {
        position: absolute;
        top: calc(100% + 10px);
        left: 20px;
        right: 20px;
        display: none !important;
        padding: 10px;
        overflow: hidden;
        background:
            radial-gradient(circle at 50% 0%, rgba(200, 150, 90, 0.11), transparent 52%),
            rgba(16, 13, 10, 0.985);
        border: 1px solid rgba(200, 150, 90, 0.3);
        border-radius: 8px;
        box-shadow: 0 24px 60px rgba(0,0,0,0.68);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }
    .df-nav-wrap.is-open {
        display: block !important;
        animation: df-menu-reveal 0.25s ease both;
    }
    .df-nav-wrap .df-nav {
        display: flex !important;
        flex-direction: column;
        gap: 0 !important;
        margin: 0;
        padding: 0;
    }
    .df-nav-wrap .df-nav li { display: block; }
    .df-nav-wrap .df-nav a {
        display: flex;
        align-items: center;
        min-height: 46px;
        padding: 0 16px;
        border-bottom: 1px solid rgba(200, 150, 90, 0.12);
        color: #b9ada0;
        font-size: 0.7rem;
        letter-spacing: 1.8px;
    }
    .df-nav-wrap .df-nav li:last-child a { border-bottom: 0; }
    .df-nav-wrap .df-nav a:hover,
    .df-nav-wrap .df-nav a.active {
        color: #ddb075;
        background: #002e24;
    }
}

@keyframes df-menu-reveal {
    from { opacity: 0; transform: translateY(-8px) scale(0.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.df-main-footer {
    background-color: #35241b !important;
    color: #c4b7a8;
    font-family: 'Lato', system-ui, sans-serif;
    position: relative;
    border-top: 1px solid rgba(200, 150, 90, 0.15);
    width: 100%;
    clear: both;
}

.df-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 70px 32px 50px;
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
}

/* Rodapé compacto: identidade e contato em uma composição de duas colunas. */
.df-footer-container-compact {
    grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
    gap: clamp(64px, 9vw, 140px);
    align-items: center;
    padding-top: 76px;
    padding-bottom: 60px;
}

.df-footer-container-compact .df-footer-brand {
    max-width: 520px;
    padding-right: 0;
}

.df-footer-contact-col {
    position: relative;
    padding: 8px 0 8px clamp(36px, 5vw, 72px);
    border-left: 1px solid rgba(200, 150, 90, 0.24);
}

.df-footer-contact-col::before {
    content: '';
    position: absolute;
    top: 0;
    left: -3px;
    width: 5px;
    height: 5px;
    background: #c8965a;
    transform: rotate(45deg);
    box-shadow: 0 0 16px rgba(200, 150, 90, 0.45);
}

.df-footer-contact-col .df-footer-heading {
    margin-top: 0;
}

.df-footer-contact-col .df-footer-contact li {
    margin-bottom: 15px;
}

.df-footer-contact-col .df-footer-contact a {
    font-size: 0.95rem;
}

.df-footer-contact-col .df-footer-address {
    max-width: 390px;
    margin-top: 22px;
}

.df-footer-brand {
    padding-right: 20px;
}

.df-footer-logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    margin-bottom: 24px;
    display: block;
}

.df-footer-tagline {
    font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 0.98rem;
    line-height: 1.7;
    color: #c8965a;
    font-weight: 400;
    max-width: 320px;
}

.df-footer-heading {
    font-family: 'Lato', system-ui, sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #c8965a;
    margin-bottom: 24px;
}

.df-footer-links,
.df-footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
}

.df-footer-links li,
.df-footer-contact li {
    margin-bottom: 12px;
}

.df-footer-links a,
.df-footer-contact a {
    color: #c4b7a8;
    font-size: 0.92rem;
    text-decoration: none;
    transition: color 0.25s ease;
    font-weight: 400;
}

.df-footer-links a:hover,
.df-footer-contact a:hover {
    color: #e2b978;
}

.df-footer-address {
    color: #c4b7a8;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 16px;
    font-weight: 300;
}

/* Divisor Glow */
.df-footer-glow-divider {
    max-width: 1200px;
    height: 1px;
    margin: 10px auto 35px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(200, 150, 90, 0.15) 20%, 
        rgba(200, 150, 90, 0.55) 50%, 
        rgba(200, 150, 90, 0.15) 80%, 
        transparent 100%
    );
}

/* Barra inferior */
.df-footer-bottom-bar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    color: #a39585;
}

.df-footer-copy {
    color: #a39585;
}

.df-footer-socials {
    display: flex;
    align-items: center;
    gap: 16px;
}

.df-footer-socials a {
    color: #c8965a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.25s ease, transform 0.25s ease;
}

.df-footer-socials a:hover {
    color: #e2b978;
    transform: translateY(-2px);
}

/* ─── ALERTA PREMIUM: REDES SOCIAIS EM BREVE ─────────────────────────────── */
body.df-modal-open { overflow: hidden; }
.df-coming-soon-modal[hidden] { display: none !important; }
.df-coming-soon-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(6, 5, 4, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.25s ease;
}
.df-coming-soon-modal.is-visible { opacity: 1; }
.df-coming-soon-dialog {
    position: relative;
    width: min(100%, 480px);
    padding: 54px 48px 46px;
    overflow: hidden;
    text-align: center;
    color: #ede8e0;
    background:
        radial-gradient(circle at 50% 0%, rgba(200, 150, 90, 0.16), transparent 46%),
        linear-gradient(145deg, #201811 0%, #100d0a 100%);
    border: 1px solid rgba(200, 150, 90, 0.38);
    border-radius: 8px;
    box-shadow: 0 36px 100px rgba(0,0,0,0.72), inset 0 1px 0 rgba(255,255,255,0.04);
    transform: translateY(16px) scale(0.97);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.df-coming-soon-modal.is-visible .df-coming-soon-dialog { transform: translateY(0) scale(1); }
.df-coming-soon-dialog::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    width: 70%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ddb075, transparent);
}
.df-coming-soon-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 36px !important;
    height: 36px;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50%;
    color: #96897c !important;
    background: transparent !important;
    font-size: 1.65rem;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
}
.df-coming-soon-close:hover { color: #ddb075 !important; }
.df-coming-soon-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(200, 150, 90, 0.42);
    border-radius: 50%;
    background: rgba(200, 150, 90, 0.08);
    box-shadow: 0 0 30px rgba(200, 150, 90, 0.08);
}
.df-coming-soon-icon svg {
    width: 24px;
    height: 24px;
    fill: #ddb075;
    color: #ddb075;
    filter: drop-shadow(0 0 9px rgba(221, 176, 117, 0.38));
}
.df-coming-soon-network {
    display: block;
    margin-bottom: 12px;
    color: #c8965a;
    font: 700 0.68rem/1 'Lato', system-ui, sans-serif;
    letter-spacing: 3px;
    text-transform: uppercase;
}
.df-coming-soon-dialog h2 {
    margin: 0 0 14px;
    color: #f2ede5 !important;
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: clamp(1.65rem, 4vw, 2.15rem);
    font-weight: 500;
    line-height: 1.22;
}
.df-coming-soon-dialog p {
    margin: 0;
    color: #a99d90;
    font: 400 0.95rem/1.7 'Lato', system-ui, sans-serif;
}
.df-coming-soon-ornament {
    display: flex;
    align-items: center;
    margin: 26px auto;
    max-width: 190px;
}
.df-coming-soon-ornament::before,
.df-coming-soon-ornament::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200,150,90,0.42));
}
.df-coming-soon-ornament::after { transform: rotate(180deg); }
.df-coming-soon-ornament span {
    width: 5px;
    height: 5px;
    margin: 0 10px;
    background: #c8965a;
    transform: rotate(45deg);
}
.df-coming-soon-confirm {
    min-width: 150px;
    padding: 11px 24px !important;
    color: #f1e8dc !important;
    background: #002e24 !important;
    border: 1px solid rgba(200, 150, 90, 0.48) !important;
    border-radius: 999px !important;
    font: 700 0.7rem/1 'Lato', system-ui, sans-serif !important;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.25s, border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.df-coming-soon-confirm:hover {
    color: #ddb075 !important;
    border-color: #c8965a !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(0, 46, 36, 0.34);
}
@media (max-width: 520px) {
    .df-coming-soon-dialog { padding: 48px 24px 38px; }
}

.df-footer-tagline-bottom {
    color: #a39585;
}

/* Responsividade */
@media (max-width: 992px) {
    .df-footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    .df-footer-container-compact {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr);
        gap: 48px;
    }

    .df-footer-contact-col {
        padding-left: 36px;
    }
}

@media (max-width: 640px) {
    .df-footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
        padding: 50px 20px 40px;
    }

    .df-footer-brand {
        padding-right: 0;
    }

    .df-footer-logo-img {
        margin: 0 auto 20px;
    }

    .df-footer-tagline {
        margin: 0 auto;
    }

    .df-footer-container-compact {
        gap: 38px;
        padding-top: 52px;
        padding-bottom: 44px;
    }

    .df-footer-contact-col {
        width: 100%;
        padding: 34px 0 0;
        border-top: 1px solid rgba(200, 150, 90, 0.24);
        border-left: 0;
    }

    .df-footer-contact-col::before {
        top: -3px;
        left: 50%;
        margin-left: -3px;
    }

    .df-footer-contact-col .df-footer-address {
        margin-right: auto;
        margin-left: auto;
    }

    .df-footer-bottom-bar {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        padding: 0 20px 35px;
    }
}
