:root {
  color-scheme: dark;
  --bg: #0b0b0f;
  --bg-alt: #121217;
  --surface: rgba(26, 26, 31, 0.95);
  --surface-strong: #18181f;
  --text: #f5f5f5;
  --muted: #b4b4b8;
  --primary: #e31b1b;
  --primary-dark: #a20f0f;
  --secondary: #ff5353;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f2f0;
  --bg-alt: #efefef;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --text: #151515;
  --muted: #4a4a4f;
  --primary: #d71d1d;
  --primary-dark: #a30d0d;
  --secondary: #ff6d6d;
  --border: rgba(19, 19, 19, 0.08);
  --shadow: 0 24px 80px rgba(15, 15, 20, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(circle at top, rgba(227, 27, 27, 0.14), transparent 35%), var(--bg);
  color: var(--text);
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  background: transparent;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  color: var(--text);
}

.brand-logo {
  width: 135px;
  height: auto;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.5rem;
}

.brand-name {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
}

.brand-tag {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.main-nav {
  display: flex;
  gap: 0.55rem;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.main-nav a,
.nav-dropdown summary {
  color: var(--muted);
  text-decoration: none;
  padding: 0.5rem 0.55rem;
  border: 1px solid transparent;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.nav-dropdown summary:hover,
.nav-dropdown[open] summary,
.nav-dropdown summary:focus-visible {
  color: var(--text);
  border-color: rgba(227, 27, 27, 0.7);
  background: rgba(227, 27, 27, 0.06);
  outline: none;
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown summary::after {
  content: '▾';
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.nav-dropdown summary:hover,
.nav-dropdown[open] summary {
  color: var(--text);
}

.nav-dropdown[open] summary::after {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.8rem);
  left: 50%;
  z-index: 10;
  display: grid;
  min-width: 245px;
  padding: 0.55rem;
  gap: 0.15rem;
  background: rgba(18, 18, 23, 0.98);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.4);
  transform: translateX(-50%);
  animation: dropdown-reveal 0.18s ease both;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  width: 11px;
  height: 11px;
  background: rgba(18, 18, 23, 0.98);
  border-left: 1px solid rgba(255,255,255,0.12);
  border-top: 1px solid rgba(255,255,255,0.12);
  transform: translateX(-50%) rotate(45deg);
}

.nav-dropdown-menu a {
  position: relative;
  z-index: 1;
  padding: 0.65rem 0.75rem;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  background: rgba(227,27,27,0.12);
  color: var(--text);
  outline: none;
}

body[data-theme="light"] .nav-dropdown-menu {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(17, 17, 17, 0.08);
  box-shadow: 0 18px 40px rgba(15, 15, 20, 0.12);
}

body[data-theme="light"] .nav-dropdown-menu::before {
  background: rgba(255, 255, 255, 0.96);
  border-left-color: rgba(17, 17, 17, 0.08);
  border-top-color: rgba(17, 17, 17, 0.08);
}

body[data-theme="light"] .nav-dropdown-menu a {
  color: #2a2a2a;
}

body[data-theme="light"] .nav-dropdown-menu a:hover,
body[data-theme="light"] .nav-dropdown-menu a:focus-visible {
  color: #111111;
  background: rgba(227, 27, 27, 0.08);
}

@keyframes dropdown-reveal {
  from { opacity: 0; transform: translate(-50%, -6px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.language-switcher {
  display: flex;
  gap: 0.5rem;
  flex-wrap: nowrap;
  align-items: center;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(227, 27, 27, 0.7);
  outline: none;
}

.lang-btn {
  background: transparent;
  color: var(--text);
  border: none;
  border-radius: 0;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 20px;
}

.lang-btn:hover {
  transform: translateY(-1px);
}

.lang-btn img.lang-flag {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.lang-btn.active {
  background: var(--primary);
  border-color: rgba(227, 27, 27, 0.95);
  color: #111;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #111;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.14);
}

.button-small {
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
}

.button-red {
  background: var(--primary);
  color: #111;
}

.section {
  padding: 4.5rem 0;
}

.section-dark {
  background: linear-gradient(180deg, rgba(13, 13, 18, 0.92), rgba(8, 8, 12, 1));
}

body[data-theme="light"] .section-dark {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(239, 239, 239, 1));
}

.section-light {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
}

.eyebrow-secondary {
  color: var(--secondary);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  font-size: clamp(3rem, 5vw, 4.8rem);
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
}

h3 {
  font-size: 1.3rem;
}

p {
  color: var(--muted);
  line-height: 1.8;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy p {
  max-width: 34rem;
  margin: 1.6rem 0 2.2rem;
  font-size: 0.9rem;
  line-height: 1.6;
  white-space: pre-line;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding-right: 1rem;
  padding-left: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/backgroundSection1.png') right center / 70% auto no-repeat;
  opacity: 0.90;
  pointer-events: none;
  z-index: 0;
}

body[data-theme="light"] .hero::before {
  background: url('../img/backgroundSection2.png') right center / 47% auto no-repeat;
  margin-right: 15%;
  opacity: 0.58;
  filter: saturate(1.03) contrast(1.08);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-details {
  display: grid;
  gap: 1.4rem;
}

.info-card {
  text-align: center;
  max-width: 100%;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 1.8rem;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.info-card h2 {
  margin-bottom: 0.9rem;
  color: var(--text);
}

.info-card p {
  margin: 0.65rem 0;
}

.info-card-accent {
  border-color: rgba(227, 27, 27, 0.35);
  background: rgba(227, 27, 27, 0.08);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.auto-services-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #11151b 0%, #181d24 55%, #242a31 100%);
}

.auto-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.auto-service-card {
  min-height: 220px;
  padding: 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 3px solid var(--primary);
  background: rgba(8, 10, 14, 0.62);
  transition: transform 180ms ease, border-color 180ms ease;
}

.auto-service-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

.auto-service-number {
  display: block;
  margin-bottom: 2.4rem;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.auto-service-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.auto-service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

body[data-theme="light"] .auto-services-section {
  background: linear-gradient(135deg, #e9e9e7 0%, #f5f5f3 100%);
}

body[data-theme="light"] .auto-service-card {
  border-color: rgba(19, 19, 19, 0.12);
  background: rgba(255, 255, 255, 0.7);
}

.service-item {
  display: block;
}

.service-card-title {
  margin: 0 auto 0.7rem;
  display: block;
  width: fit-content;
  max-width: 100%;
  color: var(--text);
  font-size: clamp(1.3rem, 2vw, 2.15rem);
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 2px 7px rgba(0, 0, 0, 0.95), 0 0 14px rgba(0, 0, 0, 0.8);
}

.service-card-panel {
  display: grid;
  gap: 0.8rem;
  margin-top: 0.7rem;
  padding: 0;
  border: none;
  background: transparent;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, max-height 0.28s ease, transform 0.22s ease;
  text-align: center;
}

.service-item:hover .service-card-panel,
.service-item:focus-within .service-card-panel {
  opacity: 1;
  max-height: 220px;
  transform: translateY(0);
}

.service-card {
  position: relative;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 1.2rem;
  display: grid;
  gap: 0.8rem;
  min-height: 280px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--card-bg);
  background-size: var(--card-bg-size, cover);
  background-position: var(--card-bg-position, center);
  background-repeat: no-repeat;
  opacity: 1;
  transform: scale(1.04);
}

.service-card::after {
  content: none;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card .service-icon,
.service-card p,
.service-card .service-card-link {
  position: relative;
  z-index: 1;
  display: inline-block;
  text-shadow: 0 2px 7px rgba(0, 0, 0, 0.95), 0 0 14px rgba(0, 0, 0, 0.8);
}

.service-card p,
.service-card .service-card-link {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, max-height 0.25s ease, transform 0.22s ease;
  margin: 0;
}

.service-card:hover p,
.service-card:focus-visible p,
.service-card:hover .service-card-link,
.service-card:focus-visible .service-card-link {
  opacity: 1;
  max-height: 200px;
  transform: translateY(0);
}

.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(227, 27, 27, 0.65);
  box-shadow: 0 18px 38px rgba(0,0,0,0.45);
  outline: none;
}

.service-card--repair {
  --card-bg: url('../img/reparation.jpg');
  --card-bg-position: center center;
  --card-bg-size: cover;
}

.service-card--maintenance {
  --card-bg: url('../img/revision.jpg');
  --card-bg-position: center center;
  --card-bg-size: cover;
}

.service-card--covering {
  --card-bg: url('../img/covering.jpg');
  --card-bg-position: center center;
  --card-bg-size: cover;
}

.service-card--accessories {
  --card-bg: url('../img/pose.jpg');
  --card-bg-position: center center;
  --card-bg-size: cover;
}

.service-card--electronics {
  --card-bg: url('../img/diagnostic.jpg');
  --card-bg-position: center center;
  --card-bg-size: cover;
}

.service-card--inspection {
  --card-bg: url('../img/controle.jpg');
  --card-bg-position: center center;
  --card-bg-size: cover;
}

.service-card-panel p,
.service-card-panel {
  color: #ffffff;
  text-align: center;
  text-shadow: 0 2px 7px rgba(0, 0, 0, 0.8), 0 0 12px rgba(0, 0, 0, 0.7);
}

.service-card-panel p {
  margin: 0;
  color: #ffffff;
  line-height: 1.6;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 0 auto;
  color: #f8f8f8;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.service-card-link span {
  display: inline-block;
  transition: transform 0.22s ease;
}

.service-card:hover .service-card-link span,
.service-card:focus-visible .service-card-link span {
  transform: translateX(5px);
}

.service-detail-hero {
  padding: 8rem 0 5rem;
  background: radial-gradient(circle at 85% 20%, rgba(227,27,27,0.18), transparent 32%), var(--bg);
  overflow: hidden;
}

.service-detail-hero h1 {
  max-width: 820px;
  margin: 0.8rem 0 1.2rem;
}

.service-detail-hero p {
  max-width: 720px;
  font-size: 1.15rem;
}

.service-detail-hero-with-image {
  padding: 6rem 0;
}

.service-detail-hero-background {
  --service-bg: url('../img/reparation.jpg');
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(11,11,15,0.94) 0%, rgba(11,11,15,0.7) 42%, rgba(11,11,15,0.28) 100%), var(--service-bg) center / cover no-repeat;
}

.service-detail-hero-maintenance {
  --service-bg: url('../img/revision.jpg');
  background-image: linear-gradient(90deg, rgba(11,11,15,0.94) 0%, rgba(11,11,15,0.7) 42%, rgba(11,11,15,0.28) 100%), var(--service-bg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.service-detail-hero-covering {
  --service-bg: url('../img/covering.jpg');
  background-image: linear-gradient(90deg, rgba(11,11,15,0.94) 0%, rgba(11,11,15,0.7) 42%, rgba(11,11,15,0.2) 100%), var(--service-bg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.service-detail-hero-accessories {
  --service-bg: url('../img/pose.jpg');
  background-image: linear-gradient(90deg, rgba(11,11,15,0.9) 0%, rgba(11,11,15,0.58) 42%, rgba(11,11,15,0.12) 100%), var(--service-bg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.service-detail-hero-electronics {
  --service-bg: url('../img/diagnostic.jpg');
  background-image: linear-gradient(90deg, rgba(11,11,15,0.93) 0%, rgba(11,11,15,0.64) 45%, rgba(11,11,15,0.16) 100%), var(--service-bg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.service-detail-hero-inspection {
  --service-bg: url('../img/controle.jpg');
  background-image: linear-gradient(90deg, rgba(11,11,15,0.88) 0%, rgba(11,11,15,0.55) 45%, rgba(11,11,15,0.2) 100%), var(--service-bg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

body[data-theme="light"] .service-detail-hero-background,
body[data-theme="light"] .service-detail-hero-maintenance,
body[data-theme="light"] .service-detail-hero-covering,
body[data-theme="light"] .service-detail-hero-accessories,
body[data-theme="light"] .service-detail-hero-electronics,
body[data-theme="light"] .service-detail-hero-inspection {
  background-image: linear-gradient(90deg, rgba(255,255,255,0.56) 0%, rgba(255,255,255,0.42) 42%, rgba(255,255,255,0.18) 100%), var(--service-bg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

body[data-theme="light"] .main-nav .nav-dropdown summary,
body[data-theme="light"] .main-nav .nav-dropdown summary:hover,
body[data-theme="light"] .main-nav .nav-dropdown[open] summary {
  color: var(--text);
}

.service-detail-hero-background .container {
  position: relative;
  z-index: 1;
}

.service-detail-hero-background h1,
.service-detail-hero-background p {
  text-shadow: 0 3px 18px rgba(0,0,0,0.55);
}

.service-detail-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.service-detail-visual {
  margin: 0;
  animation: detail-reveal 0.8s 0.15s ease both;
}

.service-detail-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}

.service-detail-visual figcaption {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.service-detail-main {
  padding: 5rem 0;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: start;
}

.info-page-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
  gap: 2rem;
  align-items: start;
}

.info-page-column {
  display: grid;
  gap: 1.5rem;
}

.info-page-header {
  display: grid;
  gap: 0.5rem;
}

.page-kicker {
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.info-page-title {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.info-page-intro {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.info-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 18px 36px rgba(0,0,0,0.12);
}

.info-card h3 {
  margin: 0 0 1rem;
  font-size: clamp(1.65rem, 2vw, 2.2rem);
  line-height: 1.12;
  color: var(--text);
}

.info-card p {
  margin: 0.45rem 0;
  color: var(--muted);
  line-height: 1.7;
}

.info-card strong {
  font-weight: 800;
  color: var(--text);
}

.pricing-line {
  font-size: clamp(1.1rem, 2vw, 1.8rem);
  color: var(--text) !important;
}

.info-card--list {
  display: grid;
  gap: 1rem;
}

.info-card--list .detail-list {
  margin: 0;
}

.schedule-table table {
  width: 100%;
  border-collapse: collapse;
}

.schedule-table th,
.schedule-table td {
  padding: 0.7rem 0;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  vertical-align: top;
}

.schedule-table th {
  width: 32%;
  color: var(--text);
  font-weight: 700;
  font-size: 1.2rem;
}

.schedule-table td {
  color: var(--muted);
  font-size: 1.05rem;
}

.service-detail-main h2 {
  margin-bottom: 1rem;
}

.service-detail-main h3 {
  margin-bottom: 0.7rem;
}

.service-checklist-intro {
  max-width: 760px;
  margin-bottom: 2.5rem;
  animation: detail-reveal 0.7s ease both;
}

.service-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.checklist-section {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.16);
  animation: detail-reveal 0.65s ease both;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.checklist-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0.22);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.checklist-section:hover {
  transform: translateY(-4px);
  border-color: rgba(227,27,27,0.45);
  box-shadow: 0 18px 36px rgba(0,0,0,0.25);
}

.checklist-section:hover::before {
  transform: scaleX(1);
}

.checklist-section:nth-child(2) { animation-delay: 0.06s; }
.checklist-section:nth-child(3) { animation-delay: 0.12s; }
.checklist-section:nth-child(4) { animation-delay: 0.18s; }
.checklist-section:nth-child(5) { animation-delay: 0.24s; }
.checklist-section:nth-child(6) { animation-delay: 0.30s; }
.checklist-section:nth-child(7) { animation-delay: 0.36s; }
.checklist-section:nth-child(8) { animation-delay: 0.42s; }
.checklist-section:nth-child(9) { animation-delay: 0.48s; }
.checklist-section:nth-child(10) { animation-delay: 0.54s; }
.checklist-section:nth-child(11) { animation-delay: 0.60s; }

@keyframes detail-reveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.checklist-section h3 {
  color: var(--text);
  font-size: 1.05rem;
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 2rem;
  max-height: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-10px);
  transition: max-height 0.45s ease, opacity 0.25s ease, transform 0.3s ease, margin-top 0.25s ease;
}

.checklist-section.is-open .checklist {
  max-height: 900px;
  margin-top: 1rem;
  opacity: 1;
  transform: translateY(0);
}

.checklist-section.is-open .checklist li {
  opacity: 1;
}

.checklist-section:not(.is-open) .checklist {
  max-height: 0;
  margin-top: 0;
  opacity: 0;
  transform: translateY(-10px);
}

.checklist-section:not(.is-open) .checklist li {
  opacity: 0;
}

.checklist-section:hover {
  transform: translateY(-4px);
  border-color: rgba(227,27,27,0.45);
  box-shadow: 0 18px 36px rgba(0,0,0,0.25);
}

.checklist-section:hover::before {
  transform: scaleX(1);
}

.checklist li {
  position: relative;
  padding: 0.65rem 0;
  color: var(--muted);
  font-size: 0.94rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.checklist li::before {
  content: '•';
  margin-right: 0.55rem;
  color: var(--primary);
  font-weight: 800;
}

.checklist-notice {
  margin-top: 1.5rem;
  animation: detail-reveal 0.7s 0.65s ease both;
}

.checklist-notice a {
  color: var(--primary);
  font-weight: 700;
}

.detail-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  position: relative;
  padding-left: 1.6rem;
}

.detail-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 800;
}

.service-detail-panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.service-detail-panel + .service-detail-panel {
  margin-top: 1rem;
}

.service-detail-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

@media (prefers-reduced-motion: reduce) {
  .service-checklist-intro,
  .checklist-section,
  .checklist-notice {
    animation: none;
  }

  .checklist-section,
  .checklist-section::before {
    transition: none;
  }
}

.service-detail-cta .button {
  width: auto;
}

@media (max-width: 940px) {
  .service-detail-hero-grid {
    grid-template-columns: 1fr;
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .service-detail-hero-background {
    min-height: 480px;
    background-position: 62% center;
  }

  .service-checklist {
    grid-template-columns: 1fr;
  }

  .checklist {
    grid-template-columns: 1fr;
  }
}

.service-icon {
  width: 3.2rem;
  height: 3.2rem;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
  color: var(--primary);
  font-size: 1.6rem;
  line-height: 1;
}

.service-card h3 {
  margin-bottom: 0.4rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 260px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.06);
  display: grid;
  place-items: center;
  padding: 1.2rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.gallery-item-large {
  min-height: 500px;
}

.gallery-item-placeholder {
  background: rgba(255, 255, 255, 0.03);
}

.gallery-caption {
  position: static;
  margin-top: auto;
  color: var(--text);
  font-size: 1rem;
  text-align: center;
  letter-spacing: 0.01em;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: stretch;
}

.about-list {
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.about-list li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--text);
}

.about-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
}

.about-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0,0,0,0.32);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.about-meta {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.5rem;
  color: var(--muted);
}

.contact-section {
  padding-bottom: 6rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 1.5rem;
}

/* Harmoniser l'apparence des deux colonnes de contact */
.contact-info .info-card {
  margin-left: 0;
  max-width: 100%;
}

.contact-form {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 1.6rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.32);
  display: grid;
  gap: 1rem;
}

body[data-theme="light"] .contact-section .contact-form,
body[data-theme="light"] .contact-section .info-card {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(17, 17, 17, 0.08);
  box-shadow: 0 10px 30px rgba(15, 15, 20, 0.08);
}

body[data-theme="light"] .contact-form input,
body[data-theme="light"] .contact-form textarea,
body[data-theme="light"] .contact-form select {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(17, 17, 17, 0.12);
  color: var(--text);
}

body[data-theme="light"] .contact-form input::placeholder,
body[data-theme="light"] .contact-form textarea::placeholder {
  color: rgba(17, 17, 17, 0.55);
}

body[data-theme="light"] .contact-form select {
  -webkit-appearance: menulist;
  -moz-appearance: menulist;
  appearance: auto;
  background-image: none;
  padding-right: 1rem;
}

body[data-theme="light"] .contact-form select option {
  background: #fff;
  color: #111;
}

body[data-theme="light"] .contact-form select optgroup {
  background: #eeeeec;
  color: var(--primary-dark);
  font-weight: 700;
}

.map-embed {
  margin-top: 1rem;
  border-radius: 12px;
  overflow: hidden;
}

.map-embed iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

.contact-form label {
  margin: 0;
}

.contact-form .button[type="submit"] {
  width: 100%;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.65rem;
  font-weight: 500;
  color: var(--text);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  outline: none;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.contact-form select {
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}

.contact-form select::-ms-expand {
  display: none;
}

.contact-form select option {
  background: var(--bg);
  color: var(--text);
}

.contact-form select optgroup {
  background: var(--surface-strong);
  color: var(--primary);
  font-weight: 700;
}

.phone-input-group {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0.75rem;
  align-items: stretch;
}

.phone-country-select {
  width: 100%;
}

.contact-form input:hover,
.contact-form textarea:hover,
.contact-form select:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(227, 27, 27, 0.1);
}

.form-note {
  margin: 0;
  color: var(--muted);
}

.form-notification {
  display: block;
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  font-size: 0.95rem;
  line-height: 1.4;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid transparent;
}

.form-notification.success {
  border-color: rgba(36, 199, 141, 0.6);
  background: rgba(36, 199, 141, 0.12);
  color: var(--text);
}

.form-notification.error {
  border-color: rgba(255, 81, 81, 0.6);
  background: rgba(255, 81, 81, 0.12);
  color: #fff;
}

.hidden {
  display: none !important;
}

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--bg-alt);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  color: var(--muted);
}

@media (max-width: 940px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .gallery-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .auto-service-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item-large {
    min-height: 350px;
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav {
    justify-content: center;
  }

  .button {
    width: 100%;
  }

  .nav-dropdown-menu {
    left: 0;
    min-width: min(245px, calc(100vw - 2rem));
    transform: none;
  }

  .nav-dropdown-menu::before {
    left: 1.25rem;
  }

  @keyframes dropdown-reveal {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
