/* ============================================================
   WRAS Informática – style.css (novo site)
   ============================================================ */
:root {
    --bg:        #f0ede8;
    --white:     #ffffff;
    --dark:      #1a1a1a;
    --muted:     #666666;
    --border:    #d4d0ca;
    --blue:      #1565c0;
    --blue2:     #1e88e5;
    --blue3:     #42a5f5;
    --blue-pale: #e3f0fd;
    --success:   #16a34a;
    --danger:    #dc2626;
    --radius:    12px;
    --shadow:    0 4px 24px rgba(21,101,192,0.10);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Open Sans', Arial, sans-serif;
    background: var(--bg);
    color: var(--dark);
    padding-top: 72px;
    overflow-x: hidden;
}
h1,h2,h3,h4,h5 { font-family: 'Montserrat', Arial, sans-serif; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

/* ── NAVBAR ── */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: 72px;
    background: rgba(240,237,232,0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; padding: 0 5%; gap: 1rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.navbar-logo img { height: 50px; width: auto; }
.navbar-divider { width: 1px; height: 32px; background: var(--border); margin: 0 .3rem; }
.navbar-nav { display: flex; align-items: center; gap: .1rem; flex: 1; }
.nav-link {
    font-family: 'Montserrat', sans-serif; font-size: .8rem; font-weight: 600;
    color: var(--dark); padding: .4rem .8rem; border-radius: 8px; transition: all .2s;
    white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
    background: var(--blue-pale); color: var(--blue); text-decoration: none;
}
.navbar-actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.btn-nav-outline {
    font-family: 'Montserrat', sans-serif; font-size: .8rem; font-weight: 700;
    color: var(--blue); border: 2px solid var(--blue); background: transparent;
    padding: .38rem 1rem; border-radius: 8px; transition: all .2s; white-space: nowrap;
}
.btn-nav-outline:hover { background: var(--blue); color: #fff; text-decoration: none; }
.btn-nav-solid {
    font-family: 'Montserrat', sans-serif; font-size: .8rem; font-weight: 700;
    color: #fff; background: var(--blue); border: 2px solid var(--blue);
    padding: .38rem 1rem; border-radius: 8px; transition: all .2s; white-space: nowrap;
}
.btn-nav-solid:hover { background: var(--blue2); border-color: var(--blue2); text-decoration: none; }

/* ── HERO ── */
.hero {
    background: linear-gradient(135deg, #1a3a6b 0%, #1565c0 60%, #1e88e5 100%);
    padding: 10px 5% 8px;
    color: #fff; position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
}
.hero-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(1.8rem,4vw,3rem); font-weight: 900; margin-bottom: .8rem; line-height: 1.15; }
.hero h1 span { color: #7dd3fc; }
.hero p { font-size: 1rem; color: rgba(255,255,255,0.85); max-width: 580px; line-height: 1.7; margin-bottom: 1.8rem; }
.hero-badge {
    display: inline-flex; align-items: center; gap: .5rem;
    background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px; padding: .3rem .9rem; font-size: .75rem; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1.2rem; color: #fff;
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: #7dd3fc; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.5)} }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-hero-white {
    background: #fff; color: var(--blue);
    font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: .9rem;
    padding: .8rem 1.8rem; border-radius: 10px; border: none; cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2); transition: all .2s;
}
.btn-hero-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.25); text-decoration: none; color: var(--blue); }
.btn-hero-outline {
    background: transparent; color: #fff;
    font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: .9rem;
    padding: .8rem 1.8rem; border-radius: 10px; border: 2px solid rgba(255,255,255,0.5);
    cursor: pointer; transition: all .2s;
}
.btn-hero-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; text-decoration: none; color: #fff; }

/* ── SEÇÕES ── */
.section { padding: 60px 5%; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-tag {
    display: inline-block; background: var(--blue-pale); color: var(--blue);
    font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    border-radius: 20px; padding: .22rem .9rem; margin-bottom: .7rem;
}
.section-header h2 { font-size: clamp(1.5rem,3vw,2rem); font-weight: 800; margin-bottom: .5rem; }
.section-header p { color: var(--muted); font-size: .95rem; max-width: 500px; margin: 0 auto; }

/* ── BANNER / SLIDER ── */
.banner-section { background: var(--white); padding: 0; overflow: hidden; }
.banner-slider { position: relative; width: 100%; overflow: hidden; }
.banner-track { display: flex; transition: transform .5s ease; }
.banner-slide { min-width: 100%; position: relative; cursor: pointer; }
.banner-slide img { width: 100%; height: 380px; object-fit: contain; background: #e3f0fd; display: block; }
.banner-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    padding: 2rem; color: #fff;
}
.banner-overlay h3 { font-size: 1.4rem; font-weight: 800; }
.banner-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.25);
    color: #fff; width: 44px; height: 44px; border-radius: 50%;
    font-size: 1.2rem; cursor: pointer; display: flex; align-items: center;
    justify-content: center; transition: all .2s; border: none;
}
.banner-nav:hover { background: rgba(255,255,255,0.4); }
.banner-prev { left: 1rem; }
.banner-next { right: 1rem; }
.banner-dots { display: flex; justify-content: center; gap: .5rem; padding: .8rem 0; background: var(--white); }
.banner-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); cursor: pointer; transition: all .2s; border: none; }
.banner-dot.ativo { background: var(--blue); transform: scale(1.3); }

/* ── CARDS DE SERVIÇO ── */
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}
.servico-card {
    background: var(--white); border: 2px solid var(--border);
    border-radius: var(--radius); padding: 1.4rem 1rem;
    text-align: center; transition: all .25s; cursor: pointer;
    text-decoration: none; display: block; color: var(--dark);
    position: relative; overflow: hidden;
}
.servico-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--blue2));
    transform: scaleX(0); transition: transform .25s;
}
.servico-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue2); text-decoration: none; color: var(--dark); }
.servico-card:hover::before { transform: scaleX(1); }
.servico-icon { font-size: 2.2rem; margin-bottom: .7rem; }
.servico-card h3 { font-size: .85rem; font-weight: 700; margin-bottom: .4rem; }
.servico-card p { font-size: .76rem; color: var(--muted); line-height: 1.5; }
.servico-card .ver-mais { font-size: .74rem; color: var(--blue); font-weight: 700; margin-top: .7rem; display: block; }

/* ── AVALIAÇÕES ── */
.aval-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 1.2rem; }
.aval-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.4rem;
    box-shadow: var(--shadow);
}
.aval-stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: .6rem; }
.aval-texto { font-size: .9rem; color: var(--dark); line-height: 1.7; margin-bottom: .8rem; font-style: italic; }
.aval-autor { display: flex; align-items: center; gap: .7rem; }
.aval-avatar {
    width: 38px; height: 38px; border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--blue2));
    display: flex; align-items: center; justify-content: center;
    font-family: 'Montserrat', sans-serif; font-weight: 800; color: #fff; font-size: .9rem;
}
.aval-nome { font-weight: 700; font-size: .88rem; }
.aval-data { font-size: .75rem; color: var(--muted); }

/* ── FORM AVALIAÇÃO ── */
.aval-form { background: var(--white); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); max-width: 600px; margin: 0 auto; }
.star-rating { display: flex; flex-direction: row-reverse; gap: .3rem; justify-content: flex-end; margin-bottom: 1rem; }
.star-rating input { display: none; }
.star-rating label { font-size: 2rem; color: var(--border); cursor: pointer; transition: color .2s; }
.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label { color: #f59e0b; }

/* ── FORM GERAL ── */
.form-group { margin-bottom: 1rem; }
.form-label { display: block; font-size: .78rem; font-weight: 700; color: var(--muted); margin-bottom: .4rem; text-transform: uppercase; letter-spacing: .04em; }
.form-control {
    width: 100%; padding: .72rem 1rem; background: var(--bg);
    border: 2px solid var(--border); border-radius: 10px; color: var(--dark);
    font-size: .92rem; font-family: 'Open Sans', sans-serif; outline: none; transition: all .2s;
}
.form-control:focus { border-color: var(--blue2); box-shadow: 0 0 0 4px rgba(30,136,229,0.1); background: #fff; }
textarea.form-control { resize: vertical; min-height: 90px; }

/* ── BOTÕES ── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
    font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: .88rem;
    padding: .65rem 1.4rem; border-radius: 10px; cursor: pointer; border: none; transition: all .2s;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue2); color: #fff; text-decoration: none; }
.btn-outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; text-decoration: none; }
.btn-success { background: var(--success); color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-block { width: 100%; }
.btn-lg { padding: .85rem 2rem; font-size: .95rem; }

/* ── PÁGINA INTERNA ── */
.page-hero {
    background: linear-gradient(135deg, #1a3a6b, #1565c0);
    padding: 3rem 5%; color: #fff; position: relative; overflow: hidden;
}
.page-hero::before {
    content: ''; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.04) 1px,transparent 1px),
        linear-gradient(90deg,rgba(255,255,255,0.04) 1px,transparent 1px);
    background-size: 40px 40px;
}
.page-hero-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(1.6rem,3.5vw,2.4rem); font-weight: 900; margin-bottom: .4rem; }
.page-hero p { color: rgba(255,255,255,0.82); font-size: .95rem; }

/* ── BREADCRUMB ── */
.breadcrumb { font-size: .8rem; color: var(--muted); padding: .8rem 5%; background: var(--white); border-bottom: 1px solid var(--border); }
.breadcrumb a { color: var(--blue); }
.breadcrumb span { margin: 0 .4rem; color: var(--border); }

/* ── CARD SERVIÇO INTERNO ── */
.servico-interno { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; margin-bottom: 3rem; padding-bottom: 3rem; border-bottom: 1px solid var(--border); }
.servico-interno:last-child { border-bottom: none; }
.servico-interno.inverso { direction: rtl; }
.servico-interno.inverso > * { direction: ltr; }
.servico-interno img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 260px; object-fit: cover; }
.servico-interno h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: .7rem; color: var(--blue); }
.servico-interno p { font-size: .95rem; line-height: 1.8; color: var(--dark); margin-bottom: 1rem; }
.servico-interno ul { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
.servico-interno ul li { font-size: .9rem; color: var(--dark); display: flex; align-items: center; gap: .6rem; }
.servico-interno ul li::before { content: '✓'; color: var(--success); font-weight: 800; flex-shrink: 0; }

/* ── CTA SECTION ── */
.cta-section {
    background: linear-gradient(135deg, #1a3a6b, #1565c0);
    padding: 3.5rem 5%; text-align: center; color: #fff;
}
.cta-section h2 { font-size: clamp(1.4rem,3vw,2rem); font-weight: 900; margin-bottom: .6rem; }
.cta-section p { color: rgba(255,255,255,0.82); margin-bottom: 1.5rem; font-size: .95rem; }

/* ── FOOTER ── */
footer {
    background: rgba(240,237,232,0.97);
    border-top: 1px solid var(--border);
    padding: 2.5rem 5% 1.5rem;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); margin-bottom: 1.2rem; }
.footer-brand img { height: 44px; margin-bottom: .7rem; }
.footer-brand p { font-size: .82rem; color: var(--muted); line-height: 1.6; max-width: 220px; }
.footer-links h4 { font-family: 'Montserrat', sans-serif; font-size: .75rem; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .07em; margin-bottom: .7rem; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: .35rem; }
.footer-links ul a { font-size: .83rem; color: var(--muted); transition: color .2s; }
.footer-links ul a:hover { color: var(--blue); text-decoration: none; }
.footer-bottom { display: flex; justify-content: center; text-align: center; flex-wrap: wrap; gap: .8rem; font-size: .76rem; color: var(--muted); }

/* ── WHATSAPP FLOAT ── */
.whats-float {
    position: fixed; bottom: 1.5rem; right: 1.5rem;
    width: 54px; height: 54px; border-radius: 50%;
    background: #25d366; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 18px rgba(37,211,102,0.5); z-index: 999;
    transition: transform .2s; font-size: 1.5rem;
}
.whats-float:hover { transform: scale(1.1); text-decoration: none; }

/* ── MODAL ── */
.modal-ov { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 2000; align-items: center; justify-content: center; padding: 1rem; }
.modal-ov.open { display: flex; }
@keyframes mIn { from{opacity:0;transform:scale(.9) translateY(16px)} to{opacity:1;transform:scale(1) translateY(0)} }

/* ── ALERTS ── */
.alert { padding: .85rem 1.1rem; border-radius: 10px; font-size: .88rem; margin-bottom: 1rem; display: flex; align-items: center; gap: .6rem; }
.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: var(--success); }
.alert-error { background: #fef2f2; border: 1px solid #fecaca; color: var(--danger); }
.alert-info { background: var(--blue-pale); border: 1px solid #bbdefb; color: var(--blue); }

/* ── DROPDOWN NAVBAR ── */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
    display: none; position: absolute; top: 100%; left: 0;
    background: #fff; border: 1px solid var(--border); border-radius: 12px;
    min-width: 220px; box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: .5rem 0; z-index: 999; margin-top: 4px;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
    display: block; padding: .55rem 1.2rem;
    font-family: 'Montserrat', sans-serif; font-size: .8rem; font-weight: 600;
    color: var(--dark); transition: all .15s; text-decoration: none;
}
.nav-dropdown-menu a:hover { background: var(--blue-pale); color: var(--blue); }
.nav-dropdown > .nav-link::after { content: ' ▾'; font-size: .65rem; }

/* ── RESPONSIVE ── */
@media(max-width: 1100px) {
    .servicos-grid { grid-template-columns: repeat(3, 1fr); }
}
@media(max-width: 768px) {
    .navbar-nav { display: none; }
    .servico-interno { grid-template-columns: 1fr; }
    .servico-interno.inverso { direction: ltr; }
    .footer-top { flex-direction: column; }
    .banner-slide img { height: 220px; }
    .servicos-grid { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width: 480px) {
    .servicos-grid { grid-template-columns: 1fr; }
    .aval-grid { grid-template-columns: 1fr; }
}
