/* ======================================================
   Vitrine Glass — site.css
   Cores via CSS custom properties injetadas por tenant em layouts/app.blade.php
   ====================================================== */

:root {
    --cor-primaria:    #183b9f;
    --cor-secundaria:  #1a2a6c;
    --cor-texto:       #555;
    --cor-rodape-fundo: var(--cor-primaria);
}

/* ── Base ── */
body {
    font-family: var(--font-body, 'Open Sans'), sans-serif;
    font-size: 1rem;
}

body a {
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading, 'Righteous'), cursive;
    margin: 0;
    padding: 0;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.125rem; }
h5 { font-size: 0.9rem; }
h6 { font-size: 0.8rem; }

p {
    margin: 0;
    padding: 0;
    color: var(--cor-texto, #555);
    line-height: 1.8em;
}

ul { padding: 0; margin: 0; }

a, a:hover { text-decoration: none; color: var(--cor-texto, #6f7070); }

/* ── Dot pattern ── */
.dot {
    width: 100%;
    height: 70px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 1px, transparent 1px);
    background-size: 8px 8px;
    background-position: 0 0;
}

/* ── Topbar ── */
#topo {
    background: #ffffff;
    height: 40px;
    overflow: hidden;
    border-bottom: 1px solid #ddd;
}

#topocentro {
    height: 40px;
    max-width: 1200px;
    margin: auto;
}

#topo li {
    color: var(--cor-texto, #6f7070);
    float: left;
    list-style: none;
    font-size: 13px;
    padding: 7px;
}

#topo li a {
    color: var(--cor-texto, #6f7070);
    text-decoration: none;
}

.icon-topo {
    font-size: 14px;
    vertical-align: middle;
    margin-right: 5px;
    color: var(--cor-texto, #6f7070);
}

.social-icons {
    float: right;
    margin-top: 4px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin: 0 4px;
    text-decoration: none;
}

.social-icons a[aria-label="Facebook"]  { color: #1877F2; }
.social-icons a[aria-label="Instagram"] { color: #E1306C; }
.social-icons a[aria-label="WhatsApp"]  { color: #25D366; }
.social-icons a[aria-label="YouTube"]   { color: #FF0000; }
.social-icons a[aria-label="TikTok"]    { color: #010101; }

/* ── Header ── */
.header {
    background: #fff;
}

.header-top {
    background: #fff;
    padding: 0;
}

/* Container do header: logo + nav lado a lado na mesma linha */
.header-top > .container {
    display: flex;
    align-items: center;
    padding-top: 1em;
    padding-bottom: 1em;
    gap: 1.5em;
}

.logo {
    flex-shrink: 0;
}

.logo h1 {
    margin: 0;
    padding: 0;
    line-height: 1;
    font-size: inherit;
}

/* ── modo: somente imagem (padrão — igual ao lider-vidros original) ── */
.logo--logo .logo-link {
    display: block;
    text-decoration: none;
}

.logo--logo .logo-img {
    width: 80px;
    height: auto;
    display: block;
}

/* ── modo: somente texto ── */
.logo--texto .logo-link {
    display: block;
    text-decoration: none;
}

.logo--texto .logo-text {
    font-family: var(--font-heading, 'Righteous'), cursive;
    font-size: 1.6em;
    color: var(--cor-primaria);
    display: block;
    line-height: 1.2;
}

/* ── modo: imagem + texto lado a lado ── */
.logo--ambos .logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    text-decoration: none;
}

.logo--ambos .logo-img {
    width: 80px;
    height: auto;
    max-height: 48px;
    object-fit: contain;
}

.logo--ambos .logo-text {
    font-family: var(--font-heading, 'Righteous'), cursive;
    font-size: 1.3em;
    color: var(--cor-primaria);
}

/* hover — todos os modos */
.logo-link:hover { opacity: 0.85; }

.header-bottom {
    flex: 1;
    padding: 0;
    min-width: 0;
}

/* ── Navbar ── */
.navbar {
    position: relative;
    min-height: 50px;
    margin-bottom: 0;
    border: 1px solid transparent;
    padding: 0;
}

.navbar-default {
    background: transparent !important;
    border: none !important;
}

.navbar-default .navbar-nav > li > a,
.navbar-default .navbar-nav > li > .menu__link {
    color: var(--cor-primaria);
    font-size: 1.2em;
    font-family: var(--font-heading, 'Righteous'), cursive;
}

/* Bootstrap 5 toggler estilizado como o Bootstrap 3 */
.navbar-toggler {
    background-color: var(--cor-primaria);
    border: 1px solid var(--cor-primaria);
    padding: 8px 10px;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 0;
}

.navbar-toggler .icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    margin: 4px 0;
}

.navbar-toggler:hover,
.navbar-toggler:focus {
    background-color: var(--cor-primaria);
    opacity: 0.9;
}

/* ── menu--francisco ── */
.menu__list { list-style: none; flex-wrap: inherit; }

.menu__item { display: block; }

.menu__link,
.menu__link:hover,
.menu__link:focus { outline: none; }

.menu--francisco .menu__item { margin: 0 1.5em; }

.menu--francisco .menu__link {
    position: relative;
    overflow: hidden;
    height: 3em;
    padding: 1em 0 1em !important;
    text-align: center;
    color: var(--cor-primaria) !important;
    transition: color 0.3s;
    display: block;
}

.menu--francisco .menu__link:hover,
.menu--francisco .menu__link:focus {
    color: #000001 !important;
    background: transparent !important;
}

.menu--francisco .menu__item--current .menu__link {
    color: #000001 !important;
}

.menu--francisco .menu__link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    opacity: 0;
    background: var(--cor-primaria);
    transform: translate3d(0, -3em, 0);
    transition: transform 0s 0.3s, opacity 0.2s;
}

.menu--francisco .menu__item--current .menu__link::before,
.menu--francisco .menu__link:hover::before {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: transform 0.5s, opacity 0.1s;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.menu--francisco .menu__helper {
    display: block;
    pointer-events: none;
}

.menu--francisco .menu__item--current .menu__helper,
.menu--francisco .menu__link:hover .menu__helper {
    animation: anim-francisco 0.3s forwards;
}

@keyframes anim-francisco {
    50%  { opacity: 0; transform: translate3d(0, 100%, 0); }
    51%  { opacity: 0; transform: translate3d(0, -100%, 0); }
    100% { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* ── Dropdown in header ── */
.navbar-default .dropdown-menu {
    border: none;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 6px 16px rgba(0,0,0,.15);
    background: #fff;
    min-width: 210px;
    padding: 4px 0;
}

.navbar-default .dropdown-menu > li > a {
    display: block;
    padding: 8px 20px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #444;
    transition: background .15s, color .15s;
    text-decoration: none;
}

.navbar-default .dropdown-menu > li > a:hover,
.navbar-default .dropdown-menu > li > a.active {
    background: #000001 !important;
    color: #ffffff !important;
}

.dropdown-toggle::after { display: none; }  /* remove caret Bootstrap 5 */

/* ── Hero slider (Swiper v11) ── */
.hero-swiper {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
    border-top: 2px solid var(--cor-primaria);
}

.hero-swiper .swiper { height: 100%; }

.hero-swiper .swiper-slide {
    position: relative;
    height: 100%;
}

.hero-swiper__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* overlay por slide — faz fade junto com a imagem */
.hero-swiper__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.06) 0%, rgba(0,0,0,.54) 100%);
    z-index: 1;
    pointer-events: none;
}

/* conteúdo (título + subtítulo + CTA) por slide */
.hero-swiper__content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    padding: 0 2em 3.5em;
    text-align: center;
    pointer-events: none;
}

.hero-swiper__content h2 {
    color: #fff;
    font-family: var(--font-heading, 'Righteous'), cursive;
    font-size: 2.8em;
    text-shadow: 0 2px 14px rgba(0,0,0,.55);
    margin: 0 0 0.3em;
    line-height: 1.15;
}

.hero-swiper__content p {
    color: rgba(255,255,255,.92);
    font-size: 1.2em;
    text-shadow: 0 1px 7px rgba(0,0,0,.5);
    margin: 0 0 1.6em;
}

/* botão CTA — oculto no mobile */
.hero-swiper__cta {
    display: inline-block;
    padding: 0.65em 2.2em;
    border: 2px solid rgba(255,255,255,.85);
    color: #fff;
    font-family: var(--font-heading, 'Righteous'), cursive;
    font-size: 0.95em;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    pointer-events: auto;
    transition: background .25s, color .25s, border-color .25s;
    backdrop-filter: blur(2px);
}

.hero-swiper__cta:hover {
    background: #fff;
    color: var(--cor-primaria);
    border-color: #fff;
}

/* setas de navegação */
.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
    color: rgba(255,255,255,.75);
    --swiper-navigation-size: 26px;
    transition: color .2s;
    z-index: 10;
}

.hero-swiper .swiper-button-prev::after,
.hero-swiper .swiper-button-next::after { display: none; }

.hero-swiper .swiper-button-prev i,
.hero-swiper .swiper-button-next i { font-size: 1.1em; }

.hero-swiper .swiper-button-prev:hover,
.hero-swiper .swiper-button-next:hover { color: #fff; }

/* paginação (bolinhas) */
.hero-swiper .swiper-pagination { bottom: 18px; z-index: 10; }

.hero-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,.45);
    opacity: 1;
    transition: background .3s, transform .3s;
}

.hero-swiper .swiper-pagination-bullet-active {
    background: var(--cor-primaria);
    transform: scale(1.35);
}

/* ── Sections padding ── */
.about-w3,
.whychoose-w3ls,
.mail-w3,
.gallery-w3l {
    padding: 5em 0;
}

h2.tittle {
    color: var(--cor-primaria);
    font-size: 2.2em;
    text-align: center;
}

.features-grids,
.about-grids,
.choose-grids,
.mail-w3l,
.gallery-grids,
.footer-grids {
    margin-top: 4em;
}

/* ── Features section ── */
.features-w3 {
    padding-bottom: 5em;
    border-bottom: 1px dashed var(--cor-primaria);
    border-top: 1px dashed var(--cor-primaria);
}

.multi-gd-text a {
    display: block;
    position: relative;
}

.multi-gd-text a::before {
    background: rgba(0,0,0,0.34);
    position: absolute;
    right: 0; top: 0;
    width: 0; height: 0;
    transition: all 0.5s ease-out 0s;
    z-index: 99;
    content: "";
}

.multi-gd-text a:hover::before { width: 100%; height: 100%; }

.multi-gd-text a::after {
    background: rgba(81,3,1,0.3);
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 0;
    transition: all 0.5s ease-out 0s;
    z-index: 99;
    content: "";
}

.multi-gd-text a:hover::after { width: 100%; height: 100%; }

.multi-gd-text img {
    background: #f2f2f2;
    padding: 0.2em;
    border: 1px dashed var(--cor-primaria);
    width: 100%;
    display: block;
}

.feat-top {
    display: flex;
    gap: 6px;
}

.feat-left {
    flex: 1;
    padding: 0;
}

.feat-left .multi-gd-text img {
    height: 280px;
    object-fit: cover;
}

.feat-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.feat-right .multi-gd-text img {
    height: 134px;
    object-fit: cover;
}

.feat-grid h4 {
    font-size: 1.8em;
    color: var(--cor-primaria);
    padding: 1em 0 0.5em;
}

.feat-grid p {
    font-size: 1em;
    color: var(--cor-texto, #555);
}

/* ── Banner pages ── */
.banner1 {
    height: 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--cor-primaria), var(--cor-secundaria));
    border-top: 1px dashed var(--cor-secundaria);
    border-bottom: 1px dashed rgba(255,255,255,0.3);
}

.banner1 .dot {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
}

.banner1 h3 {
    font-size: 1em;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    white-space: nowrap;
    margin: 0;
}

.banner1 h3 a { color: rgba(255,255,255,0.85); }
.banner1 h3 a:hover { color: #fff; }
.banner1 h3 span { color: #fff; }

/* ── About ── */
.about-grid1 h4 {
    font-size: 1.8em;
    color: var(--cor-primaria);
}

.about-grid1 p {
    font-size: 1em;
    padding-top: 1em;
}

.choose-grid h4 {
    font-size: 1.8em;
    color: var(--cor-primaria);
}

.choose-grid p {
    font-size: 1em;
    color: var(--cor-texto, #555);
    margin-top: 0.8em;
}

.choose-grid i {
    font-size: 3em;
    color: var(--cor-primaria);
    display: block;
    margin-bottom: 0.4em;
}

/* ── Contact/Mail ── */
.mail-grid input[type="text"],
.mail-grid input[type="email"],
.mail-grid textarea {
    outline: none;
    border: 1px solid #E9E9E9;
    width: 100%;
    background: none;
    color: var(--cor-texto, #555);
    font-size: 1em;
    padding: 12px 10px;
}

.mail-grid input[type="email"],
.mail-grid textarea {
    margin: 0.5em 0;
}

.mail-grid textarea {
    min-height: 125px;
    resize: none;
}

.mail-grid input[type="submit"] {
    outline: none;
    border: none;
    width: 100%;
    background: var(--cor-primaria);
    color: #fff;
    font-size: 1em;
    padding: 12px 0;
    text-transform: uppercase;
    transition: 0.5s all;
    cursor: pointer;
}

.mail-grid input[type="submit"]:hover {
    background: var(--cor-secundaria);
}

.mail-grid h4 {
    font-size: 1.5em;
    color: var(--cor-primaria);
    margin-bottom: 0.8em;
    padding-top: 0.5em;
}

.mail-grid p { color: var(--cor-texto, #555); }
.mail-grid p i { color: var(--cor-primaria); }
.mail-grid p a { color: var(--cor-texto, #555); text-decoration: none; }
.mail-grid p a i { color: var(--cor-primaria); }
.mail-grid p a:hover { color: #333; text-decoration: underline; }

.map iframe { width: 100%; min-height: 400px; }
.map { margin-top: 3em; }

.alert-danger {
    font-size: 0.9em;
    color: var(--cor-primaria);
    background-color: #fff;
    border-color: var(--cor-primaria);
    margin-bottom: 0;
}

/* ── Gallery ── */
.gallery-grids-left { margin-bottom: 30px; }

.gallery-grid {
    padding: 5px;
    border: 1px dashed var(--cor-primaria);
}

.gallery-grid img { width: 100%; }

/* port-7 effect-3: overlay label on gallery images */
.port-7 {
    width: 100%;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.port-7.effect-3 img {
    transition: 0.5s;
    position: relative;
    width: 100%;
    right: 0;
}

.port-7.effect-3 .gal-desc {
    transform: perspective(600px) rotateY(-90deg);
    transform-origin: right center 0;
    width: 50%;
    position: absolute;
    left: auto;
    right: 0;
    top: 0;
    padding: 51px 30px 0;
}

.port-7 .gal-desc {
    opacity: 0;
    transition: 0.5s;
    color: #000;
}

.gal-desc h4 {
    color: var(--cor-primaria);
    font-size: 1.8em;
    margin-bottom: 0.8em;
}

.gal-desc p {
    line-height: 2.2em;
    font-size: 1em;
    color: #464646;
}

/* floating label text inside effect-3 — centralizado vertical e horizontal */
.effect-3 p {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    margin: 0;
    padding: 0 1em;
    color: #fff;
    text-align: center;
    font-family: var(--font-accent, 'Josefin Sans'), sans-serif;
    font-size: 2em;
    line-height: 1.2;
    text-shadow: 0 1px 4px rgba(0,0,0,.55);
    pointer-events: none;
}

.pro-top { margin-top: 30px; }

/* ── Footer ── */
.footer-w3l { padding: 5em 0; }

.footer-grid h4 {
    color: var(--cor-rodape-links, var(--cor-primaria));
    font-size: 2em;
    margin-bottom: 1em;
}

.footer-grid p { font-size: 1em; color: var(--cor-rodape-links, var(--cor-primaria)); }
.footer-grid p a { color: var(--cor-rodape-links, var(--cor-primaria)); text-decoration: none; }
.footer-grid p a:hover { opacity: 0.75; text-decoration: underline; }

.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li { margin-bottom: 0.4em; }
.footer-grid ul li a { color: var(--cor-rodape-links, var(--cor-primaria)); font-size: 1em; text-decoration: none; }
.footer-grid ul li a:hover { opacity: 0.75; text-decoration: underline; }

/* ── Copy section ── */
.copy-section {
    padding: 2.7em 0;
    background: var(--cor-rodape-fundo, var(--cor-primaria));
    text-align: center;
    border-bottom: 1px dashed rgba(255,255,255,0.4);
    border-top: 1px dashed rgba(255,255,255,0.4);
}

.copy-section p {
    font-size: 0.9em;
    color: #fff;
    font-weight: 400;
}

.copy-section a { font-size: 1em; color: #fff; }

/* ── Buttons ── */
.btn-primary {
    background-color: var(--cor-primaria);
    border-color: var(--cor-primaria);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--cor-secundaria);
    border-color: var(--cor-secundaria);
}

.btn-outline-primary { color: var(--cor-primaria); border-color: var(--cor-primaria); }
.btn-outline-primary:hover { background-color: var(--cor-primaria); border-color: var(--cor-primaria); color: #fff; }

.pagination .page-item.active .page-link {
    background-color: var(--cor-primaria);
    border-color: var(--cor-primaria);
}

.pagination .page-link { color: var(--cor-primaria); }

/* ── WhatsApp float ── */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
    z-index: 9999;
    transition: transform .2s;
}

.whatsapp-float:hover { transform: scale(1.1); color: #fff; }

/* ── Responsive ── */
@media (max-width: 1200px) {
    .social-icons { display: none; }
}

@media (max-width: 991px) {
    /* no mobile o container empilha logo acima do nav */
    .header-top > .container {
        flex-direction: column;
        align-items: center;
        gap: 0.5em;
        padding-top: 0.75em;
        padding-bottom: 0.25em;
    }

    .logo { text-align: center; }
    .logo--logo .logo-img   { margin: 0 auto; }
    .logo--texto .logo-link { text-align: center; }
    .logo--ambos .logo-link { justify-content: center; }

    .header-bottom { width: 100%; padding: 0; }

    .menu--francisco .menu__item { margin: 0 0.5em; }

    .menu--francisco .menu__link {
        height: auto;
        padding: 0.6em 0.5rem !important;
    }

    /* dropdown mobile: fundo branco sobre header branco */
    .navbar-default .dropdown-menu {
        border-top: none;
        border-left: 3px solid var(--cor-primaria);
        box-shadow: none;
        background: #fff;
        padding-left: 0.5rem;
        border-radius: 0;
    }

    .navbar-default .dropdown-menu > li > a { color: #444; }
    .navbar-default .dropdown-menu > li > a:hover { background: var(--cor-primaria); color: #fff; }

    .feat-grid { width: 50%; float: left; }
    .mail-grid { width: 50%; float: left; }
    .footer-grid { width: 33.3%; float: left; }
    .choose-grid { width: 33.3%; float: left; }
}

@media (max-width: 768px) {
    #topo { display: none; }
    .hero-swiper { height: 280px; }
    .hero-swiper__content h2 { font-size: 1.8em; }
    .hero-swiper__content p  { font-size: 1em; }
    .hero-swiper__cta { display: none; }
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    .features-w3 { padding-bottom: 3em; }
    .about-w3, .whychoose-w3ls, .mail-w3, .gallery-w3l, .footer-w3l { padding: 3em 0; }
}

@media (max-width: 640px) {
    .feat-grid { width: 100%; float: none; }
    .feat-grid:nth-child(2) { margin-top: 2em; }
    .feat-top { flex-direction: column; }
    .feat-right { padding-left: 0; margin-top: 0.4em; }
}

@media (max-width: 568px) {
    .choose-grid { width: 100%; float: none; text-align: center; }
    .choose-grid + .choose-grid { margin-top: 2em; }
}

@media (max-width: 480px) {
    .footer-grid { width: 100%; float: none; }
    .footer-grid + .footer-grid { margin-top: 2em; }
    .mail-grid { width: 100%; float: none; }
    .mail-grid + .mail-grid { margin-top: 2em; }
    h2.tittle { font-size: 2em; }
    .copy-section { padding: 1em 0; }
}
