:root {
    --azul: #12305a;
    --azul-claro: #3f7bff;
    --verde: #7ac943;
    --turquesa: #13b8b0;
    --rosa: #f24c86;
    --laranja: #ff9f1c;
    --roxo: #8e44ad;
    --fundo: #f6fbff;
    --texto: #53647c;
    --branco: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    background: var(--fundo);
    color: var(--azul);
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

.navbar-caa {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 25px rgba(18, 48, 90, .08);
    padding: 15px 0;
}

.navbar-caa .container {
    max-width: 1140px;
    padding: 0 12px;
    margin: 0 auto;
}

.navbar-brand {
    display: flex;
    gap: 12px;
    font-weight: 900;
    color: var(--azul) !important;
    flex-shrink: 0;
}

.navbar-brand img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 14px;
}

.navbar-brand span {
    white-space: nowrap;
}

.navbar-brand span small {
    display: block;
    font-size: .75rem;
    color: var(--turquesa);
    font-weight: 800;
    margin-top: -3px;
    white-space: nowrap;
}

.logo-menu {
    height: 90px;
    transition: 0.3s;
}

.navbar-toggler {
    border: none;
    padding: 8px 12px;
}

.navbar-toggler:focus {
    box-shadow: none;
}


.nav-link {
    font-weight: 800;
    color: var(--azul) !important;
    margin: 0 5px;
}

.btn-whatsapp-top {
    background: #25d366;
    color: #fff;
    border-radius: 50px;
    padding: 10px 20px;
    font-weight: 900;
    box-shadow: 0 10px 22px rgba(37, 211, 102, .25);
}

.btn-whatsapp-top:hover {
    color: #fff;
    transform: translateY(-2px);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    background:
        radial-gradient(circle at 10% 20%, rgba(19, 184, 176, .18), transparent 30%),
        radial-gradient(circle at 90% 10%, rgba(63, 123, 255, .20), transparent 30%),
        radial-gradient(circle at 80% 90%, rgba(242, 76, 134, .13), transparent 32%),
        linear-gradient(135deg, #f7fcff, #ffffff);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e8fbf8;
    color: #079d96;
    padding: 9px 18px;
    border-radius: 50px;
    font-weight: 900;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    font-weight: 900;
    line-height: 1.05;
    color: var(--azul);
}

.hero h1 span {
    color: var(--turquesa);
}

.hero p {
    color: var(--texto);
    font-size: 1.18rem;
    max-width: 620px;
    margin: 24px 0;
    line-height: 1.7;
}

.btn-caa-primary {
    background: linear-gradient(135deg, var(--turquesa), var(--azul-claro));
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 14px 28px;
    font-weight: 900;
    box-shadow: 0 15px 30px rgba(63, 123, 255, .24);
    transition: .25s;
}

.btn-caa-primary:hover {
    color: #fff;
    transform: translateY(-3px);
}

.btn-caa-outline {
    background: #fff;
    color: var(--azul);
    border: 2px solid #dcecff;
    border-radius: 50px;
    padding: 13px 28px;
    font-weight: 900;
    transition: .25s;
}

.btn-caa-outline:hover {
    border-color: var(--turquesa);
    color: var(--turquesa);
    transform: translateY(-3px);
}

.device-showcase {
    position: relative;
    min-height: 520px;
}

.device-pc {
    background: #101f3f;
    border-radius: 28px;
    padding: 18px 18px 42px;
    box-shadow: 0 35px 80px rgba(18, 48, 90, .24);
    position: relative;
    z-index: 1;
}

.device-pc::after {
    content: "";
    position: absolute;
    width: 140px;
    height: 20px;
    background: #101f3f;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0 0 18px 18px;
}

.device-screen {
    background: linear-gradient(135deg, #eaf8ff, #ffffff);
    border-radius: 18px;
    overflow: hidden;
    min-height: 310px;
    padding: 20px;
    position: relative;
}

.screen-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.screen-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 900;
    color: var(--azul);
}

.screen-logo img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.mini-prancha-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.mini-card {
    background: #fff;
    border-radius: 20px;
    padding: 14px 8px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(18, 48, 90, .08);
    font-weight: 900;
    font-size: .82rem;
}

.mini-card i {
    display: block;
    font-size: 1.8rem;
    margin-bottom: 6px;
}

.c1 i { color: var(--laranja); }
.c2 i { color: var(--turquesa); }
.c3 i { color: var(--verde); }
.c4 i { color: var(--rosa); }
.c5 i { color: var(--azul-claro); }
.c6 i { color: var(--roxo); }

.device-tablet {
    position: absolute;
    right: -10px;
    bottom: 40px;
    width: 230px;
    background: #111f3d;
    border-radius: 26px;
    padding: 12px;
    box-shadow: 0 20px 55px rgba(18, 48, 90, .22);
    z-index: 2;
}

.tablet-screen {
    background: #fff;
    border-radius: 18px;
    padding: 12px;
}

.device-phone {
    position: absolute;
    left: -5px;
    bottom: 5px;
    width: 135px;
    background: #111f3d;
    border-radius: 28px;
    padding: 10px;
    box-shadow: 0 20px 55px rgba(18, 48, 90, .20);
    z-index: 3;
}

.phone-screen {
    background: #fff;
    border-radius: 20px;
    padding: 10px;
    min-height: 220px;
}

.floating-note {
    position: absolute;
    background: #fff;
    border-radius: 20px;
    padding: 13px 18px;
    font-weight: 900;
    color: var(--azul);
    box-shadow: 0 10px 30px rgba(18, 48, 90, .12);
    z-index: 4;
}

.note-one {
    left: -30px;
    top: 35px;
}

.note-two {
    right: -15px;
    top: 120px;
}

.section-padding {
    padding: 90px 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    color: var(--azul);
    margin-bottom: 14px;
}

.section-subtitle {
    max-width: 780px;
    margin: 0 auto 45px;
    color: var(--texto);
    font-size: 1.1rem;
    line-height: 1.7;
}

.feature-card {
    height: 100%;
    background: #fff;
    border-radius: 30px;
    padding: 32px;
    box-shadow: 0 14px 35px rgba(18, 48, 90, .08);
    border: 1px solid #eaf2ff;
    transition: .28s;
}

.feature-card:hover {
    transform: translateY(-8px);
}

.feature-icon {
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 20px;
}

.bg-blue { background: linear-gradient(135deg, #3f7bff, #61a8ff); }
.bg-green { background: linear-gradient(135deg, #7ac943, #a6e05d); }
.bg-pink { background: linear-gradient(135deg, #f24c86, #ff91b8); }
.bg-orange { background: linear-gradient(135deg, #ff9f1c, #ffd166); }
.bg-teal { background: linear-gradient(135deg, #13b8b0, #42d9d1); }
.bg-purple { background: linear-gradient(135deg, #8e44ad, #c079e5); }

.feature-card h4 {
    font-weight: 900;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--texto);
    line-height: 1.7;
    margin-bottom: 0;
}

.about-box {
    background: linear-gradient(135deg, var(--azul), #156db9);
    border-radius: 38px;
    padding: 55px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.about-box::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    background: rgba(255,255,255,.10);
    border-radius: 50%;
    right: -120px;
    top: -120px;
}

.about-box h2 {
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 3rem);
}

.about-box p {
    color: rgba(255,255,255,.88);
    line-height: 1.8;
    font-size: 1.08rem;
}

.about-list {
    list-style: none;
    margin-top: 25px;
}

.about-list li {
    margin-bottom: 13px;
    font-weight: 800;
}

.about-list i {
    color: #7fffd4;
    margin-right: 8px;
}

.board-card {
    background: #fff;
    border-radius: 32px;
    padding: 26px;
    height: 100%;
    box-shadow: 0 14px 35px rgba(18, 48, 90, .08);
    border: 1px solid #eaf2ff;
}

.board-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 1.3rem;
    margin-bottom: 18px;
}

.board-title i {
    font-size: 1.7rem;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.board-item {
    background: #f8fbff;
    border: 2px solid #eaf2ff;
    border-radius: 22px;
    padding: 18px 8px;
    text-align: center;
    font-weight: 900;
    color: var(--azul);
}

.board-item i {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 8px;
}

.steps {
    background: #fff;
}

.step-card {
    text-align: center;
    padding: 25px;
}

.step-number {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(135deg, var(--turquesa), var(--azul-claro));
}

.step-card h4 {
    font-weight: 900;
}

.step-card p {
    color: var(--texto);
    line-height: 1.7;
}

.arasaaс-box, .arasaac-box {
    background: #fff8ea;
    border: 2px dashed #ffc857;
    border-radius: 34px;
    padding: 38px;
}

.arasaac-box h3 {
    font-weight: 900;
    color: var(--azul);
}

.arasaac-box p {
    color: var(--texto);
    line-height: 1.8;
    margin-bottom: 0;
}

.contact-section {
    background:
        radial-gradient(circle at 10% 10%, rgba(19, 184, 176, .18), transparent 28%),
        radial-gradient(circle at 90% 80%, rgba(63, 123, 255, .18), transparent 28%),
        #eef8ff;
}

.contact-card {
    background: #fff;
    border-radius: 36px;
    padding: 38px;
    box-shadow: 0 20px 60px rgba(18, 48, 90, .10);
}

.form-control, .form-select {
    border-radius: 18px;
    padding: 14px 16px;
    border: 2px solid #e3edfb;
    font-weight: 700;
}

.form-control:focus, .form-select:focus {
    box-shadow: none;
    border-color: var(--turquesa);
}

.contact-info-card {
    background: linear-gradient(135deg, var(--azul), #196fbd);
    color: #fff;
    border-radius: 36px;
    padding: 38px;
    height: 100%;
}

.contact-info-card h3 {
    font-weight: 900;
}

.contact-info-card p {
    color: rgba(255,255,255,.86);
    line-height: 1.8;
}

.contact-info-item {
    display: flex;
    gap: 14px;
    margin-top: 20px;
    font-weight: 800;
}

.contact-info-item i {
    font-size: 1.5rem;
    color: #7fffd4;
}

.faq .accordion-item {
    border: none;
    background: transparent;
    margin-bottom: 14px;
}

.faq .accordion-button {
    background: #fff;
    border-radius: 20px !important;
    font-weight: 900;
    color: var(--azul);
    box-shadow: 0 8px 25px rgba(18, 48, 90, .07);
}

.faq .accordion-button:not(.collapsed) {
    color: var(--turquesa);
}

.faq .accordion-body {
    color: var(--texto);
    line-height: 1.8;
    background: #fff;
    border-radius: 0 0 20px 20px;
}

.cta-final {
    background: linear-gradient(135deg, var(--turquesa), var(--azul-claro));
    color: #fff;
    border-radius: 42px;
    padding: 58px 35px;
    text-align: center;
    box-shadow: 0 25px 60px rgba(63, 123, 255, .24);
}

.cta-final h2 {
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.cta-final p {
    color: rgba(255,255,255,.9);
    font-size: 1.15rem;
    max-width: 720px;
    margin: 18px auto 28px;
}

.footer {
    background: #0c2345;
    color: #dcecff;
    padding: 60px 0 25px;
}

.footer h5 {
    color: #fff;
    font-weight: 900;
}

.footer a {
    color: #dcecff;
    display: block;
    margin-bottom: 10px;
}

.footer a:hover {
    color: #7fffd4;
}

.footer-logo {
    width: 75px;
    height: 75px;
    object-fit: contain;
    border-radius: 18px;
    background: #fff;
    padding: 6px;
    margin-bottom: 14px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    margin-top: 35px;
    padding-top: 22px;
    color: rgba(255,255,255,.7);
    font-size: .95rem;
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    z-index: 999;
    box-shadow: 0 14px 35px rgba(37, 211, 102, .35);
    animation: pulse 1.8s infinite;
}

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

.logo-menu {
    height: 90px;
    transition: 0.3s;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .45); }
    70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* CORREÇÃO EXCLUSIVA PARA CELULAR */
@media (max-width: 991px) {
    
    /* Força o container a não vazar */
    .navbar-caa .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
    }
    
    /* Ajusta a logo sem deixar muito pequena */
    .navbar-brand img {
        width: 65px !important;
        height: 65px !important;
    }
    
    .logo-menu {
        height: 65px !important;
    }
    
    /* Mantém o texto visível */
    .navbar-brand span {
        font-size: 0.85rem;
        white-space: normal;
        line-height: 1.2;
        max-width: 180px;
    }
    
    .navbar-brand span small {
        font-size: 0.65rem;
        white-space: normal;
    }
    
    /* Menu hambúrguer */
    .navbar-toggler {
        display: block !important;
        margin-left: auto;
    }
    
    /* Menu colapsado fica em cima do conteúdo */
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        border-radius: 0 0 20px 20px;
        box-shadow: 0 20px 30px rgba(0,0,0,0.1);
        z-index: 1000;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .navbar-nav {
        gap: 5px;
    }
    
    .nav-link {
        padding: 12px 15px !important;
        text-align: center;
        border-radius: 12px;
    }
    
    .nav-link:hover {
        background: #f0f7ff;
    }
    
    .btn-whatsapp-top {
        display: block;
        text-align: center;
        margin-top: 10px;
    }
}

/* Ajuste para telas muito pequenas (menos de 400px) */
@media (max-width: 400px) {
    .navbar-caa .container {
        padding: 0 10px !important;
    }
    
    .navbar-brand img {
        width: 50px !important;
        height: 50px !important;
    }
    
    .logo-menu {
        height: 50px !important;
    }
    
    .navbar-brand span {
        font-size: 0.7rem !important;
        max-width: 150px;
    }
    
    .navbar-brand span small {
        font-size: 0.55rem !important;
    }
    /* CORREÇÃO FINAL MENU MOBILE */

.navbar-caa-container {
    width: 100%;
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
}

@media (max-width: 991px) {

    .navbar-caa {
        padding: 8px 0 !important;
    }

    .navbar-caa-container {
        padding-left: 10px !important;
        padding-right: 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
    }

    .navbar-brand {
        max-width: calc(100% - 48px) !important;
        min-width: 0 !important;
        gap: 6px !important;
        margin-right: 0 !important;
        overflow: hidden !important;
        flex-shrink: 1 !important;
    }

    .logo-menu {
        width: 52px !important;
        height: 52px !important;
        flex: 0 0 52px !important;
    }

    .navbar-brand img {
        width: 52px !important;
        height: 52px !important;
        object-fit: contain !important;
    }

    .navbar-brand span {
        font-size: 0.85rem !important;
        line-height: 1.1 !important;
        white-space: normal !important;
        overflow: hidden !important;
    }

    .navbar-brand span small {
        font-size: 0.58rem !important;
        line-height: 1.1 !important;
        white-space: normal !important;
    }

    .navbar-toggler {
        width: 42px !important;
        height: 42px !important;
        padding: 4px 6px !important;
        margin-left: 4px !important;
        border: none !important;
        flex: 0 0 42px !important;
    }

    .navbar-toggler:focus {
        box-shadow: none !important;
    }

    .navbar-collapse {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: #fff !important;
        padding: 15px !important;
        border-radius: 0 0 20px 20px !important;
        box-shadow: 0 15px 30px rgba(0,0,0,.12) !important;
        z-index: 9999 !important;
    }

    .navbar-nav {
        width: 100% !important;
        text-align: center !important;
    }

    .nav-link {
        padding: 12px !important;
        margin: 2px 0 !important;
    }

    .btn-whatsapp-top {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        margin-top: 8px !important;
    }
}

@media (max-width: 400px) {

    .logo-menu {
        width: 45px !important;
        height: 45px !important;
        flex: 0 0 45px !important;
    }

    .navbar-brand img {
        width: 45px !important;
        height: 45px !important;
    }

    .navbar-brand span {
        font-size: 0.72rem !important;
    }

    .navbar-brand span small {
        font-size: 0.52rem !important;
    }

    .navbar-toggler {
        width: 38px !important;
        height: 38px !important;
    }
}
/* =====================================================
   CORREÇÃO FINAL DO MENU E LARGURA NO CELULAR
   COLE NO FINAL DO style.css
===================================================== */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
}

img,
video {
    max-width: 100%;
    height: auto;
}

/* mantém o menu centralizado no PC */
.navbar-caa .container {
    max-width: 1140px;
    width: 100%;
}

/* corrige o botão do menu no celular */
@media (max-width: 991px) {

    .navbar-caa {
        padding: 8px 0 !important;
    }

    .navbar-caa .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
    }

    .navbar-brand {
        max-width: calc(100% - 52px) !important;
        min-width: 0 !important;
        gap: 7px !important;
        margin-right: 0 !important;
        overflow: hidden !important;
        flex-shrink: 1 !important;
    }

    .logo-menu {
        width: 58px !important;
        height: 58px !important;
        flex: 0 0 58px !important;
    }

    .navbar-brand img {
        width: 58px !important;
        height: 58px !important;
        object-fit: contain !important;
    }

    .navbar-brand span {
        font-size: .88rem !important;
        line-height: 1.1 !important;
        white-space: normal !important;
        overflow: hidden !important;
    }

    .navbar-brand span small {
        font-size: .58rem !important;
        line-height: 1.1 !important;
        white-space: normal !important;
    }

    .navbar-toggler {
        width: 42px !important;
        height: 42px !important;
        padding: 4px 6px !important;
        margin-left: 4px !important;
        border: 1px solid #ddd !important;
        flex: 0 0 42px !important;
    }

    .navbar-toggler:focus {
        box-shadow: none !important;
    }

    .navbar-collapse {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: #fff !important;
        padding: 15px !important;
        border-radius: 0 0 20px 20px !important;
        box-shadow: 0 15px 30px rgba(0,0,0,.12) !important;
        z-index: 9999 !important;
    }

    .navbar-nav {
        width: 100% !important;
        text-align: center !important;
    }

    .nav-link {
        padding: 12px !important;
        margin: 2px 0 !important;
    }

    .btn-whatsapp-top {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        margin-top: 8px !important;
    }

    .hero {
        overflow: hidden !important;
    }

    .device-showcase {
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .device-tablet,
    .device-phone,
    .floating-note {
        position: static !important;
        margin: 18px auto 0 !important;
    }
}

/* telas muito pequenas */
@media (max-width: 400px) {

    .logo-menu {
        width: 48px !important;
        height: 48px !important;
        flex: 0 0 48px !important;
    }

    .navbar-brand img {
        width: 48px !important;
        height: 48px !important;
    }

    .navbar-brand span {
        font-size: .75rem !important;
    }

    .navbar-brand span small {
        font-size: .52rem !important;
    }

    .navbar-toggler {
        width: 38px !important;
        height: 38px !important;
    }
}
    /* =========================
   ALINHAMENTO PROFISSIONAL
========================= */

@media (min-width: 992px) {

    .navbar-caa .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* LOGO alinhado com texto "Pranchas" */
    .navbar-brand {
        margin-left: 0;
        padding-left: 0;
    }

    /* MENU alinhado com lado direito da imagem */
    .navbar-collapse {
        justify-content: flex-end;
    }

    .navbar-nav {
        align-items: center;
    }

    /* Ajuste fino do botão */
    .btn-whatsapp-top {
        margin-left: 15px;
    }

    /* MESMO espaçamento do HERO */
    .hero .container {
        max-width: 1140px;
    }

    .navbar-caa .container {
        max-width: 1140px;
    }
    }
    /* GARANTIR ALINHAMENTO COM HERO */
@media (min-width: 992px) {

    .navbar-caa .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .navbar-collapse {
        justify-content: flex-end;
    }

    .navbar-nav {
        align-items: center;
    }
}