/* ===== Parlons Carrière — Style Principal ===== */
/* Palette: Terracotta / Earthy Warm Tones */
:root {
  --primary: #C2613A;       /* Terracotta */
  --primary-dark: #9E4A2A;
  --primary-light: #E8926F;
  --secondary: #2D3A3A;     /* Dark teal-charcoal */
  --secondary-light: #3D4F4F;
  --accent: #D4A96A;        /* Warm gold */
  --accent-light: #F0D9A8;
  --bg: #FAF6F1;            /* Warm off-white */
  --bg-alt: #F0EAE0;
  --text: #2D2A26;
  --text-light: #6B6560;
  --text-muted: #9A938B;
  --white: #FFFFFF;
  --shadow: 0 4px 24px rgba(45,42,38,0.10);
  --shadow-lg: 0 12px 48px rgba(45,42,38,0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --max-width: 1200px;
  --header-h: 80px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Segoe UI', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
ul, ol { list-style: none; }

.container { width: 92%; max-width: var(--max-width); margin: 0 auto; }

/* ===== HEADER ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(45,58,58,0.97);
  backdrop-filter: blur(12px);
  height: var(--header-h);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.2); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); max-width: var(--max-width);
  width: 92%; margin: 0 auto;
}
.logo-link { display: flex; align-items: center; gap: 10px; }
.logo-link img { height: 42px; width: auto; }
.logo-text {
  font-size: 1.25rem; font-weight: 700; color: var(--white);
  letter-spacing: -0.02em;
}

/* Nav */
.main-nav ul { display: flex; gap: 6px; align-items: center; }
.main-nav a {
  color: rgba(255,255,255,0.85); padding: 8px 16px;
  border-radius: var(--radius-sm); font-size: 0.92rem; font-weight: 500;
  transition: all var(--transition);
}
.main-nav a:hover, .main-nav a.active {
  color: var(--white); background: rgba(194,97,58,0.25);
}
.nav-cta {
  background: var(--primary) !important; color: var(--white) !important;
  padding: 10px 22px !important; border-radius: 50px !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--primary-dark) !important; transform: translateY(-1px); }

/* Burger */
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.burger span { width: 26px; height: 2.5px; background: var(--white); border-radius: 2px; transition: var(--transition); }
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  justify-content: center; text-align: center; margin-top: var(--header-h);
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(45,58,58,0.88) 0%, rgba(45,42,38,0.82) 100%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 800px; padding: 40px 20px; }
.hero-badge {
  display: inline-block; background: rgba(194,97,58,0.2); border: 1px solid rgba(194,97,58,0.4);
  color: var(--primary-light); padding: 6px 20px; border-radius: 50px;
  font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem); color: var(--white);
  font-weight: 800; line-height: 1.15; margin-bottom: 20px;
  letter-spacing: -0.03em;
}
.hero h1 span { color: var(--primary-light); }
.hero p { color: rgba(255,255,255,0.8); font-size: 1.15rem; line-height: 1.7; margin-bottom: 36px; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px; font-weight: 600;
  font-size: 0.95rem; transition: all var(--transition);
  cursor: pointer; border: none; text-decoration: none;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: var(--white); color: var(--white); transform: translateY(-2px); }
.btn-secondary { background: var(--secondary); color: var(--white); }
.btn-secondary:hover { background: var(--secondary-light); color: var(--white); transform: translateY(-2px); }
.btn-sm { padding: 10px 22px; font-size: 0.88rem; }

/* ===== SECTIONS ===== */
section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--secondary); color: var(--white); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.section-header .overline {
  display: inline-block; color: var(--primary); font-size: 0.85rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800;
  line-height: 1.2; margin-bottom: 16px; letter-spacing: -0.02em;
}
.section-dark .section-header h2 { color: var(--white); }
.section-header p { color: var(--text-light); font-size: 1.05rem; }
.section-dark .section-header p { color: rgba(255,255,255,0.7); }

/* ===== GRID LAYOUTS ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

/* ===== CARDS ===== */
.card {
  background: var(--white); border-radius: var(--radius); padding: 36px;
  box-shadow: var(--shadow); transition: all var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 56px; height: 56px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 1.5rem; color: var(--white);
}
.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; }
.card p { color: var(--text-light); font-size: 0.95rem; line-height: 1.7; }

/* Stats card */
.stat-card { text-align: center; padding: 32px 20px; }
.stat-card .stat-number {
  font-size: 2.8rem; font-weight: 800; color: var(--primary);
  line-height: 1; margin-bottom: 8px;
}
.stat-card .stat-label { color: var(--text-light); font-size: 0.9rem; font-weight: 500; }

/* ===== CONTENT BLOCKS ===== */
.content-block { padding: 40px 0; }
.content-block h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: 16px; }
.content-block h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 12px; color: var(--primary-dark); }
.content-block p { margin-bottom: 16px; color: var(--text); line-height: 1.8; }
.content-block ul, .content-block ol { margin: 16px 0; padding-left: 24px; }
.content-block li { margin-bottom: 8px; line-height: 1.7; color: var(--text); list-style: disc; }
.content-block ol li { list-style: decimal; }

/* Image + text split */
.split-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split-img img { width: 100%; height: 100%; object-fit: cover; }

/* ===== BANNER / CTA ===== */
.cta-banner {
  position: relative; padding: 80px 0; text-align: center;
  background-size: cover; background-position: center;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(194,97,58,0.92) 0%, rgba(158,74,42,0.88) 100%);
}
.cta-banner .container { position: relative; z-index: 2; }
.cta-banner h2 { color: var(--white); font-size: clamp(1.6rem,3vw,2.4rem); font-weight: 800; margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ===== BLOG LIST ===== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 32px; }
.blog-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: all var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card-img {
  height: 220px; overflow: hidden;
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 28px; }
.blog-card-meta { display: flex; gap: 16px; margin-bottom: 12px; }
.blog-card-meta span { font-size: 0.82rem; color: var(--text-muted); font-weight: 500; }
.blog-card-body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.blog-card-body h3 a { color: var(--text); }
.blog-card-body h3 a:hover { color: var(--primary); }
.blog-card-body p { color: var(--text-light); font-size: 0.92rem; line-height: 1.6; }
.read-more {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary); font-weight: 600; font-size: 0.9rem; margin-top: 14px;
}
.read-more:hover { gap: 10px; }

/* ===== BLOG ARTICLE ===== */
.article-hero {
  position: relative; min-height: 50vh; display: flex; align-items: flex-end;
  background-size: cover; background-position: center; margin-top: var(--header-h);
}
.article-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(45,42,38,0.92) 0%, rgba(45,58,58,0.5) 100%);
}
.article-hero .container { position: relative; z-index: 2; padding: 60px 0 40px; }
.article-hero h1 {
  color: var(--white); font-size: clamp(1.6rem,3.5vw,2.6rem);
  font-weight: 800; max-width: 800px; line-height: 1.25;
}
.article-meta { display: flex; gap: 20px; margin-top: 16px; }
.article-meta span { color: rgba(255,255,255,0.7); font-size: 0.88rem; }

.article-content {
  max-width: 800px; margin: 0 auto; padding: 60px 20px;
}
.article-content h2 { font-size: 1.5rem; font-weight: 700; margin: 36px 0 16px; color: var(--secondary); }
.article-content h3 { font-size: 1.2rem; font-weight: 600; margin: 28px 0 12px; color: var(--primary-dark); }
.article-content p { margin-bottom: 18px; line-height: 1.85; font-size: 1.02rem; }
.article-content ul, .article-content ol { margin: 16px 0; padding-left: 28px; }
.article-content li { margin-bottom: 10px; line-height: 1.7; list-style: disc; }
.article-content ol li { list-style: decimal; }
.article-content blockquote {
  border-left: 4px solid var(--primary); padding: 16px 24px; margin: 24px 0;
  background: var(--bg-alt); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic; color: var(--text-light);
}
.article-content .article-img {
  margin: 32px 0; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}
.article-content .article-img img { width: 100%; }

/* ===== CONTACT FORM ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-weight: 600; margin-bottom: 6px;
  font-size: 0.92rem; color: var(--text);
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 14px 18px; border: 2px solid var(--bg-alt);
  border-radius: var(--radius-sm); font-size: 0.95rem;
  font-family: inherit; transition: border-color var(--transition);
  background: var(--white);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--primary);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.contact-info-card {
  background: var(--secondary); color: var(--white); padding: 40px;
  border-radius: var(--radius);
}
.contact-info-card h3 { font-size: 1.3rem; margin-bottom: 24px; }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 24px; align-items: flex-start; }
.contact-info-item .ci-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(194,97,58,0.2); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; font-size: 1.1rem;
}
.contact-info-item .ci-text h4 { font-size: 0.95rem; margin-bottom: 4px; }
.contact-info-item .ci-text p { color: rgba(255,255,255,0.7); font-size: 0.9rem; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--secondary); color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { font-size: 0.92rem; margin-top: 16px; line-height: 1.7; }
.footer-col h4 {
  color: var(--white); font-size: 0.95rem; font-weight: 700;
  margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.05em;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-col ul a:hover { color: var(--primary-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0; text-align: center; font-size: 0.85rem;
}
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--primary-light); }

/* ===== PAGE HEADER (inner pages) ===== */
.page-header {
  background: var(--secondary); padding: 120px 0 60px; text-align: center;
  margin-top: var(--header-h);
  position: relative;
}
.page-header::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 60px; background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-header h1 { color: var(--white); font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 800; margin-bottom: 12px; }
.page-header p { color: rgba(255,255,255,0.7); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.breadcrumb { display: flex; gap: 8px; justify-content: center; margin-bottom: 20px; font-size: 0.88rem; }
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb span { color: rgba(255,255,255,0.4); }

/* ===== ACCORDION / FAQ ===== */
.faq-item {
  background: var(--white); border-radius: var(--radius-sm);
  margin-bottom: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.04);
}
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; cursor: pointer; font-weight: 600; font-size: 1rem;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--primary); }
.faq-question .faq-icon { font-size: 1.3rem; transition: transform var(--transition); color: var(--primary); }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 24px; max-height: 0; overflow: hidden; transition: all 0.4s ease; }
.faq-item.active .faq-answer { max-height: 500px; padding-bottom: 20px; }
.faq-answer p { color: var(--text-light); line-height: 1.7; font-size: 0.95rem; }

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  background: var(--white); border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow); position: relative;
}
.testimonial-card::before {
  content: '\201C'; font-size: 4rem; color: var(--primary-light);
  position: absolute; top: 12px; left: 24px; line-height: 1; opacity: 0.3;
}
.testimonial-card p { font-style: italic; color: var(--text-light); line-height: 1.7; margin-bottom: 20px; padding-top: 16px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author .ta-info h4 { font-size: 0.95rem; font-weight: 700; }
.testimonial-author .ta-info span { font-size: 0.82rem; color: var(--text-muted); }

/* ===== PROCESS STEPS ===== */
.steps { counter-reset: step; }
.step-item {
  display: flex; gap: 24px; margin-bottom: 40px; align-items: flex-start;
}
.step-number {
  counter-increment: step; width: 56px; height: 56px; flex-shrink: 0;
  border-radius: 50%; background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 800;
}
.step-content h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.step-content p { color: var(--text-light); font-size: 0.95rem; }

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right { opacity: 0; transform: translateX(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

/* ===== PLAN DU SITE ===== */
.sitemap-list { max-width: 700px; margin: 0 auto; }
.sitemap-list h3 { font-size: 1.15rem; font-weight: 700; margin: 28px 0 12px; color: var(--primary-dark); }
.sitemap-list ul { padding-left: 20px; }
.sitemap-list li { margin-bottom: 10px; list-style: disc; }
.sitemap-list a { font-weight: 500; }

/* ===== TABLE ===== */
.table-wrapper { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; margin: 24px 0; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--bg-alt); }
th { background: var(--secondary); color: var(--white); font-weight: 600; font-size: 0.92rem; }
td { font-size: 0.95rem; }
tr:hover td { background: var(--bg-alt); }

/* ===== 404 ===== */
.page-404 { text-align: center; padding: 160px 20px 120px; margin-top: var(--header-h); }
.page-404 h1 { font-size: 8rem; font-weight: 900; color: var(--primary); line-height: 1; }
.page-404 h2 { font-size: 1.8rem; margin: 16px 0; }
.page-404 p { color: var(--text-light); margin-bottom: 32px; }

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

@media (max-width: 768px) {
  .burger { display: flex; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: var(--secondary); padding: 20px;
    transform: translateY(-100%); opacity: 0; pointer-events: none;
    transition: all var(--transition); z-index: 999;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { display: block; padding: 12px 16px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: 80vh; }
  section { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .page-header { padding: 100px 0 50px; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.9rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
}
