/* 
 * Main Style Sheet for Adesiva Comercio e Industria de Adesivos Ltda.
 * Using modern CSS (Grid/Flexbox) for optimal performance
 */

/* --------------------------------- */
/* Global Variables (from inline CSS) */
/* --------------------------------- */
:root {
    --primary-color: #2c5282;
    --secondary-color: #90cdf4;
    --accent-color: #ed8936;
    --background-color: #f7fafc;
    --text-color: #333;
    --light-text: #fff;
    --dark-text: #1a202c;
    --border-color: #e2e8f0;
    --success-color: #38a169;
    --error-color: #e53e3e;
    --warning-color: #ecc94b;
    --grey-light: #f7fafc;
    --grey: #a0aec0;
    --grey-dark: #4a5568;
}

/* --------------------------------- */
/* Main Layout Styles                */
/* --------------------------------- */
.main {
    flex: 1;
}

/* --------------------------------- */
/* Cookie Notice                     */
/* --------------------------------- */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    color: var(--light-text);
    padding: 1rem 0;
    z-index: 9000;
    display: none;
}

.cookie-notice .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-notice p {
    flex: 1;
    margin: 0;
}

.cookie-notice a {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* --------------------------------- */
/* Navigation Menu                   */
/* --------------------------------- */
.nav__list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav__item {
    margin-left: 1.5rem;
}

.nav__link {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav__link:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

.nav__link:hover {
    color: var(--secondary-color);
}

.nav__link:hover:after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background-color: var(--light-text);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 8px;
}

.menu-toggle span:nth-child(3) {
    top: 16px;
}

.menu-toggle.active span:nth-child(1) {
    top: 8px;
    transform: rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    top: 8px;
    transform: rotate(-45deg);
}

/* --------------------------------- */
/* About Section                     */
/* --------------------------------- */
.sobre__content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.sobre__image {
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.sobre__text {
    flex: 2;
    min-width: 300px;
}

.sobre__subtitle {
    color: var(--primary-color);
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.sobre__subtitle:first-child {
    margin-top: 0;
}

.sobre__list {
    list-style-type: none;
    padding-left: 0;
}

.sobre__list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.sobre__list li:before {
    content: '✓';
    color: var(--accent-color);
    position: absolute;
    left: 0;
}

/* --------------------------------- */
/* Services Section                  */
/* --------------------------------- */
.servicos {
    background-color: var(--grey-light);
}

.servicos__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.servico {
    background-color: var(--light-text);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.servico:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.servico__icon {
    margin-bottom: 1.5rem;
}

.servico__icon svg {
    width: 60px;
    height: 60px;
    fill: var(--primary-color);
}

.servico__title {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.servico__description {
    color: var(--grey-dark);
}

.servicos__cta {
    text-align: center;
    margin-top: 2rem;
}

.servicos__cta p {
    margin-bottom: 1rem;
}

/* --------------------------------- */
/* Testimonials Section              */
/* --------------------------------- */
.testimonial-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-container {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 1rem;
}

.testimonial {
    background-color: var(--light-text);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.testimonial__image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.testimonial__content {
    flex: 1;
    min-width: 250px;
}

.testimonial__stars {
    display: flex;
    margin-bottom: 1rem;
}

.star {
    color: var(--accent-color);
    margin-right: 0.25rem;
}

.testimonial__text {
    font-style: italic;
    margin-bottom: 1rem;
    position: relative;
}

.testimonial__text::before,
.testimonial__text::after {
    content: '"';
    font-size: 1.5rem;
    color: var(--accent-color);
}

.testimonial__author {
    font-weight: 700;
    color: var(--primary-color);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.carousel-control {
    background-color: transparent;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.carousel-control:hover {
    color: var(--accent-color);
}

.carousel-control svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
    margin: 0 1rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--grey);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-dot.active {
    background-color: var(--primary-color);
}

/* --------------------------------- */
/* Contact Section                   */
/* --------------------------------- */
.contato__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contato__info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contato__block {
    margin-bottom: 1.5rem;
}

.contato__subtitle {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.contato__link {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contato__link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.social-icon:hover {
    background-color: var(--accent-color);
}

.social-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--light-text);
}

.contato__form-wrapper {
    background-color: var(--light-text);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.contato__form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-check {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.form-check input {
    margin: 0;
}

.btn-submit {
    margin-top: 1rem;
    width: 100%;
}

.contato__map {
    margin-top: 3rem;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* --------------------------------- */
/* Policies and Terms Sections       */
/* --------------------------------- */
.politicas__content,
.termos__content {
    background-color: var(--light-text);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.politica,
.termo {
    margin-bottom: 2rem;
}

.politica__title,
.termo__title {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.politica__list,
.termo__list {
    list-style-type: square;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.politica__list li,
.termo__list li {
    margin-bottom: 0.5rem;
}

.termo__date {
    font-style: italic;
    color: var(--grey-dark);
    text-align: right;
}

/* --------------------------------- */
/* Footer                            */
/* --------------------------------- */
.footer {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer__title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.footer__nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__nav li {
    margin-bottom: 0.75rem;
}

.footer__nav a,
.footer__contact a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__nav a:hover,
.footer__contact a:hover {
    color: var(--secondary-color);
}

.footer__social {
    margin-top: 1.5rem;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
}

/* SVG icons */
.icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* --------------------------------- */
/* Responsive Design                 */
/* --------------------------------- */
@media (max-width: 991px) {
    .hero__title {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--primary-color);
        z-index: 1000;
        transition: right 0.3s ease;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        padding: 5rem 2rem 2rem;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav__list {
        flex-direction: column;
    }
    
    .nav__item {
        margin: 0 0 1.5rem;
    }
    
    .hero__title {
        font-size: 2rem;
    }
    
    .hero__text {
        font-size: 1rem;
    }
    
    .testimonial {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial__image {
        margin: 0 auto 1rem;
    }
    
    .testimonial__stars {
        justify-content: center;
    }
    
    .cookie-notice .container {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 1.75rem;
    }
    
    .section__title {
        font-size: 1.5rem;
    }
    
    .sobre__content,
    .contato__content {
        display: flex;
        flex-direction: column;
    }
} 