/* =============================================
   CINTAXI SEGUROS — main.css (Bootstrap 5)
   Google Fonts: Poppins
============================================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* ---- Variables ---- */
:root {
    --brand:        #ff7f00;
    --brand-dark:   #c96200;
    --dark-bg:      #1e2535;
    --dark-bg2:     #111;
    --text-muted:   #6c757d;
}

/* ---- Base ---- */
body {
    padding-top: 80px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #34495e;
    background: #f5f6f8;
}
h1, h2, h3, h4 { font-weight: 600; }
h5, h6          { margin: 0; }
h3, h4          { margin-top: 0; }
a               { color: var(--brand); text-decoration: none; transition: color .25s; }
a:hover,
a:focus         { color: var(--brand-dark); text-decoration: none; outline: 0; }

/* =============================================
   BOOTSTRAP 2 COMPATIBILITY SHIM
   (permite que páginas antigas usem row-fluid / span*)
============================================= */
.row-fluid {
    display: flex;
    flex-wrap: wrap;
    margin-right: -12px;
    margin-left:  -12px;
}
.row-fluid::after { display: block; content: ""; clear: both; }
.row-fluid [class*="span"] {
    padding-right: 12px;
    padding-left:  12px;
    box-sizing: border-box;
    min-height: 1px;
}
.span1  { flex: 0 0  8.3333%; max-width:  8.3333%; }
.span2  { flex: 0 0 16.6667%; max-width: 16.6667%; }
.span3  { flex: 0 0 25%;      max-width: 25%; }
.span4  { flex: 0 0 33.3333%; max-width: 33.3333%; }
.span5  { flex: 0 0 41.6667%; max-width: 41.6667%; }
.span6  { flex: 0 0 50%;      max-width: 50%; }
.span7  { flex: 0 0 58.3333%; max-width: 58.3333%; }
.span8  { flex: 0 0 66.6667%; max-width: 66.6667%; }
.span9  { flex: 0 0 75%;      max-width: 75%; }
.span10 { flex: 0 0 83.3333%; max-width: 83.3333%; }
.span11 { flex: 0 0 91.6667%; max-width: 91.6667%; }
.span12 { flex: 0 0 100%;     max-width: 100%; }

@media (max-width: 767px) {
    .row-fluid [class*="span"] { flex: 0 0 100%; max-width: 100%; margin-bottom: 16px; }
}

/* Bootstrap 2 utilitários */
.pull-left  { float: left  !important; }
.pull-right { float: right !important; }
.unstyled   { list-style: none; padding: 0; margin: 0; }
.center     { text-align: center; }
.gap        { margin-bottom: 20px; }
.big-gap    { margin-bottom: 100px; }
.no-margin  { margin: 0; padding: 0; }
.clearfix::after { content: ""; display: table; clear: both; }
.media      { display: flex; align-items: flex-start; }
.media-body { flex: 1; margin-left: 16px; }

/* =============================================
   NAVBAR
============================================= */
.navbar {
    background: #fff !important;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    padding: 0 0;
}
.navbar-brand img { height: 64px; transition: opacity .2s; }
.navbar-brand:hover img { opacity: .85; }

.navbar .nav-link {
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: #333 !important;
    padding: 8px 14px !important;
    position: relative;
    transition: color .2s;
}
.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--brand);
    transform: scaleX(0);
    transition: transform .25s;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--brand) !important;
}
.navbar .nav-link.active::after,
.navbar .nav-link:hover::after {
    transform: scaleX(1);
}
.navbar .dropdown-menu {
    border: 0;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    padding: 6px 0;
    margin-top: 4px;
    min-width: 200px;
}
.navbar .dropdown-item {
    font-size: 13px;
    padding: 8px 20px;
    color: #333;
    transition: background .15s, color .15s;
}
.navbar .dropdown-item:hover {
    background: var(--brand);
    color: #fff;
}
.navbar .nav-item.login-item .nav-link {
    border-left: 1px solid #e5e5e5;
    padding-left: 18px !important;
    margin-left: 6px;
}
.navbar .nav-item.login-item .nav-link i { font-size: 15px; }
.navbar-toggler { border: 0; }
.navbar-toggler:focus { box-shadow: none; }

/* =============================================
   HERO CAROUSEL
============================================= */
#heroCarousel {
    background: var(--dark-bg);
}
#heroCarousel .carousel-item {
    min-height: 480px;
    position: relative;
    overflow: hidden;
}
/* Bootstrap controla display nas transições; flex só no conteúdo interno */
#heroCarousel .container.slide-content {
    position: relative;
    z-index: 2;
}
.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: .25;
}
.slide-content {
    color: #fff;
    min-height: 480px;
    display: flex;
    align-items: center;
    padding: 40px 15px;
}
.slide-content h2 {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.slide-content p {
    font-size: 1.05rem;
    font-weight: 300;
    opacity: .9;
    margin-bottom: 1.8rem;
    text-shadow: 0 1px 4px rgba(0,0,0,.3);
}
.slide-content .btn-transparent {
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
    font-weight: 500;
    padding: 10px 28px;
    border-radius: 4px;
    transition: background .2s, color .2s;
}
.slide-content .btn-transparent:hover {
    background: #fff;
    color: var(--brand);
}
.slide-img {
    position: relative;
    z-index: 2;
    text-align: right;
}
.slide-img img { max-height: 340px; object-fit: contain; drop-shadow: 0 8px 20px rgba(0,0,0,.3); }
#heroCarousel .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    border: 0;
}
#heroCarousel .carousel-indicators .active { background: var(--brand); }
#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
    width: 48px;
    height: 48px;
    background: rgba(255,127,0,.75);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    margin: 0 12px;
}
#heroCarousel .carousel-control-prev { left: 0; }
#heroCarousel .carousel-control-next { right: 0; }

/* =============================================
   CALL TO ACTION BAR
============================================= */
.main-info {
    background: #fff;
    border-bottom: 3px solid var(--brand);
    padding: 18px 0;
}
.main-info h4 { color: #555; margin: 0; font-size: 16px; font-weight: 500; }
.main-info p  { margin: 0; color: #888; font-size: 13px; }

/* =============================================
   SEÇÃO SERVIÇOS
============================================= */
#services {
    background: var(--dark-bg);
    color: #9ea8b5;
    padding: 70px 0;
}
#services h3 { color: #fff; }
#services h4 { color: #fff; font-size: 14px; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .5px; }
#services .lead { color: #9ea8b5; }

.service-card { display: flex; align-items: flex-start; margin-bottom: 30px; }
.service-icon {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--brand);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: #fff;
    flex-shrink: 0;
    margin-right: 16px;
    transition: transform .2s;
}
.service-card:hover .service-icon { transform: scale(1.1); }

/* ─── icon-medium legado ─── */
.icon-medium {
    font-size: 18px;
    width: 18px; line-height: 18px;
    text-align: center;
    display: inline-block;
    background: var(--brand);
    padding: 10px;
    border-radius: 50%;
    color: #fff;
    margin-right: 12px;
    transition: transform .2s;
}

/* =============================================
   SEÇÃO CLIENTES / SEGURADORAS
============================================= */
#clients {
    background: #fff;
    padding: 50px 0;
}
#clients h4 { color: #999; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
#clients .carousel { margin-bottom: 0; }
#clients ul.thumbnails {
    list-style: none; padding: 0; margin: 0;
    display: flex; align-items: center; justify-content: center; gap: 20px;
}
#clients ul.thumbnails > li { flex: 1; text-align: center; }
#clients ul.thumbnails > li img {
    max-height: 55px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: .7;
    transition: filter .3s, opacity .3s;
}
#clients ul.thumbnails > li img:hover { filter: grayscale(0); opacity: 1; }
#clients .prev,
#clients .next { color: #bbb; font-size: 22px; cursor: pointer; }

/* =============================================
   TÍTULO DE PÁGINA (breadcrumb bar)
============================================= */
.title {
    background: var(--brand);
    color: #fff;
    padding: 22px 0;
}
.title h1 { margin: 0; font-size: 1.5rem; font-weight: 600; }
.breadcrumb { background: transparent; margin: 0; padding: 0; }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.6); }
.breadcrumb-item a { color: rgba(255,255,255,.8); }
.breadcrumb-item.active { color: #fff; }

/* =============================================
   BOTÕES
============================================= */
.btn { border-radius: 4px; border: 0; text-shadow: none; box-shadow: none; font-weight: 500; }
.btn-primary  { background: var(--brand); color: #fff; }
.btn-primary:hover, .btn-primary:focus { background: var(--brand-dark); color: #fff; }
.btn-success  { background: #27ae60; }
.btn-success:hover { background: #1e8449; }
.btn-large, .btn-lg { padding: 10px 28px; font-size: 14px; }
.btn-transparent { border: 2px solid #fff; background: transparent; color: #fff; }
.btn-transparent:hover { background: rgba(255,255,255,.15); color: #fff; }
.btn-social { border: 0; color: #fff; text-shadow: 0 1px rgba(0,0,0,.3); padding: 4px 8px; border-radius: 4px; margin-right: 3px; }
.btn-social.btn-facebook    { background: #4f7dd4; }
.btn-social.btn-facebook:hover { background: #3a62b5; }
.btn-social.btn-twitter     { background: #5bceff; }
.btn-social.btn-twitter:hover { background: #2ab8ee; }
.btn-social.btn-linkedin    { background: #21a6d8; }
.btn-social.btn-linkedin:hover { background: #1884ad; }
.btn-social.btn-google-plus { background: #dc422b; }
.btn-social.btn-google-plus:hover { background: #b53320; }
.btn-social:hover { color: #fff; }

/* =============================================
   CARDS / BOXES
============================================= */
.box {
    background: #fff;
    border-top: 3px solid var(--brand);
    box-shadow: 0 4px 16px rgba(0,0,0,.07);
    padding: 20px;
    border-radius: 6px;
    transition: box-shadow .2s, transform .2s;
}
.box:hover { box-shadow: 0 8px 28px rgba(0,0,0,.12); transform: translateY(-2px); }
.box img { width: 100%; border-radius: 4px; margin-bottom: 10px; }

/* =============================================
   FORMULÁRIOS
============================================= */
.form-control,
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="search"],
textarea,
select,
.uneditable-input {
    border-radius: 4px;
    border: 2px solid #e5e5e5;
    padding: 10px 15px;
    min-height: 44px;
    font-size: 14px;
    transition: border-color .2s, box-shadow .2s;
    box-shadow: none;
}
.form-control:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(255,127,0,.15);
    outline: 0;
}
textarea#message, textarea.form-control { padding: 12px 15px; min-height: 140px; }
.input-block-level { display: block; width: 100%; min-height: 44px; box-sizing: border-box; }

/* =============================================
   PROGRESS BARS (Bootstrap 2 + 5)
============================================= */
.progress { border-radius: 4px; height: 30px; margin-bottom: 12px; background: #e9ecef; }
.progress .bar,
.progress-bar         { line-height: 30px; background: var(--brand); border-radius: 4px; height: 30px; }
.progress-warning .bar,
.progress-warning .progress-bar { background: #e67e22; }
.progress-info .bar,
.progress-info .progress-bar    { background: #3498db; }
.progress-success .bar,
.progress-success .progress-bar { background: #27ae60; }

/* =============================================
   MODAL LOGIN (Bootstrap 5)
============================================= */
#loginModal .modal-content { border: 0; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.2); }
#loginModal .modal-header  { border-bottom: 1px solid #f0f0f0; padding: 20px 24px 16px; }
#loginModal .modal-title   { font-size: 15px; font-weight: 600; color: #444; }
#loginModal .modal-body    { padding: 24px; }
#loginModal .btn-primary   { background: var(--brand); border: 0; }
#loginModal .btn-primary:hover { background: var(--brand-dark); }

/* =============================================
   SEÇÃO BOTTOM (rodapé informativo)
============================================= */
#bottom {
    background: var(--dark-bg);
    color: #6c757d;
}
#bottom h5, #bottom h4 {
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--brand);
    display: inline-block;
}
#bottom a { color: #6c757d; transition: color .2s; }
#bottom a:hover { color: var(--brand); }
#bottom ul { padding: 0; list-style: none; margin: 0; }
#bottom ul li { margin-bottom: 9px; line-height: 1.5; }
#bottom ul.arrow li::before {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 8px;
    color: var(--brand);
}
#bottom ul.address li { padding-left: 0; }
#bottom ul.address i  { color: var(--brand); margin-right: 8px; }
#bottom iframe { border-radius: 6px; border: 0; }

/* =============================================
   FOOTER BAR
============================================= */
#footer {
    background: #111;
    padding: 14px 0;
    color: #555;
    font-size: 13px;
}
#footer a { color: #555; transition: color .2s; }
#footer a:hover { color: var(--brand); }
#footer .cp { margin-top: 8px; }

#gototop {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    background: #333;
    border-radius: 4px;
    font-size: 17px;
    color: #fff;
    transition: background .2s;
    text-decoration: none;
}
#gototop:hover { background: var(--brand); color: #fff; }

ul.social { list-style: none; padding: 0; margin: 0; }
ul.social li { display: inline-block; margin: 0 4px; }
ul.social li a { font-size: 22px; color: #555; transition: color .2s; }
ul.social li a:hover { color: var(--brand); }

/* =============================================
   ACCORDION
============================================= */
.accordion-group  { background: #fff; border-top: 1px solid #f0f0f0; border-radius: 4px; margin-bottom: 4px; }
.accordion-heading .accordion-toggle { color: #444; font-weight: 600; padding: 12px 16px; display: block; }
.accordion-inner  { border-top: 0; padding: 12px 16px; }

/* =============================================
   FAQ
============================================= */
ul.faq { list-style: none; padding: 0; margin: 0; }
ul.faq li { margin-top: 30px; }
ul.faq li:first-child { margin-top: 0; }
ul.faq li span.number {
    display: block; float: left;
    width: 50px; height: 50px; line-height: 50px;
    text-align: center;
    background: var(--brand); color: #fff;
    font-size: 24px; border-radius: 4px;
}
ul.faq li > div { margin-left: 70px; }
ul.faq li > div h3 { margin-top: 0; }

/* =============================================
   BREADCRUMB (legado Bootstrap 2)
============================================= */
ul.breadcrumb { list-style: none; padding: 0; margin: 0; background: transparent; display: flex; gap: 4px; align-items: center; }
ul.breadcrumb > li { color: rgba(255,255,255,.8); font-size: 13px; }
ul.breadcrumb > li > a { color: rgba(255,255,255,.8); }
ul.breadcrumb > li > a:hover { color: #fff; }
ul.breadcrumb > li .divider { margin: 0 4px; opacity: .5; }
ul.breadcrumb > li.active { color: #fff; }

/* =============================================
   LISTAS ESTILIZADAS
============================================= */
ul.arrow, ul.arrow-double, ul.tick, ul.cross, ul.star, ul.rss {
    list-style: none; padding: 0; margin: 0;
}
ul.arrow       li::before { content: "\f105"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-right: 7px; color: var(--brand); }
ul.arrow-double li::before { content: "\f101"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-right: 7px; color: var(--brand); }
ul.tick        li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-right: 7px; color: #27ae60; }
ul.cross       li::before { content: "\f00d"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-right: 7px; color: #e74c3c; }

/* =============================================
   MAIN CONTENTS (páginas internas)
============================================= */
#main-contents { margin-top: 30px; margin-bottom: 40px; }
#about-us.container { padding-top: 40px; padding-bottom: 40px; }
section.main .container { padding-top: 30px; padding-bottom: 30px; }

/* =============================================
   MISCELÂNEA
============================================= */
body > section { padding: 50px 0; }
body > section#slide-show { padding: 0; }
#error { text-align: center; margin: 150px 0; }
.registration-form {
    background: #fff;
    border-top: 1px solid #f0f0f0;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
    padding: 24px;
    border-radius: 6px;
}
.dropdown-menu .active > a,
.dropdown-menu .active > a:hover,
.dropdown-menu > li > a:hover { background: var(--brand); color: #fff; }

/* =============================================
   TOASTR — override de cor de acento
============================================= */
#toast-container > .toast-success { background-color: #27ae60; }
#toast-container > .toast-info    { background-color: #3498db; }
#toast-container > .toast-warning { background-color: #e67e22; }
#toast-container > .toast-error   { background-color: #e74c3c; }
