/* ---------------------------
   Variables / Couleurs
--------------------------- */
:root {
    --primary-color: #A7B591;
    --secondary-color: #1F3A56;
    --accent-color: #1F3A56; /* bleu foncé */
    --text-color: #1F1F1F;
    --bg-color: #F2F3F4;

    --font-family: "Inter", sans-serif;
    --font-weight: 400;
    --font-size: 0.9rem;

    --header-font: "Playfair Display", serif;
    --header-font-weight: 600;
}

/* ---------------------------
   Reset / Base
--------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
  margin: 0;
  overflow-x: hidden;
}
body {
    font-family: var(--font-family);
    font-weight: var(--font-weight);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

.spacer {
    height: var(--header-height);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s;
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

/* Navbar fixed-top décalée sous la barre de contact */
.navbar.fixed-top {
    z-index: 1020; /* juste en dessous de la barre de contact */
}
/* Navbar Premium */
.premium-navbar {
  background-color: var(--primary-color);
  font-family: var(--header-font);
  transition: background-color 0.3s ease;
}

/* Brand */
.premium-navbar .navbar-brand {
  font-family: var(--header-font);
  font-weight: var(--header-font-weight);
  font-size: 1.6rem;
  color: var(--accent-color)
}
/* ---------------------------
   Nav links - effet premium
----------------------------*/
.premium-navbar .nav-link {
    position: relative;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

/* Soulignement invisible au départ */
.premium-navbar .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;                       /* épaisseur du trait */
    width: 0;
    background-color: var(--accent-color); /* couleur du trait */
    transition: width 0.3s ease;
}

/* Survol : le trait s’étend */
.premium-navbar .nav-link:hover::after {
    width: 100%;
}

/* Optionnel : changement léger de couleur du texte au survol */
.premium-navbar .nav-link:hover {
    color: #fff;
}

/* Mobile / collapsed menu */
@media (max-width: 992px) {

.practice-grid {
    padding: 10px 25px;
}

    .premium-navbar .nav-link::after {
        display: none; /* désactiver soulignement animé sur mobile pour lisibilité */
    }
    .premium-navbar .nav-link:hover {
        color: var(--accent-color);
    }
}


/* Hamburger icon */
.navbar-toggler i {
  color: var(--accent-color);
  font-size: 1.2rem;
}



/* ---------------------------
   Responsive
--------------------------- */
@media (max-width: 992px) {
    .premium-navbar .nav-link {
        text-align: center;
    }
    .navbar-collapse.show .nav-link {
        color: var(--accent-color);
    }
    /* Collapsed menu background (mobile) */
    .navbar-collapse.show {
      background-color: var(--primary-color);
    }
}



@media (max-width: 768px) {

    .profile-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .profile-photo img {
        margin: 0 auto;
    }

    .profile-text h2 {
        font-size: 1.8rem;
    }
}



/* ---------------------------
   Hero Section
--------------------------- */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin: 0 !important;
    height: calc(100vh - var(--header-height)) !important;
    padding: 0 !important;
    min-height: unset;
}

h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    font-family: var(--header-font);
    font-weight: var(--header-font-weight);
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-family: var(--header-font);
    font-weight: var(--header-font-weight);
}

.hero .btn, .hero .link {
    display: inline-block;
    margin: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s;
}

.hero .btn:hover, .hero .link:hover {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* ---------------------------
   Sections
--------------------------- */
section {
    padding-top: calc(var(--header-height) + 70px) !important;
    min-height: 100vh;
}

/* ---------------------------
   Profile Section / Votre Avocat
--------------------------- */
.profile-section {
    background-color: #fff;
}

.profile-grid {
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: center;
}

.profile-photo img {
    width: 100%;
    max-width: 300px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-photo img:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.profile-text h2 {
    font-family: var(--header-font);
    font-weight: var(--header-font-weight);
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.profile-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 15px;
}


.practice-areas-section {
  background: #fafafa;
}

.section-title {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.section-intro {
  text-align: center;
  font-size: 1.1rem;
  color: #555;
  background: #fafafa;
}

hr {
    background-color: var(--accent-color);
    border: none !important;
    height: 2px;
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;

    padding: 10px 200px;
}

.practice-card {
  background: white;
  padding: 10px 25px;
  border-radius: 12px;
  border: 1px solid #e6e6e6;
  text-align: center;
  transition: all 0.3s ease;
}

.practice-card:hover {
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
  transform: translateY(-5px);
}

.practice-card .icon {
  font-size: 38px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.practice-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #222;
}

.practice-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}


/* ---------------------------
   Values Section
--------------------------- */
.values-section {
    padding: 80px 0;
    text-align: center;
}

.values-section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-family: var(--header-font);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(max(250px, 50% - 20px), 1fr));
    gap: 40px;
}

.value-item {
    border:none;
    background: #fff;
    padding: 30px 20px;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.value-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-family: var(--header-font);
    text-decoration: underline;
    text-decoration-color: var(--accent-color);
    text-decoration-thickness: 2px;
}

.value-item p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* ---------------------------
   Team Section
--------------------------- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-member img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* ---------------------------
   Footer
--------------------------- */
.site-footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: var(--font-size);
}

/* ---------------------------
   Animations / Animate.css fallback
--------------------------- */
.animate__animated {
    opacity: 0;
}

.animate__animated.animate__visible {
    opacity: 1;
}

.animate__fadeInDown {
    animation: fadeInDown 1s forwards;
}

.animate__fadeInUp {
    animation: fadeInUp 1s forwards;
}

.animate__zoomIn {
    animation: zoomIn 1s forwards;
}

.animate__flipInX {
    animation: flipInX 1s forwards;
}

/* Keyframes */
@keyframes fadeInDown {
    0% { opacity: 0; transform: translateY(-50px);}
    100% { opacity: 1; transform: translateY(0);}
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(50px);}
    100% { opacity: 1; transform: translateY(0);}
}

@keyframes zoomIn {
    0% { opacity: 0; transform: scale(0.5);}
    100% { opacity: 1; transform: scale(1);}
}

@keyframes flipInX {
    0% { transform: rotateX(90deg); opacity: 0;}
    100% { transform: rotateX(0deg); opacity: 1;}
}

/* ---------------------------
   Buttons Premium
--------------------------- */
.btn, .cta-primary {
    font-family: var(--header-font) !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent-color) !important;
    background-color: var(--primary-color) !important;
    margin: 5px;
    padding: 5px;
}

.btn:hover, .cta-primary:hover {
    cursor: pointer;
}

/* ---------------------------
   Contact Section
--------------------------- */
#contact {
    padding-top: calc(var(--header-height) + 10px) !important;
    background: #fafafa;
  padding-left: 1rem;
  padding-right: 1rem;
}

#contact h1 {
    font-family: var(--header-font);
    font-weight: var(--header-font-weight);
    font-size: 2.2rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#contact form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

#contact input,
#contact textarea {
    padding: 5px 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: var(--font-family);
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

#contact input:focus,
#contact textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(11,31,51,0.2);
    outline: none;
}

#contact button {
    padding: 15px 25px;
    font-family: var(--header-font);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 8px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

#contact button:hover {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Alert messages */
#contact .alert {
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    text-align: center;
}

#contact .alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#contact .alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Fee Section */
.fees-section {
  background-color: #fafafa;
  text-align: center;
  padding-left: 1rem;
  padding-right: 1rem;
}

.fees-section h2 {
  font-family: var(--header-font);
  font-weight: var(--header-font-weight);
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.fees-section .intro {
  font-size: 1.1rem;
  color: #555;
  max-width: 800px;
  margin: 0 auto 50px;
}

.fee‑cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.fee-card {
  background-color: #f9f9f9;
  padding: 30px 25px;
  border-radius: 12px;
  border: 1px solid #e6e6e6;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fee-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.fee-card h3 {
  font-family: var(--header-font);
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.fee-card p {
  font-size: 1rem;
  color: var(--text-color);
  line-height: 1.6;
}

.fees-section .note {
  margin-top: 50px;
  font-size: 0.95rem;
  color: #777;
}
.citation {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 600px;
  z-index: 2;
  font-size: 0.7rem;
  text-align: center;
  color: var(--accent-color);
}


@media (max-width: 768px) {

.citation {
    bottom: 5%;
}
.contact-section form .form-group,
  .contact-section form .mb-3 {
    margin-bottom: 0.75rem !important; /* Au lieu de 1rem par défaut */
  }

  /* Si vous utilisez crispy forms avec Bootstrap */
  .contact-section form .form-group label,
  .contact-section form .mb-3 label {
    margin-bottom: 0.25rem !important;
  }

  /* Réduire le padding des inputs */
  .contact-section form input,
  .contact-section form textarea,
  .contact-section form select {
    padding-top: 0  !important;
  }
}

/* ---------------------------
   Honoraires Section (adapté à ta charte)
--------------------------- */

.honoraires-section {
    background-color: #fff;
    padding: 80px 20px;
}

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

.honoraires-title {
    font-family: var(--header-font);
    font-weight: var(--header-font-weight);
    font-size: 2.4rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.honoraires-subtitle {
    font-family: var(--header-font);
    font-size: 1.4rem;
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 40px;
}

.honoraires-container p {
    font-family: var(--font-family);
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-color);
    margin-bottom: 20px;
}

.honoraires-heading {
    font-family: var(--header-font);
    font-size: 1.6rem;
    margin-top: 50px;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Liste des étapes premium */
.honoraires-steps {
    counter-reset: step;
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.honoraires-steps li {
    position: relative;
    padding-left: 60px;
    margin-bottom: 35px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
}

/* Numéro rond doré */
.honoraires-steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 42px;
    height: 42px;
    background: var(--accent-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--header-font);
    font-size: 1rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.honoraires-outro {
    margin-top: 40px;
    font-size: 1.05rem;
    color: #444;
}

/* Responsive */
@media (max-width: 768px) {

    .practice-grid {
        padding: 10px 25px;
    }
    .honoraires-title {
        font-size: 2rem;
    }

    .honoraires-steps li {
        padding-left: 50px;
    }

    .honoraires-steps li::before {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }
}

/* ---------------------------
   FAQ Page — Style Premium
--------------------------- */

.faq-section {
    margin-left: 3rem !important;
    min-height: calc(100vh - var(--header-height) - var(--footer-height)) !important;
    padding: 20px 0 0 0 !important;
}

/* Titre principal */
.faq-section h1 {
    font-family: var(--header-font);
    font-weight: var(--header-font-weight);
    font-size: 2.4rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    }

/* Conteneur des FAQ */
.faq-list {
    margin-top: 30px;
}

/* Questions */
.faq-list dt {
    font-family: var(--header-font);
    font-size: 1.3rem;
    margin-top: 35px;
    color: var(--primary-color);
    position: relative;
    padding-left: 30px;
    cursor: pointer;
}

/* Réponses */
.faq-list dd {
    font-family: var(--font-family);
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-color);
    margin: 10px 0 20px 30px;
    max-width: 700px;
}

/* Ligne séparatrice élégante */
.faq-list dd:not(:last-of-type) {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

/* Effet accordéon simple (optionnel mais premium) */
.faq-list dd {
    display: none;
}

.faq-list dt.active + dd {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-section h1 {
        font-size: 2.2rem;
    }

    .faq-list dt {
        font-size: 1.15rem;
    }

    .faq-list dd {
        font-size: 1rem;
    }
 .faq-section {
        margin-left: 0 !important;
        max-width: 100% !important;
        height: auto !important;              /* La section n'est plus contrainte en hauteur */
        padding: 15px !important;
    }
}

/* Section Infos pratiques */
.cabinet-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    min-height: 60vh;
    height: calc(100vh - var(--header-height));
    justify-content: flex-start;  /* TITRE EN HAUT */
}


/* Titre */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    font-family: var(--header-font);
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Conteneur des 2 colonnes */
.cabinet-row {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    gap: 40px;
    flex-wrap: nowrap;        /* Garde les colonnes côte à côte */
    width: 100%;
    max-width: 1100px;
}

/* Colonne Infos */
.cabinet-info {
    flex: 1;
    min-width: 280px;
}

.cabinet-info ul {
    list-style: none;
    padding-left: 20px;
    line-height: 1.8;
    font-size: 1.05rem;
    color: var(--text-color);
}

.cabinet-info strong {
    color: var(--primary-color);
    font-weight: 600;
}

.cabinet-info a {
    color: var(--secondary-color);
    font-weight: 600;
}

.cabinet-info a:hover {
    color: var(--accent-color);
}

/* Colonne Carte Google */
.cabinet-map {
    flex: 1;
    min-width: 280px;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
}

.cabinet-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .cabinet-section {
        padding: 60px 15px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .cabinet-row {
        flex-direction: column;   /* Passe l’un sous l’autre sur mobile */
        gap: 25px;
    }

    .cabinet-map {
        height: 250px;
    }
    .hero
    {
        align-items: unset;
        padding-top: 50px !important;
    }

    .citation {
        bottom: 20%;
    }
}
}

