:root {
    --navy: #101e36;
    --paper: #faf8f2;
    --gold: #ffc933;
    --blue: #16345e;
    --ink: #152941;
    --muted: #46566b;
    --line: #dce0e6;
}
.gaspar-site { background: #fff; color: var(--ink); }
.gaspar-site .container { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.gaspar-site .identity-bar { background: #e9eef5; color: #243e5c; text-align: center; padding: .48rem 1rem; font-size: .84rem; line-height: 1.45; }
.gaspar-site .header-inner { min-height: 82px; }
.gaspar-site .header .logo { width: 180px; height: auto; }
.gaspar-site .header .button { background: var(--blue); color: #fff; }
.gaspar-site .button { border-radius: 8px; min-height: 44px; }
.gaspar-site .button.yellow { background: var(--gold); color: var(--navy); }
.gaspar-site .outline-button { border: 1px solid #a5b8d3; background: transparent; color: #fff; }
.opening { background: var(--navy); color: #fff; }
.opening-grid { display: grid; grid-template-columns: 1.18fr 1fr; gap: clamp(24px, 5vw, 74px); align-items: stretch; padding-block: 48px; }
.opening-copy { align-self: center; }
.section-mark { display: block; color: #365378; font-size: .82rem; line-height: 1.5; letter-spacing: .12em; font-weight: 750; margin: 0 0 12px; }
.opening .section-mark { color: #ffdc74; }
.opening h1 { font-size: clamp(2.5rem, 5vw, 4.75rem); line-height: 1.04; letter-spacing: -.052em; margin: 0; max-width: 14ch; }
.opening h1 em { font-style: normal; color: var(--gold); }
.opening-lead { font-size: clamp(1rem, 1.5vw, 1.13rem); color: #e0e9f6; max-width: 49ch; margin: 18px 0; }
.opening-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.opening-identity { display: grid; gap: 3px; margin-top: 24px; padding: 12px 0 12px 15px; border-left: 3px solid var(--gold); font-size: .91rem; line-height: 1.45; color: #dce7f6; overflow-wrap: anywhere; }
.opening-identity strong { color: #fff; font-size: 1rem; }
.opening-identity a { text-decoration: underline; text-underline-offset: 3px; }
.opening-photo { min-width: 0; min-height: 420px; position: relative; overflow: hidden; border-radius: 12px; isolation: isolate; background: #364c63; }
.opening-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 46%; }
.photo-caption { position: absolute; inset: auto 0 0; padding: 32px 20px 18px; color: white; background: linear-gradient(transparent, rgba(12,25,44,.94)); }
.photo-caption span,.photo-caption strong { display: block; }
.photo-caption span { color: #ffdf80; letter-spacing: .13em; font-size: .8rem; }
.photo-caption strong { font-size: 1.1rem; }
.editorial-section { padding-block: clamp(45px, 6.5vw, 90px); }
.editorial-section h2 { margin: 0 0 .45em; color: var(--ink); font-size: clamp(2rem, 4vw, 3.45rem); line-height: 1.06; letter-spacing: -.045em; }
.editorial-section .intro { color: var(--muted); margin: 0 0 24px; }
.vehicle-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.vehicle-card { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.vehicle-card img { width: 100%; height: 180px; object-fit: cover; object-position: 50% 39%; }
.vehicle-card > div { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.vehicle-card h3 { font-size: 1.45rem; margin: 0; }
.vehicle-card p { flex: 1; margin: .5rem 0 1rem; color: var(--muted); }
.vehicle-card a,.underlined { color: #174980; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.coverage-panel { background: var(--paper); }
.coverage-layout,.company-layout,.faq-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 5vw, 74px); align-items: start; }
.coverage-layout p:not(.section-mark),.company-layout p:not(.section-mark) { color: var(--muted); }
.coverage-list { margin: 0; }
.coverage-list div { padding: 14px 0; border-top: 1px solid #d7d8d5; }
.coverage-list div:last-child { border-bottom: 1px solid #d7d8d5; }
.coverage-list dt { font-weight: 750; font-size: 1.12rem; }
.coverage-list dd { margin: .25rem 0 0; color: var(--muted); }
.quote-layout { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: clamp(25px, 6vw, 85px); }
.flow-steps { margin: 25px 0; padding-left: 1.45rem; }
.flow-steps li { padding-left: .4rem; margin-bottom: 1.05rem; }
.flow-steps strong { display: block; }
.gaspar-site .quote-form { box-shadow: none; border: 1px solid #d5deea; border-top: 4px solid var(--gold); border-radius: 12px; background: #f6f8fc; }
.gaspar-site .quote-form label.consent a { text-decoration: underline; }
.gaspar-site .quote-form .button { background: var(--blue); color: #fff; }
.company-panel { background: #eaf0f8; }
.company-card { background: #fff; border: 1px solid #cfdbea; padding: clamp(20px, 3vw, 34px); border-radius: 10px; }
.company-card strong { font-size: 1.16rem; }
.gaspar-site .faq-list details { background: #f6f8fc; }
.gaspar-site .site-footer { background: var(--navy); }
.gaspar-site .site-footer a { overflow-wrap: anywhere; }
.gaspar-site .site-footer a:hover { text-decoration: underline; }
.gaspar-site .footer-grid h3 { color: #fff; }
.gaspar-site .footer-bottom { gap: 16px; }
.gaspar-site .footer-bottom p { max-width: 70ch; }
.gaspar-site .privacy-page { max-width: 850px; min-height: 44vh; }
.gaspar-site .privacy-page p a { color: #174980; text-decoration: underline; }
.gaspar-site .whatsapp-float { font-size: .9rem; min-height: 44px; }
@media (max-width: 900px) {
    .gaspar-site .container { width: calc(100% - 40px); }
    .opening-grid { gap: 28px; }
    .opening-photo { min-height: 360px; }
    .vehicle-grid { gap: 13px; }
    .vehicle-card > div { padding: 15px; }
}
@media (max-width: 700px) {
    .gaspar-site .container { width: calc(100% - 32px); }
    .gaspar-site .header-inner { min-height: 68px; }
    .gaspar-site .header .logo { width: 145px; }
    .opening-grid,.coverage-layout,.company-layout,.faq-layout,.quote-layout { grid-template-columns: 1fr; }
    .opening-grid { padding-block: 32px; }
    .opening h1 { max-width: 16ch; }
    .opening-photo { min-height: 0; aspect-ratio: 1.35; }
    .opening-photo img { object-position: 50% 42%; }
    .vehicle-grid { grid-template-columns: 1fr; }
    .vehicle-card { display: grid; grid-template-columns: minmax(90px, .8fr) minmax(0, 1.2fr); }
    .vehicle-card img { height: 100%; min-height: 170px; }
    .vehicle-card > div { padding: 14px; }
    .vehicle-card p { font-size: .94rem; }
    .gaspar-site .footer-bottom { padding-bottom: 62px; }
}
@media (max-width: 360px) {
    .gaspar-site .quote-form .form-row { grid-template-columns: 1fr; }
    .opening-actions .button { width: 100%; justify-content: center; }
}

/* Topo e carrossel */
.gaspar-site .header-inner { min-height: 74px; }
.opening-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(22px, 4vw, 58px);
    align-items: center;
    padding-block: clamp(26px, 3vw, 43px);
}
.opening h1 { font-size: clamp(2.25rem, 4.5vw, 4.1rem); max-width: 17ch; }
.opening-lead { margin-block: 14px; }
.opening-identity { margin-top: 16px; padding-block: 8px; }
.opening-carousel {
    min-width: 0;
    width: 100%;
    margin: 0;
    border: 1px solid #435774;
    border-radius: 12px;
    overflow: hidden;
    background: #182941;
}
.carousel-viewport {
    position: relative;
    aspect-ratio: 1.35;
    overflow: hidden;
    background: #243a52;
}
.carousel-slide { position: absolute; inset: 0; margin: 0; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.carousel-slide .photo-caption { padding: 34px 18px 12px; }
.carousel-slide .photo-caption strong { font-size: 1.3rem; }
.carousel-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 8px;
}
.carousel-slide[hidden], .carousel-controls[hidden] { display: none; }
.carousel-tabs { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; }
.carousel-controls button {
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 0 8px;
    min-height: 44px;
    background: transparent;
    color: #fff;
    font-size: .83rem;
    cursor: pointer;
}
.carousel-controls button:hover { border-color: #9aaecb; }
.carousel-controls [aria-pressed="true"] { background: var(--gold); color: #101e36; font-weight: 700; }
.carousel-controls .carousel-arrow { min-width: 44px; font-size: 1.6rem; line-height: 1; }
.carousel-controls .carousel-play { color: #dbe8fc; text-decoration: underline; text-underline-offset: .15em; }

/* Contraste em todas as páginas que usam o rodapé do site. */
.gaspar-site .site-footer {
    --muted: #dce6f5;
    --line: #657b99;
    background: #101e36;
    color: #dce6f5;
}
.gaspar-site .site-footer p { color: #dce6f5; font-size: .9rem; }
.gaspar-site .site-footer h3 { color: #fff; }
.gaspar-site .site-footer a,
.gaspar-site .site-footer .cookie-settings {
    color: #ffe18a;
    font-size: .9rem;
    text-decoration: underline;
    text-underline-offset: .16em;
}

@media (max-width: 700px) {
    .gaspar-site .header-inner { min-height: 64px; }
    .opening-grid { grid-template-columns: minmax(0, 1fr); gap: 19px; padding-block: 23px; }
    .opening h1 { max-width: 18ch; }
    .carousel-viewport { aspect-ratio: 1.6; }
}
@media (max-width: 400px) {
    .carousel-controls { gap: 4px; }
    .carousel-controls button { padding-inline: 5px; }
}
