/* ============================================================
   Landes Isolation — Thème statique
   ============================================================ */

:root {
  --orange: #e85d04;
  --orange-dark: #c44d00;
  --navy: #1a1a2e;
  --navy-light: #16213e;
  --text: #333;
  --text-light: #666;
  --bg-light: #f8f8f8;
  --border: #e0e0e0;
  --white: #fff;
  --radius: 6px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --transition: 0.2s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

img { max-width: 100%; height: auto; }
a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-dark); }

/* ========== SKIP LINK ========== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--orange);
  color: white;
  padding: 8px;
  z-index: 9999;
}
.skip-link:focus { top: 0; }

/* ========== HEADER ========== */
header.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo img {
  height: 48px;
  width: auto;
}

/* Nav */
nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 0;
  align-items: center;
}

nav.main-nav > ul > li {
  position: relative;
}

nav.main-nav > ul > li > a {
  color: var(--white);
  padding: 0 16px;
  height: 70px;
  display: flex;
  align-items: center;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background var(--transition);
  white-space: nowrap;
}

nav.main-nav > ul > li > a:hover,
nav.main-nav > ul > li.has-children:hover > a {
  background: rgba(255,255,255,0.08);
  color: var(--white);
}

/* Dropdown */
nav.main-nav .submenu {
  display: none;
  position: absolute;
  top: 70px;
  left: 0;
  background: var(--navy-light);
  min-width: 220px;
  border-top: 3px solid var(--orange);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  z-index: 200;
}

nav.main-nav li.has-children:hover .submenu {
  display: block;
}

nav.main-nav .submenu li a {
  display: block;
  color: #ddd;
  padding: 12px 20px;
  font-size: 0.9rem;
  transition: all var(--transition);
}

nav.main-nav .submenu li a:hover {
  background: rgba(255,255,255,0.05);
  color: var(--white);
  padding-left: 28px;
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-phone {
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-phone:hover { color: var(--orange); }

.btn-devis {
  background: var(--orange);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background var(--transition);
  white-space: nowrap;
}

.btn-devis:hover { background: var(--orange-dark) !important; }

/* Mobile hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  margin: 5px 0;
  transition: all 0.3s;
}

/* ========== HERO ========== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0f3460 100%);
  color: white;
  padding: 80px 20px 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('/images/hero-bg.jpg') center/cover;
  opacity: 0.12;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: center;
  position: relative;
}

.hero-text h1 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 8px;
}

.hero-text h2 {
  font-size: 1.2rem;
  font-weight: 400;
  color: #aac4ff;
  margin-bottom: 24px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.badge {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--orange);
  color: white !important;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  display: inline-block;
  transition: all var(--transition);
  border: 2px solid var(--orange);
}

.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(232,93,4,0.4);
}

.btn-secondary {
  background: transparent;
  color: white !important;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.5);
  transition: all var(--transition);
}

.btn-secondary:hover {
  border-color: white;
  background: rgba(255,255,255,0.08);
}

/* Devis form widget */
.hero-form {
  background: white;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.hero-form h3 {
  color: var(--navy);
  font-size: 1.2rem;
  margin-bottom: 20px;
  text-align: center;
}

.hero-form select,
.hero-form input,
.hero-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  margin-bottom: 12px;
  font-family: inherit;
  color: var(--text);
}

.hero-form select:focus,
.hero-form input:focus,
.hero-form textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232,93,4,0.15);
}

.hero-form .btn-submit {
  width: 100%;
  background: var(--orange);
  color: white;
  border: none;
  padding: 14px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
}

.hero-form .btn-submit:hover { background: var(--orange-dark); }

/* Trust badges */
.certifs {
  background: var(--bg-light);
  padding: 32px 20px;
  border-bottom: 1px solid var(--border);
}

.certifs-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.certifs img {
  height: 70px;
  width: auto;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter var(--transition);
}

.certifs img:hover { filter: none; }

/* ========== SECTIONS ========== */
.section {
  padding: 72px 20px;
}

.section-alt {
  background: var(--bg-light);
}

.section-dark {
  background: var(--navy);
  color: white;
}

.section-dark h2 { color: white; }
.section-dark p { color: #ccc; }

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--navy);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 48px;
}

h2 {
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 16px;
  margin-top: 40px;
  line-height: 1.3;
}

h3 {
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 12px;
  margin-top: 28px;
}

p { margin-bottom: 16px; }

ul, ol { padding-left: 24px; margin-bottom: 16px; }
ul li, ol li { margin-bottom: 8px; }

/* Grid layouts */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Cards */
.card {
  background: white;
  border-radius: 10px;
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 1.15rem;
  margin-top: 0;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Service cards with image */
.service-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.service-card:hover { transform: translateY(-4px); }

.service-card-img {
  height: 200px;
  background: #ddd;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card-body {
  padding: 24px;
}

.service-card-body h3 {
  margin-top: 0;
  font-size: 1.15rem;
}

.service-card-body p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.btn-link {
  color: var(--orange);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-link::after { content: ' →'; }
.btn-link:hover { color: var(--orange-dark); }

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--orange) 0%, #ff6b35 100%);
  color: white;
  text-align: center;
  padding: 60px 20px;
}

.cta-banner h2 {
  color: white;
  font-size: 2rem;
  margin-bottom: 12px;
  margin-top: 0;
}

.cta-banner p {
  font-size: 1.1rem;
  margin-bottom: 32px;
  opacity: 0.9;
}

.btn-white {
  background: white;
  color: var(--orange) !important;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  display: inline-block;
  transition: all var(--transition);
  margin: 6px;
}

.btn-white:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: white !important;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.7);
  transition: all var(--transition);
  margin: 6px;
}

.btn-outline-white:hover {
  border-color: white;
  background: rgba(255,255,255,0.1);
}

/* ========== PAGE CONTENT ========== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0f3460 100%);
  color: white;
  padding: 56px 20px 40px;
}

.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.breadcrumb {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: white; }
.breadcrumb span { color: rgba(255,255,255,0.4); }

.page-hero h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}

.page-hero .hero-rating {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stars { color: #ffd700; letter-spacing: 2px; }

.page-hero-cta {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* Content layout with sidebar */
.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 20px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

.content-main { min-width: 0; }

/* Sidebar */
.sidebar-card {
  background: white;
  border-radius: 10px;
  padding: 28px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--orange);
  margin-bottom: 24px;
  position: sticky;
  top: 90px;
}

.sidebar-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-top: 0;
  margin-bottom: 20px;
}

.sidebar-card select,
.sidebar-card input,
.sidebar-card textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-bottom: 10px;
  font-family: inherit;
}

.sidebar-card select:focus,
.sidebar-card input:focus,
.sidebar-card textarea:focus {
  outline: none;
  border-color: var(--orange);
}

.sidebar-card .btn-submit {
  width: 100%;
  background: var(--orange);
  color: white;
  border: none;
  padding: 12px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
}

.sidebar-card .btn-submit:hover { background: var(--orange-dark); }

.sidebar-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 16px;
  justify-content: center;
}

.sidebar-phone a { color: var(--navy); }
.sidebar-phone a:hover { color: var(--orange); }

/* Info box */
.info-box {
  background: #e8f4fd;
  border-left: 4px solid #2196f3;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 24px 0;
}

.info-box strong { color: #1565c0; }

/* ========== BLOG ========== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.blog-card:hover { transform: translateY(-4px); }

.blog-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--navy), #0f3460);
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body {
  padding: 20px;
}

.blog-meta {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 8px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.tag {
  background: #fff3ec;
  color: var(--orange);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 600;
}

.blog-card-body h3 {
  margin-top: 0;
  font-size: 1.05rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card-body h3 a { color: var(--navy); }
.blog-card-body h3 a:hover { color: var(--orange); }

.blog-card-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

/* Blog single */
.blog-single {
  max-width: 800px;
  margin: 0 auto;
  padding: 56px 20px;
}

.blog-single h1 {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 16px;
}

.blog-single .post-meta {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.blog-single .post-cover {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 32px;
}

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-form-card {
  background: white;
  border-radius: 10px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.contact-form-card h2 {
  margin-top: 0;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232,93,4,0.12);
}

.form-group textarea { min-height: 120px; resize: vertical; }

.form-submit {
  background: var(--orange);
  color: white;
  border: none;
  width: 100%;
  padding: 14px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
}

.form-submit:hover { background: var(--orange-dark); }

.contact-info h2 {
  margin-top: 0;
  font-size: 1.5rem;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: #fff3ec;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-text strong {
  display: block;
  color: var(--navy);
  margin-bottom: 4px;
}

.zone-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.zone-tag {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ========== FOOTER ========== */
footer.site-footer {
  background: var(--navy);
  color: #aaa;
  padding: 56px 20px 0;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-col h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col p { font-size: 0.9rem; line-height: 1.6; margin-bottom: 12px; }

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #aaa;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--orange); }

.footer-logo { margin-bottom: 16px; }
.footer-logo img { height: 40px; filter: brightness(1.2); }

.footer-certifs {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.footer-certifs img {
  height: 40px;
  filter: grayscale(100%) brightness(1.5);
  opacity: 0.6;
  transition: all var(--transition);
}

.footer-certifs img:hover { opacity: 1; filter: none; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
  color: #666;
}

.footer-bottom a { color: #888; }
.footer-bottom a:hover { color: var(--orange); }

/* ========== MOBILE MENU ========== */
.mobile-menu {
  display: none;
  background: var(--navy-light);
  padding: 0;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.mobile-menu.open { max-height: 600px; }

.mobile-menu ul {
  list-style: none;
  padding: 12px 0;
}

.mobile-menu ul li a {
  display: block;
  color: #ddd;
  padding: 12px 24px;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: all var(--transition);
}

.mobile-menu ul li a:hover { background: rgba(255,255,255,0.05); color: white; }
.mobile-menu ul .submenu-items li a { padding-left: 40px; font-size: 0.9rem; color: #bbb; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-form { max-width: 480px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .content-wrapper { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  nav.main-nav, .header-cta { display: none; }
  .hamburger { display: block; }
  .mobile-menu { display: block; }
  .hero-text h1 { font-size: 1.8rem; }
  .grid-2 { grid-template-columns: 1fr; }
  .section { padding: 48px 16px; }
  .section-title { font-size: 1.6rem; }
}

@media (max-width: 480px) {
  .grid-3, .blog-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 16px 40px; }
  .page-hero h1 { font-size: 1.6rem; }
}

/* ========== UTILITIES ========== */
.text-center { text-align: center; }
.text-orange { color: var(--orange); }
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }
.highlight { background: #fff3ec; border-radius: var(--radius); padding: 20px 24px; border-left: 4px solid var(--orange); margin: 24px 0; }
.highlight strong { color: var(--orange); display: block; margin-bottom: 4px; }
