*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    margin:0;
    color:#0b2f31;
    background:#f8f5eb;
    font-family:Arial,Helvetica,sans-serif;
    line-height:1.5;
}
img{max-width:100%;display:block}
button,input,textarea{font:inherit}
a{color:inherit}

.site-header{
    position:sticky;
    top:0;
    z-index:50;
    background:#fffdf6;
    border-bottom:1px solid #e9e5d8;
}
.header-inner{
    width:min(1180px,calc(100% - 28px));
    margin:auto;
    min-height:78px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
}
.brand{display:block;width:235px;text-decoration:none}
.brand img{width:100%;height:auto}
.main-nav{
    display:flex;
    align-items:center;
    gap:8px;
}
.main-nav a{
    padding:14px 13px;
    border-radius:12px;
    text-decoration:none;
    font-weight:700;
    white-space:nowrap;
}
.main-nav a:hover{background:#eef6e8;color:#087342}
.menu-toggle{
    display:none;
    width:46px;
    height:46px;
    border:0;
    border-radius:12px;
    background:#edf5e8;
    color:#075d45;
    font-size:24px;
    cursor:pointer;
}

.hero{
    width:100%;
    min-height:590px;
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    overflow:hidden;
    background:
        linear-gradient(90deg,#fffdf7 0%,#fffdf7 45%,rgba(255,255,255,.3) 60%),
        linear-gradient(#dff4ff,#d8ebc2);
}
.hero-text{
    padding:65px max(40px,calc((100vw - 1180px)/2)) 45px;
    padding-right:40px;
    align-self:center;
}
.hero-label{
    margin:0 0 10px;
    color:#0a5e42;
    font-size:26px;
}
.hero h1{
    margin:0 0 28px;
    color:#064f3c;
    font-size:clamp(62px,7vw,104px);
    line-height:.95;
    letter-spacing:-5px;
}
.hero h1 span{color:#56aa2d}
.hero-text>p:not(.hero-label){
    max-width:610px;
    font-size:20px;
}
.hero-visual{
    height:100%;
    min-height:590px;
    overflow:hidden;
    background:#cbeefc;
}
.hero-visual img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}
.mini-callout{
    max-width:540px;
    margin-top:25px;
    padding:16px 18px;
    display:flex;
    align-items:center;
    gap:14px;
    border:2px solid #fff;
    border-radius:20px;
    background:#edf6d9;
    text-decoration:none;
    box-shadow:0 7px 20px rgba(21,75,49,.08);
}
.mini-callout strong,.mini-callout small{display:block}
.mini-callout small{margin-top:3px;color:#31534a}
.round-icon{
    flex:0 0 auto;
    width:48px;
    height:48px;
    display:grid;
    place-items:center;
    background:#bfe588;
    border-radius:50%;
    font-size:24px;
}

.conversation-card{
    position:relative;
    z-index:5;
    width:min(1120px,calc(100% - 34px));
    margin:-48px auto 22px;
    padding:34px 40px;
    display:grid;
    grid-template-columns:1fr .85fr;
    gap:40px;
    border:12px solid rgba(255,255,255,.75);
    border-radius:38px;
    background:#fbfae9;
    box-shadow:0 15px 38px rgba(39,72,53,.13);
}
.conversation-card h2{
    margin:0 0 27px;
    color:#075d45;
    font-size:32px;
}
.conversation-card h2 span{color:#6bb52c}
.conversation-card h3{
    margin:0 0 12px;
    color:#168148;
    font-size:27px;
}
.conversation-card p{font-size:18px}
.conversation-actions{
    align-self:center;
}
.big-chat-button{
    min-height:72px;
    padding:0 25px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    border-radius:999px;
    color:#fff;
    background:#06643e;
    text-decoration:none;
    box-shadow:0 10px 22px rgba(7,93,69,.18);
}
.big-chat-button strong{font-size:22px}
.big-voice-button{
    width:100%;
    min-height:70px;
    margin-top:16px;
    padding:10px 22px;
    display:flex;
    align-items:center;
    gap:18px;
    border:0;
    border-radius:999px;
    color:#075d45;
    background:#e8f3cf;
    text-align:left;
    cursor:pointer;
}
.big-voice-button>span:first-child{font-size:30px}
.big-voice-button strong,.big-voice-button small{display:block}
.big-voice-button strong{font-size:18px}
.big-voice-button small{margin-top:2px}
.typing-note{
    margin:10px 0 0!important;
    color:#244f83;
    text-align:center;
    font-size:14px!important;
}

.feature-grid{
    width:min(1120px,calc(100% - 34px));
    margin:0 auto 22px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:15px;
}
.feature-grid article{
    min-height:175px;
    padding:22px 14px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    border:1px solid #ebe9df;
    border-radius:24px;
    background:#fffefa;
    text-align:center;
    box-shadow:0 9px 20px rgba(28,58,42,.07);
}
.feature-icon{font-size:48px}
.feature-grid strong{margin-top:10px;font-size:20px;color:#0c3155}
.feature-grid span{color:#36506e}

.how-card{
    width:min(1120px,calc(100% - 34px));
    margin:0 auto 24px;
    padding:28px 38px 34px;
    border:1px solid #ebe9df;
    border-radius:26px;
    background:#fffefa;
    box-shadow:0 9px 20px rgba(28,58,42,.07);
}
.how-card h2{
    margin:0 0 28px;
    color:#075d45;
    font-size:33px;
}
.flow{
    display:grid;
    grid-template-columns:1fr auto 1fr auto 1fr auto 1fr;
    align-items:center;
    gap:12px;
}
.flow article{text-align:center}
.flow-icon{font-size:55px}
.flow article strong,.flow article span{display:block}
.flow article strong{margin-top:8px;color:#0c3155;font-size:17px}
.flow article span{margin-top:5px;color:#294668}
.flow-arrow{color:#159049;font-size:36px;font-weight:700}

.chat-area,.cultures-section,.about-section{
    width:min(920px,calc(100% - 34px));
    margin:0 auto;
}
.chat-area{padding:55px 0 22px}
.section-title span,.small-label{
    color:#159049;
    font-size:12px;
    font-weight:800;
    letter-spacing:2px;
}
.section-title h2,.about-section h2{
    margin:5px 0 7px;
    color:#075d45;
    font-size:38px;
}
.section-title p{margin:0 0 20px;color:#5a6a6d}
.chat-shell{
    overflow:hidden;
    border:1px solid #dce4d8;
    border-radius:26px;
    background:#fff;
    box-shadow:0 12px 34px rgba(29,60,43,.1);
}
.chat-toolbar{
    padding:12px 18px;
    display:flex;
    justify-content:space-between;
    gap:18px;
    border-bottom:1px solid #e3e8df;
    color:#61706f;
    font-size:14px;
}
.messages{
    min-height:360px;
    max-height:570px;
    overflow-y:auto;
    padding:22px;
}
.message{
    max-width:82%;
    margin-bottom:17px;
    display:flex;
    gap:10px;
}
.message.user{margin-left:auto;justify-content:flex-end}
.message.user>div{
    padding:12px 15px;
    color:white;
    background:#075d45;
    border-radius:18px 18px 5px 18px;
}
.bubble{
    padding:12px 15px;
    background:#eef6e8;
    border-radius:5px 18px 18px 18px;
}
.message p{margin:4px 0 0;white-space:pre-wrap}
.avatar{
    flex:0 0 auto;
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:#e8c759;
}
.answer-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}
.answer-actions button{border:0;border-radius:9px;padding:7px 9px;background:white;cursor:pointer}
.composer{
    padding:14px;
    display:grid;
    grid-template-columns:1fr auto;
    gap:12px;
    border-top:1px solid #e3e8df;
}
.composer textarea{
    width:100%;
    min-height:62px;
    max-height:160px;
    padding:14px;
    resize:vertical;
    border:1px solid #ccd8c9;
    border-radius:15px;
    outline:none;
}
.composer textarea:focus{border-color:#0c8050;box-shadow:0 0 0 3px rgba(12,128,80,.10)}
.composer-buttons{display:flex;gap:8px;align-items:end}
.voice-button,.send-button{
    min-width:110px;
    min-height:48px;
    border:0;
    border-radius:13px;
    font-weight:700;
    cursor:pointer;
}
.voice-button{color:#075d45;background:#e8f3cf}
.send-button{color:#fff;background:#075d45}
.link-button{border:0;background:none;color:#075d45;font-weight:700;cursor:pointer}
.status-row{
    padding:0 18px 14px;
    display:flex;
    justify-content:space-between;
    gap:10px;
    color:#61706f;
    font-size:13px;
}
.safety-note{
    margin:12px 0 0;
    padding:12px 14px;
    border-radius:13px;
    background:#fff0ec;
    font-size:14px;
}

.cultures-section{padding:45px 0 15px}
.culture-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
}
.culture-card{
    padding:15px;
    border:1px solid #dce4d8;
    border-radius:15px;
    background:#fff;
}
.culture-card strong{display:block;color:#164937}
.culture-card span{font-size:13px;color:#687778}

.about-section{
    padding:50px 0;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:35px;
}
.about-section p{margin:0;color:#5c6d6c;font-size:18px}

.motto{
    padding:55px 20px;
    text-align:center;
    background:linear-gradient(#f7f8e8,#eaf2c8);
}
.motto h2{
    margin:0;
    color:#07633e;
    font-size:34px;
    line-height:1.2;
}

.footer{
    color:white;
    background:#00513e;
}
.footer-inner{
    width:min(1120px,calc(100% - 34px));
    margin:auto;
    padding:34px 0;
    display:grid;
    grid-template-columns:1.2fr 1fr 1fr auto;
    align-items:center;
    gap:30px;
}
.footer-brand strong,.footer-brand small,.footer-inner div>small,.footer-inner div>strong{display:block}
.footer-brand strong{font-size:22px}
.footer-brand strong span{color:#88c736}
.footer-inner small{opacity:.78}
.footer-inner a{color:#fff}

.sr-only{
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap;
    border:0;
}

@media(max-width:820px){
    .header-inner{min-height:68px}
    .brand{width:190px}
    .menu-toggle{display:block}
    .main-nav{
        display:none;
        position:absolute;
        left:14px;
        right:14px;
        top:68px;
        padding:10px;
        flex-direction:column;
        align-items:stretch;
        border:1px solid #dce4d8;
        border-radius:15px;
        background:#fff;
        box-shadow:0 10px 28px rgba(27,57,42,.14);
    }
    .main-nav.is-open{display:flex}
    .main-nav a{padding:12px}
    .hero{
        min-height:auto;
        grid-template-columns:1fr;
    }
    .hero-text{
        padding:40px 22px 26px;
    }
    .hero-label{font-size:21px}
    .hero h1{
        font-size:clamp(52px,16vw,82px);
        letter-spacing:-3px;
    }
    .hero-text>p:not(.hero-label){font-size:17px}
    .hero-visual{
        min-height:390px;
        height:390px;
    }
    .hero-visual img{object-position:center top}
    .conversation-card{
        margin:-20px auto 16px;
        padding:22px;
        grid-template-columns:1fr;
        gap:18px;
        border-width:7px;
        border-radius:28px;
    }
    .conversation-card h2{font-size:25px;margin-bottom:18px}
    .conversation-card h3{font-size:23px}
    .conversation-card p{font-size:16px}
    .feature-grid{grid-template-columns:repeat(2,1fr);gap:9px}
    .feature-grid article{min-height:145px;padding:15px 8px}
    .feature-grid strong{font-size:17px}
    .feature-icon{font-size:39px}
    .how-card{padding:22px 16px}
    .how-card h2{font-size:27px}
    .flow{
        grid-template-columns:1fr;
        gap:5px;
    }
    .flow article{
        padding:13px;
        border-radius:16px;
        background:#f8fbf6;
    }
    .flow-arrow{transform:rotate(90deg);text-align:center;font-size:27px}
    .composer{grid-template-columns:1fr}
    .composer-buttons{display:grid;grid-template-columns:1fr 1fr}
    .voice-button,.send-button{width:100%;min-width:0}
    .culture-grid{grid-template-columns:repeat(2,1fr)}
    .about-section{grid-template-columns:1fr;gap:15px}
    .motto h2{font-size:27px}
    .footer-inner{
        grid-template-columns:1fr;
        gap:18px;
        text-align:center;
    }
}

@media(max-width:420px){
    .header-inner{width:calc(100% - 20px)}
    .brand{width:170px}
    .hero-text{padding-left:16px;padding-right:16px}
    .hero-visual{height:340px;min-height:340px}
    .conversation-card,.feature-grid,.how-card,.chat-area,.cultures-section,.about-section{
        width:calc(100% - 20px);
    }
    .conversation-card{padding:17px;border-width:5px}
    .big-chat-button{min-height:62px;padding:0 17px}
    .big-chat-button strong{font-size:19px}
    .big-voice-button{border-radius:24px}
    .feature-grid article{min-height:132px}
    .chat-toolbar{flex-direction:column;align-items:flex-start}
    .messages{padding:14px}
    .message{max-width:94%}
    .culture-grid{grid-template-columns:1fr}
}


/* Vídeos relacionados */
.video-results{
    margin-top:14px;
    display:grid;
    gap:12px;
}
.video-results-title{
    color:#075d45;
}
.video-card{
    overflow:hidden;
    border:1px solid #d7e5d3;
    border-radius:16px;
    background:#f8fbf2;
}
.video-preview{
    position:relative;
    display:block;
    width:100%;
    padding:0;
    border:0;
    background:#e9eee6;
    cursor:pointer;
}
.video-preview img{
    width:100%;
    aspect-ratio:16/9;
    object-fit:cover;
}
.video-play{
    position:absolute;
    left:50%;
    top:50%;
    width:68px;
    height:68px;
    display:grid;
    place-items:center;
    transform:translate(-50%,-50%);
    border:4px solid rgba(255,255,255,.9);
    border-radius:50%;
    color:#fff;
    background:rgba(7,93,69,.92);
    font-size:28px;
    line-height:1;
    box-shadow:0 8px 26px rgba(0,0,0,.25);
    transition:transform .18s ease,background .18s ease;
}
.video-preview:hover .video-play,
.video-preview:focus .video-play{
    transform:translate(-50%,-50%) scale(1.08);
    background:#078250;
}
.video-card-content{
    padding:13px 14px 14px;
}
.video-card-title{
    display:block;
    color:#163b2e;
    font-size:1rem;
}
.video-meta{
    display:flex;
    flex-wrap:wrap;
    gap:6px 12px;
    margin-top:6px;
    color:#61706f;
    font-size:.82rem;
}
.video-description{
    margin:8px 0 10px;
    font-size:.9rem;
}
.video-card-actions{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}
.video-watch-button,
.video-external-link{
    display:inline-flex;
    align-items:center;
    min-height:38px;
    padding:7px 12px;
    border-radius:999px;
    font-weight:700;
    text-decoration:none;
}
.video-watch-button{
    border:0;
    color:#fff;
    background:#075d45;
    cursor:pointer;
}
.video-external-link{
    color:#075d45;
    background:#e5f0dd;
}
.video-modal-open{
    overflow:hidden;
}
.video-modal{
    position:fixed;
    inset:0;
    z-index:9999;
    display:grid;
    place-items:center;
    padding:18px;
}
.video-modal-backdrop{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    border:0;
    background:rgba(4,21,17,.78);
    cursor:pointer;
}
.video-modal-dialog{
    position:relative;
    z-index:1;
    width:min(920px,100%);
    overflow:hidden;
    border-radius:20px;
    background:#fff;
    box-shadow:0 26px 80px rgba(0,0,0,.4);
}
.video-modal-header{
    min-height:58px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    padding:12px 15px;
    color:#0b3d31;
    background:#f6f8f1;
}
.video-modal-header strong{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.video-modal-close{
    flex:0 0 auto;
    width:40px;
    height:40px;
    border:0;
    border-radius:50%;
    color:#fff;
    background:#075d45;
    font-size:27px;
    cursor:pointer;
}
.video-modal-frame{
    position:relative;
    width:100%;
    aspect-ratio:16/9;
    background:#000;
}
.video-modal-frame iframe{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    border:0;
}
@media(max-width:560px){
    .video-play{
        width:56px;
        height:56px;
        font-size:23px;
    }
    .video-modal{
        padding:8px;
    }
    .video-modal-dialog{
        border-radius:14px;
    }
}


/* Ajuste compacto dos cartões de vídeo */
.video-results{
    max-width:520px;
    margin-top:14px;
}
.video-card{
    max-width:520px;
}
.video-preview{
    max-width:360px;
    margin:12px auto 0;
    border-radius:14px;
    overflow:hidden;
}
.video-preview img{
    width:100%;
    aspect-ratio:16/9;
    object-fit:cover;
}
.video-play{
    width:54px;
    height:54px;
    font-size:21px;
    border-width:3px;
}
.video-card-content{
    padding:11px 13px 13px;
}
.video-card-title{
    font-size:.95rem;
}
.video-description{
    font-size:.86rem;
}
@media(max-width:560px){
    .video-results,
    .video-card{
        max-width:100%;
    }
    .video-preview{
        max-width:280px;
    }
    .video-play{
        width:48px;
        height:48px;
        font-size:19px;
    }
}


/* Carrossel horizontal de vídeos */
.video-results{
    max-width:100%;
}
.video-carousel{
    display:flex;
    gap:12px;
    overflow-x:auto;
    overflow-y:hidden;
    padding:4px 2px 10px;
    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:thin;
    scrollbar-color:#b9cdbf transparent;
}
.video-carousel::-webkit-scrollbar{
    height:7px;
}
.video-carousel::-webkit-scrollbar-thumb{
    border-radius:999px;
    background:#b9cdbf;
}
.video-carousel::-webkit-scrollbar-track{
    background:transparent;
}
.video-carousel .video-card{
    flex:0 0 320px;
    max-width:320px;
    scroll-snap-align:start;
}
.video-carousel .video-preview{
    max-width:250px;
}
@media(max-width:560px){
    .video-carousel{
        gap:10px;
        padding-bottom:8px;
    }
    .video-carousel .video-card{
        flex-basis:230px;
        max-width:230px;
    }
    .video-carousel .video-preview{
        max-width:170px;
        margin-top:10px;
    }
    .video-carousel .video-play{
        width:42px;
        height:42px;
        font-size:16px;
        border-width:2px;
    }
    .video-carousel .video-card-content{
        padding:9px 10px 11px;
    }
    .video-carousel .video-card-title{
        font-size:.88rem;
        line-height:1.25;
    }
    .video-carousel .video-meta{
        gap:4px 8px;
        font-size:.72rem;
    }
    .video-carousel .video-description{
        font-size:.78rem;
        line-height:1.35;
        display:-webkit-box;
        -webkit-line-clamp:3;
        -webkit-box-orient:vertical;
        overflow:hidden;
    }
    .video-carousel .video-card-actions{
        gap:6px;
    }
    .video-carousel .video-watch-button,
    .video-carousel .video-external-link{
        min-height:34px;
        padding:6px 9px;
        font-size:.76rem;
    }
}
@media(max-width:380px){
    .video-carousel .video-card{
        flex-basis:205px;
        max-width:205px;
    }
    .video-carousel .video-preview{
        max-width:150px;
    }
}
