html, body {
    height: 100%;
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0px;
    font-family: Arial, sans-serif;
    background-color: #f4f9ff;
    color: #333;
    font-size: 16px;
}
header {
    background-color: #005c99;
    color: white;
    padding: 1rem 0;
}
.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}
.container p {
    text-align: justify;
}
li {
    text-align: justify;
}

/* Links */
.site-title-link {
    display: inline-block;
    text-decoration: none;
    color: inherit;
    align-items: center;
    margin-top: 1.34em;
    margin-bottom: 1.34em;
    width: 80%;
}
.site-title-link h1 {
    margin-top: 0;
    margin-bottom: 0;
}
nav {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.5rem;
    transition: max-height 0.5s ease-in-out;
}
nav a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.3rem 0.7rem;
    border-radius: 5px;
    transition: background 0.5s;
}
nav a[aria-current="page"],
nav a:hover,
nav a:focus {
    background: #007acc;
}

/* Ícone de menu (esconde no desktop) */
.menu-toggle {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}
main {
    flex: 1 0 auto;
}

/* Footer */
footer {
    background: #085f81;
    color: #fff;
    padding: 2rem 0 0 0;
    font-size: 1rem;
}
.footer-content {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 0 10vw;
    gap: 2rem;
}
.footer-info a {
    color: #b3e0ff;
    text-decoration: underline;
}
.footer-social a {
    display: inline-block;
    margin-top: 0.5rem;
}
.footer-copy {
    background: #003d66;
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: #e0f7ff;
    width: 100%;
    position: relative;
    left: 50%;
    right: 50%;
    transform: translateX(-50%);
    padding: 0.7rem 0;
    box-sizing: border-box;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    background: #23b33a;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    padding: 8px;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.whatsapp-float:hover,
.whatsapp-float:focus {
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    transform: scale(1.08);
    outline: none;
}
.whatsapp-float img {
    display: block;
}

/* Hero section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, #e3f0ff 60%, #b3d8ff 100%);
    border-radius: 12px;
    padding: 2rem 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.hero-carousel {
    position: relative;
    width: 100%;
    max-width: 60vh;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    margin-bottom: 1.5rem;
}
.hero-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.hero-slide.active {
    position: relative;
    opacity: 1;
}
.hero-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
}
.hero-content {
    text-align: center;
}
.cta-btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.75rem 2rem;
    background: #007acc;
    color: #fff;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.1rem;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.2s;
}
.cta-btn:hover,
.cta-btn:focus {
    background: #005c99;
}

/* Destaques */
.destaques {
    background: #fff;
    border-radius: 10px;
    padding: 2rem 1rem;
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
    margin-bottom: 2rem;
}
.destaques h2 {
    text-align: center;
    margin-bottom: 1.2rem;
}
.destaques ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
    justify-content: center;
}
.destaques li {
    background: #e3f0ff;
    color: #005c99;
    padding: 0.7rem 1.2rem;
    border-radius: 20px;
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
}

/* Formulário */
input, textarea, button {
    display: block;
    margin: 1rem 0;
    padding: 0.5rem;
    width: 100%;
    max-width: 400px;
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid #b3d8ff;
    box-sizing: border-box;
}
input:focus, textarea:focus {
    outline: 2px solid #007acc;
    border-color: #007acc;
}
button, .cta-btn {
    background-color: #007acc;
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}
button:hover, button:focus {
    background-color: #005c99;
}

/* Efeito vento e neve no header */
.header-wind-effect {
    position: relative;
    overflow: hidden;
}

.wind-svg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 120px;
    opacity: 0.6;
    pointer-events: none;
    z-index: 1;
}

.wind-path {
    stroke-dasharray: 50 50;
    stroke-dashoffset: 0;
    animation: wind-move 2.5s linear infinite;
}

.wind-path:nth-child(1) { animation-duration: 3.2s; }
.wind-path:nth-child(2) { animation-duration: 4s; }
.wind-path:nth-child(3) { animation-duration: 3.7s; }
.wind-path:nth-child(4) { animation-duration: 3.5s; }

@keyframes wind-move {
    0%   { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -100; }
}

/* Flocos de neve animados */
.snowflakes {
    pointer-events: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 80px;
    z-index: 2;
}

.snowflake {
    position: absolute;
    width: 18px;
    height: 18px;
    opacity: 0.7;
    background: none;
    background-image: url('data:image/svg+xml;utf8,<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><g stroke="%23b3e0ff" stroke-width="1.5" stroke-linecap="round"><line x1="9" y1="1" x2="9" y2="17"/><line x1="1" y1="9" x2="17" y2="9"/><line x1="3.5" y1="3.5" x2="14.5" y2="14.5"/><line x1="14.5" y1="3.5" x2="3.5" y2="14.5"/><line x1="9" y1="1" x2="9" y2="17"/><line x1="4.5" y1="2.5" x2="6.5" y2="5"/><line x1="2.5" y1="4.5" x2="5" y2="6.5"/><line x1="13.5" y1="2.5" x2="11.5" y2="5"/><line x1="15.5" y1="4.5" x2="13" y2="6.5"/><line x1="4.5" y1="15.5" x2="6.5" y2="13"/><line x1="2.5" y1="13.5" x2="5" y2="11.5"/><line x1="13.5" y1="15.5" x2="11.5" y2="13"/><line x1="15.5" y1="13.5" x2="13" y2="11.5"/></g></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 0;
    animation: snow-move-1 5s linear infinite;
}

.snowflake:nth-child(1) {
    top: 18px; left: 8%; width: 14px; height: 14px; opacity: 0;
    animation-delay: 0s;
    animation-name: snow-move-1;
}
.snowflake:nth-child(2) {
    top: 38px; left: 38%; width: 10px; height: 10px; opacity: 0;
    animation-delay: 1.2s;
    animation-name: snow-move-2;
}
.snowflake:nth-child(3) {
    top: 28px; left: 68%; width: 12px; height: 12px; opacity: 0;
    animation-delay: 2.1s;
    animation-name: snow-move-3;
}
.snowflake:nth-child(4) {
    top: 10px; left: 20%; width: 11px; height: 11px; opacity: 0;
    animation-delay: 0.7s;
    animation-name: snow-move-4;
}
.snowflake:nth-child(5) {
    top: 50px; left: 55%; width: 13px; height: 13px; opacity: 0;
    animation-delay: 1.8s;
    animation-name: snow-move-5;
}
.snowflake:nth-child(6) {
    top: 60px; left: 75%; width: 9px; height: 9px; opacity: 0;
    animation-delay: 2.7s;
    animation-name: snow-move-6;
}
.snowflake:nth-child(7) {
    top: 22px; left: 90%; width: 15px; height: 15px; opacity: 0;
    animation-delay: 1.5s;
    animation-name: snow-move-7;
}

/* 7 variedades de animação */
@keyframes snow-move-1 {
    0%   { transform: translateX(0) translateY(0) scale(1) rotate(0deg); opacity: 0;}
    10%  { opacity: 1;}
    30%  { transform: translateX(40px) translateY(10px) scale(1.1) rotate(60deg);}
    60%  { transform: translateX(90px) translateY(25px) scale(0.95) rotate(180deg);}
    80%  { opacity: 0.7; }
    100% { transform: translateX(160px) translateY(40px) scale(1) rotate(360deg); opacity: 0;}
}
@keyframes snow-move-2 {
    0%   { transform: translateX(0) translateY(0) scale(1) rotate(0deg); opacity: 0;}
    20%  { transform: translateX(30px) translateY(8px) scale(1.05) rotate(80deg); opacity: 1;}
    60%  { transform: translateX(80px) translateY(22px) scale(0.9) rotate(200deg);}
    80%  { opacity: 0.6; }
    100% { transform: translateX(140px) translateY(38px) scale(1) rotate(360deg); opacity: 0;}
}
@keyframes snow-move-3 {
    0%   { transform: translateX(0) translateY(0) scale(1) rotate(0deg); opacity: 0;}
    25%  { transform: translateX(35px) translateY(12px) scale(1.08) rotate(100deg); opacity: 1;}
    60%  { transform: translateX(70px) translateY(28px) scale(0.92) rotate(220deg);}
    80%  { opacity: 0.5; }
    100% { transform: translateX(120px) translateY(44px) scale(1) rotate(360deg); opacity: 0;}
}
@keyframes snow-move-4 {
    0%   { transform: translateX(0) translateY(0) scale(1) rotate(0deg); opacity: 0;}
    15%  { transform: translateX(25px) translateY(7px) scale(1.12) rotate(40deg); opacity: 1;}
    50%  { transform: translateX(60px) translateY(18px) scale(0.98) rotate(160deg);}
    80%  { opacity: 0.5; }
    100% { transform: translateX(110px) translateY(32px) scale(1) rotate(320deg); opacity: 0;}
}
@keyframes snow-move-5 {
    0%   { transform: translateX(0) translateY(0) scale(1) rotate(0deg); opacity: 0;}
    18%  { transform: translateX(38px) translateY(15px) scale(1.07) rotate(70deg); opacity: 1;}
    55%  { transform: translateX(85px) translateY(30px) scale(0.93) rotate(190deg);}
    80%  { opacity: 0.6; }
    100% { transform: translateX(150px) translateY(50px) scale(1) rotate(350deg); opacity: 0;}
}
@keyframes snow-move-6 {
    0%   { transform: translateX(0) translateY(0) scale(1) rotate(0deg); opacity: 0;}
    12%  { transform: translateX(20px) translateY(5px) scale(1.15) rotate(30deg); opacity: 1;}
    50%  { transform: translateX(60px) translateY(20px) scale(0.9) rotate(150deg);}
    80%  { opacity: 0.5; }
    100% { transform: translateX(100px) translateY(35px) scale(1) rotate(320deg); opacity: 0;}
}
@keyframes snow-move-7 {
    0%   { transform: translateX(0) translateY(0) scale(1) rotate(0deg); opacity: 0;}
    22%  { transform: translateX(28px) translateY(9px) scale(1.09) rotate(90deg); opacity: 1;}
    60%  { transform: translateX(75px) translateY(25px) scale(0.97) rotate(210deg);}
    80%  { opacity: 0.6; }
    100% { transform: translateX(130px) translateY(42px) scale(1) rotate(360deg); opacity: 0;}
}

/* Garante que o conteúdo fique acima do efeito */
.header-wind-effect > *:not(.wind-svg):not(.snowflakes) {
    position: relative;
    z-index: 10;
}

/* Responsividade */
/* Ajustes para celulares pequenos */
@media (max-width: 480px) {
    .container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 0 1rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .footer-social {
        margin-top: 0.5rem;
    }

    nav {
        overflow: hidden;
        max-height: 0;
        flex-direction: column;
        width: 100%;
    }
    nav.open {
        max-height: 500px; /* Ajuste conforme número de links */
    }

    .menu-toggle {
        display: block;
        max-width: fit-content;
        position: absolute !important;
        align-self: end;
    }

    h1 {
        margin-bottom: 0.5rem;
    }
    .hero {
        padding: 1rem 1rem;
    }
    .hero-img {
        max-width: 95vw;
    }
    .cta-btn {
        align-self: center;
    }
    .destaques {
        padding: 1rem 0.2rem;
    }
    input, textarea, button {
        max-width: 100%;
        font-size: 0.95rem;
    }
}

/* Ajustes para celulares grandes e tablets */
@media (min-width: 481px) and (max-width: 1023px) {
    .container {
        padding: 0 3vw;
    }
    .hero {
        padding: 2rem 3vw;
    }
    .hero-img {
        max-width: 70vw;
    }
    .destaques ul {
        gap: 1rem;
    }
}

/* Já existente, mas pode ser ajustado conforme necessário */
@media (min-width: 1024px) {
    nav {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }
    main {
        padding: 2rem 10vw;
    }
    .hero {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        text-align: left;
        padding: 3rem 2rem;
    }
    .hero-img {
        margin-bottom: 0;
        margin-right: 2rem;
        max-width: 70vh;
    }
    .hero-content {
        max-width: 500px;
    }
    .destaques ul {
        flex-direction: row;
        gap: 1.5rem;
    }

    .wind-path:nth-child(1) { animation-duration: 5.7s; }
    .wind-path:nth-child(2) { animation-duration: 5.1s; }
    .wind-path:nth-child(3) { animation-duration: 6s; }
    .wind-path:nth-child(4) { animation-duration: 5.4s; }
}

/* Acessibilidade extra */
a:focus, button:focus, input:focus, textarea:focus {
    outline: 2px solid #005c99;
    outline-offset: 2px;
}