* {
    box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}
#sobre,
#produto,
#blog {
	scroll-margin-top: 80px;
}


/* -------------------- Fonte padrão -------------------- */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    color: #333;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* Elementos de formulário */
input, textarea, button {
    font-family: inherit; /* herda do body */
}

input::placeholder,
textarea::placeholder {
    color: #666;
    padding: 0 10px; /* left e right juntos */
}

/* -------------------- Texto base -------------------- */
p {
    color: inherit;
    font-weight: 400;
    letter-spacing: 0.3px;
    margin: 0 0 1.2em 0; /* remove margin-top repetida */
}

a {
    color: #14b9a9;
    text-decoration: none;
}

a:hover {
    color: #078a7d;
}

/* Links especiais */
a.link {
    position: relative;
    display: inline-block;
    color: #c35709;
    font-weight: 600;
    transition: color 0.3s ease;
    letter-spacing: 0.2px;
}

/* Botões e links chamativos */
a.link, button {
    letter-spacing: 0.5px;
}

a.link::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    width: 100%;
    height: 2px;
    background-color: #F58634;
    transition: transform 0.3s ease;
}

a.link:hover {
    color: #F58634;
}

a.link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* -------------------- Títulos -------------------- */
h1, h2, h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    margin: 0 0 0.5em 0;
    letter-spacing: 0.5px;
}

h1 {
    font-size: 28px;
    line-height: 1.1;
}

h2 {
    font-size: 24px;
    line-height: 1.15;
}

h3 {
    font-size: 22px;
    line-height: 1.2;
    font-weight: 500;
}

/* -------------------- Responsividade -------------------- */
@media only screen and (min-width: 1000px) {
    h1 { font-size: 38px; }
    h2 { font-size: 28px; }
    h3 { font-size: 24px; }
    p, a { font-size: 20px; }
}

@media only screen and (min-width: 1900px) {
    h1 { font-size: 42px; }
    h2 { font-size: 32px; }
    h3 { font-size: 26px; }
}



.container {
    width: 100%;
    margin: auto;
    padding: 0 16px;
}

.section {
    margin-bottom: 30px;
}

@media only screen and (min-width: 768px) {
    .container {
        width: 90%;
        padding: 0;
    }
    .section {
        margin-bottom: 50px;
    }
}
@media only screen and (min-width: 920px) {
    .section {
        margin-bottom: 70px;
    }
    
}
@media only screen and (min-width: 1600px) {
    .container {
        width: 85%;
    }

    .section {
        margin-bottom: 90px;
    }
}

@media only screen and (min-width: 1920px) {
    .container {
        width: 1440px;
        justify-content: center;
    }
}


/*formulário*/
.form-group {
	margin-bottom: 0.5rem;
}
.form-control {
	width: 100%;
	padding: 10px 0;
	border: 1px solid #ccc;
	border-radius: 5px;
}
.form-control:focus-visible {
	outline: 1px solid #231f20;
	background-color: #f7f7f7;
}

/*botões*/
.botao {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 15px;
    border-radius: 16px;
/*    font-weight: 600;*/
	text-decoration: none;
    gap: 8px;
    cursor: pointer;
    transition: background 0.3s;
}
.botao i {
    margin-right: 5px;
}

.fundo-verde {
	border: 1px solid #14b9a9;
	background-color: #14b9a9;
	color: #fff;
}
.fundo-verde:hover {
    border: 1px solid #078a7d;
    background-color: #078a7d;
    color: #fff;
}

.fundo-laranja {
    border: 1px solid #db610a;
    background-color: #F58634;
    color: #fff;
}
.fundo-laranja:hover {
    background-color: #db610a;
    color: #fff;
}

/*ckeditor*/
.ck-content {
    font-size: 18px;
    line-height: 1.6;
}

.ck-content h2, .ck-content h3, .ck-content h4, .ck-content p {
    margin-bottom: 1.2em;
}

.ck-content strong, .ck-content b {
    font-weight: 700;
}
.ck-content a {
	color: #F58634;
	font-weight: 700;
	text-decoration: none;
    transition: transform 0.3s ease;
}
.ck-content a:hover {
	color: #c35709;
}
.ck-content em, .ck-content i {
    font-style: italic;
}

.ck-content img {
    max-width: 100%;
    height: auto;
}

.ck-content figure {
    margin: 1em 0;
    text-align: center;
}

.ck-content figure.image-style-align-left {
    float: left;
    margin-right: 1em;
    max-width: 50%;
}

.ck-content figure.image-style-align-right {
    float: right;
    margin-left: 1em;
    max-width: 50%;
}

.ck-content figure.image-style-align-left img,
.ck-content figure.image-style-align-right img {
    width: 100%;
    height: auto;
    display: block;
}

.ck-content figcaption {
    font-size: 18px;
    color: #666;
    margin-top: 5px;
}
/* Imagem dentro de <p> alinhada à esquerda com texto ao lado */
.ck-content p > img {
    float: left;
    margin: 0 1em 1em 0; /* margem à direita e embaixo */
    max-width: 50%; /* evita que ocupe a largura toda */
    height: auto;
}
.ck-content p::after {
    content: "";
    display: block;
    clear: both;
}