html {
    scroll-behavior: smooth;
}

[id] {
    scroll-margin-top: 20px;
}

/* Variables */
:root {
    --color-accent: #ffd712;
    --color-accent-hover: #e6c200;
    --color-purple: #452675;
    --color-cream: #faf0e2;
    --color-dark: #000;
    --color-text: #333;
    --color-muted: #666;
    --color-border: #e0e0e0;
    --max-width: 90%;
    --nav-height: 80px;
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    width: 100%;
    margin: 0;
    padding: 0;
    padding-bottom: 0;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    background: var(--color-accent);
    color: var(--color-text);
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    z-index: 10000;
    text-decoration: none;
}

.skip-link:focus {
    top: 16px;
}

.icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn-primary,
.contact-button,
.hero-button,
.presentation-button,
.obseques-button,
.chambre-funeraire-button,
.marbrerie-button,
.cremation-button {
    display: inline-block;
    background-color: var(--color-accent);
    border: 2px solid var(--color-accent);
    border-radius: 8px;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--color-text);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    font-family: inherit;
}

.contact-button {
    padding: 12px 24px;
    font-size: 16px;
}

.btn-primary:hover,
.contact-button:hover,
.hero-button:hover,
.presentation-button:hover,
.obseques-button:hover,
.chambre-funeraire-button:hover,
.marbrerie-button:hover,
.cremation-button:hover {
    background-color: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    transform: translateY(-2px);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

/* Bandeau supérieur */
.top-banner {
    background-color: var(--color-cream);
    width: 100%;
    padding: 18px 0;
    border-bottom: 1px solid #e0d0b0;
    margin: 0 auto;
}

.banner-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    flex-wrap: nowrap;
    gap: 20px;
}

.banner-group {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.banner-group--contact .email-icon {
    color: #666;
    flex-shrink: 0;
}

.banner-group--phone {
    align-items: center;
}

.banner-group--phone .phone-icon {
    color: #666;
    flex-shrink: 0;
}

.phone-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}

.phone-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.banner-divider {
    display: none;
}

.email-text {
    color: var(--color-text);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
}

.email-text:hover {
    text-decoration: underline;
}

.contact-button {
    white-space: nowrap;
    padding: 12px 24px;
    font-size: 16px;
    box-shadow: none;
}

.phone-number {
    color: var(--color-text);
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.2;
}

.phone-number:hover {
    text-decoration: underline;
}

.emergency-text {
    color: #666;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
}

/* Navigation principale */
.main-navigation {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 25px 0;
    margin: 0 auto;
    box-shadow: none;
}

.nav-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    gap: 24px;
}

.company-info {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.company-name {
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-text);
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
}

.company-location {
    font-size: 1.1rem;
    color: #666;
    margin: 5px 0 0 0;
    font-weight: normal;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    padding: 8px 0;
    white-space: nowrap;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #666;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ffd712;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

@media (min-width: 1101px) and (max-width: 1320px) {
    .nav-link {
        font-size: 0.9rem;
    }

    .nav-menu {
        gap: 18px;
    }

    .company-name {
        font-size: 1.7rem;
    }
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle-bar {
    display: block;
    width: 26px;
    height: 3px;
    background-color: var(--color-text);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

/* Section héro */
.hero-section {
    background-color: #000;
    margin: 0;
    padding: 0;
    border-bottom: none;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: -1px;
}

.hero-content {
    display: flex;
    height: 600px;
    max-width: 100%;
    margin: 0;
    width: 100%;
}

.hero-left {
    flex: 1;
    background-color: #000;
    padding: 60px 80px 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    height: 100%;
    max-width: 50%;
}

.hero-title {
    font-size: 29px;
    font-weight: bold;
    color: white;
    margin: 0 0 10px 0;
    text-align: left;
}

.hero-location {
    font-size: 15px;
    color: #ccc;
    margin: 0 0 20px 0;
    font-weight: normal;
    text-align: left;
}

.hero-divider {
    width: 60px;
    height: 2px;
    background-color: #ccc;
    margin: 0 0 30px 0;
}

.hero-description {
    font-size: 1.1rem;
    color: white;
    line-height: 1.6;
    margin: 0 0 40px 0;
    text-align: left;
}

.hero-button {
    align-self: flex-start;
}

.hero-right {
    flex: 1;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    height: 100%;
    max-width: 50%;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
    transition: opacity 0.3s ease;
}

.hero-video::-webkit-media-controls {
    display: none !important;
}

.hero-video::-webkit-media-controls-panel {
    display: none !important;
}

.hero-video::-webkit-media-controls-play-button {
    display: none !important;
}

.hero-video::-webkit-media-controls-timeline {
    display: none !important;
}

.hero-video::-webkit-media-controls-current-time-display {
    display: none !important;
}

.hero-video::-webkit-media-controls-time-remaining-display {
    display: none !important;
}

.hero-video::-webkit-media-controls-mute-button {
    display: none !important;
}

.hero-video::-webkit-media-controls-volume-slider {
    display: none !important;
}

.hero-poster-fallback {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reduced-motion .hero-video {
    display: none;
}

.reduced-motion .hero-poster-fallback {
    display: block;
}

/* Contrôles au survol */
.hero-right:hover .hero-video::-webkit-media-controls {
    display: block !important;
}

.hero-right:hover .hero-video::-webkit-media-controls-panel {
    display: block !important;
}

/* Section services */
.services-section {
    background-color: #452675;
    padding: 60px 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-bottom: 0;
}

.services-content {
    max-width: 90%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: nowrap;
}

.service-button {
    background-color: transparent;
    border: 2px solid #ffd712;
    border-radius: 12px;
    padding: 25px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
    flex: 1;
    min-width: 0;
}

.service-button:hover {
    background-color: rgba(255, 215, 18, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 18, 0.3);
}


.service-text .service-label {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    flex: 1;
}

.service-arrow {
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.service-arrow svg {
    width: 100%;
    height: 100%;
}

.service-button:hover .service-arrow {
    transform: translateX(5px);
}

/* Section présentation */
.presentation-section {
    background-color: #000;
    margin: 0;
    padding: 0;
    border-bottom: none;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 0;
}

.presentation-content {
    display: flex;
    height: 600px;
    max-width: 100%;
    margin: 0;
    width: 100%;
}

.presentation-left {
    flex: 1;
    background-color: #000;
    padding: 60px 80px 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    height: 100%;
    max-width: 50%;
}

.presentation-title {
    font-size: 29px;
    font-weight: bold;
    color: white;
    margin: 0 0 10px 0;
    text-align: left;
}

.presentation-location {
    font-size: 15px;
    color: #ccc;
    margin: 0 0 20px 0;
    font-weight: normal;
    text-align: left;
}

.presentation-divider {
    width: 60px;
    height: 2px;
    background-color: #ccc;
    margin: 0 0 30px 0;
}

.presentation-description {
    font-size: 1.1rem;
    color: white;
    line-height: 1.6;
    margin: 0 0 20px 0;
    text-align: left;
}

.presentation-availability {
    font-size: 1.1rem;
    color: #ffd712;
    line-height: 1.6;
    margin: 0 0 40px 0;
    text-align: left;
    font-weight: 600;
}

.presentation-button {
    align-self: flex-start;
}

.presentation-right {
    flex: 1;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    height: 100%;
    max-width: 50%;
}

.presentation-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}

/* Section obsèques */
.obseques-section {
    background-color: #000;
    margin: 0;
    padding: 0;
    border-bottom: none;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 0;
}

.obseques-content {
    display: flex;
    height: 900px;
    max-width: 100%;
    margin: 0;
    width: 100%;
}

.obseques-left {
    flex: 1;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    height: 100%;
    max-width: 50%;
}

.obseques-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}

.obseques-right {
    flex: 1;
    background-color: #000;
    padding: 60px 40px 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
    height: 100%;
    max-width: 50%;
}

.obseques-title {
    font-size: 29px;
    font-weight: bold;
    color: white;
    margin: 0 0 8px 0;
    text-align: left;
}

.obseques-location {
    font-size: 15px;
    color: #ccc;
    margin: 0 0 15px 0;
    font-weight: normal;
    text-align: left;
}

.obseques-divider {
    width: 60px;
    height: 2px;
    background-color: #ccc;
    margin: 0 0 20px 0;
}

.obseques-description {
    font-size: 1.1rem;
    color: white;
    line-height: 1.6;
    margin: 0 0 20px 0;
    text-align: left;
}

.obseques-services {
    margin: 0 0 20px 0;
    flex: 1;
}

.obseques-services h4 {
    font-size: 1.2rem;
    color: #ffd712;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.obseques-services ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.obseques-services li {
    font-size: 1rem;
    color: white;
    line-height: 1.5;
    margin: 0 0 12px 0;
    padding-left: 20px;
    position: relative;
}

.obseques-services li::before {
    content: "•";
    color: #ffd712;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.obseques-services strong {
    color: #ffd712;
    font-weight: 600;
}

.obseques-availability {
    font-size: 1.1rem;
    color: #ffd712;
    line-height: 1.6;
    margin: 0 0 40px 0;
    text-align: left;
    font-weight: 600;
}

.obseques-button {
    align-self: flex-start;
}

/* Section chambre funéraire */
.chambre-funeraire-section {
    background-color: #000;
    margin: 0;
    padding: 0;
    border-bottom: none;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 0;
}

.chambre-funeraire-content {
    display: flex;
    height: 900px;
    max-width: 100%;
    margin: 0;
    width: 100%;
}

.chambre-funeraire-left {
    flex: 1;
    background-color: #000;
    padding: 60px 80px 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
    height: 100%;
    max-width: 50%;
}

.chambre-funeraire-right {
    flex: 1;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    height: 100%;
    max-width: 50%;
}

.chambre-funeraire-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}

.chambre-funeraire-title {
    font-size: 29px;
    font-weight: bold;
    color: white;
    margin: 0 0 8px 0;
    text-align: left;
}

.chambre-funeraire-location {
    font-size: 15px;
    color: #ccc;
    margin: 0 0 15px 0;
    font-weight: normal;
    text-align: left;
}

.chambre-funeraire-divider {
    width: 60px;
    height: 2px;
    background-color: #ccc;
    margin: 0 0 20px 0;
}

.chambre-funeraire-description {
    font-size: 1.1rem;
    color: white;
    line-height: 1.6;
    margin: 0 0 20px 0;
    text-align: left;
}

.chambre-funeraire-advantages {
    margin: 0 0 20px 0;
    flex: 1;
}

.chambre-funeraire-advantages h4 {
    font-size: 1.2rem;
    color: #ffd712;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.chambre-funeraire-advantages ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.chambre-funeraire-advantages li {
    font-size: 1rem;
    color: white;
    line-height: 1.5;
    margin: 0 0 12px 0;
    padding-left: 20px;
    position: relative;
}

.chambre-funeraire-advantages li::before {
    content: "•";
    color: #ffd712;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.chambre-funeraire-advantages strong {
    color: #ffd712;
    font-weight: 600;
}

.chambre-funeraire-availability {
    font-size: 1.1rem;
    color: #ffd712;
    line-height: 1.6;
    margin: 0 0 40px 0;
    text-align: left;
    font-weight: 600;
}

.chambre-funeraire-button {
    align-self: flex-start;
}

/* Section marbrerie */
.marbrerie-section {
    background-color: #000;
    margin: 0;
    padding: 0;
    border-bottom: none;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 0;
}

.marbrerie-content {
    display: flex;
    height: 900px;
    max-width: 100%;
    margin: 0;
    width: 100%;
}

.marbrerie-left {
    flex: 1;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    height: 100%;
    max-width: 50%;
}

.marbrerie-right {
    flex: 1;
    background-color: #000;
    padding: 60px 80px 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
    height: 100%;
    max-width: 50%;
}

.marbrerie-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}

.marbrerie-title {
    font-size: 29px;
    font-weight: bold;
    color: white;
    margin: 0 0 8px 0;
    text-align: left;
}

.marbrerie-location {
    font-size: 15px;
    color: #ccc;
    margin: 0 0 15px 0;
    font-weight: normal;
    text-align: left;
}

.marbrerie-divider {
    width: 60px;
    height: 2px;
    background-color: #ccc;
    margin: 0 0 20px 0;
}

.marbrerie-description {
    font-size: 1.1rem;
    color: white;
    line-height: 1.6;
    margin: 0 0 20px 0;
    text-align: left;
}

.marbrerie-prestations {
    margin: 0 0 20px 0;
    flex: 1;
}

.marbrerie-prestations h4 {
    font-size: 1.2rem;
    color: #ffd712;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.marbrerie-prestations ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.marbrerie-prestations li {
    font-size: 1rem;
    color: white;
    line-height: 1.5;
    margin: 0 0 12px 0;
    padding-left: 20px;
    position: relative;
}

.marbrerie-prestations li::before {
    content: "•";
    color: #ffd712;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.marbrerie-prestations strong {
    color: #ffd712;
    font-weight: 600;
}

.marbrerie-availability {
    font-size: 1.1rem;
    color: #ffd712;
    line-height: 1.6;
    margin: 0 0 40px 0;
    text-align: left;
    font-weight: 600;
}

.marbrerie-button {
    align-self: flex-start;
}

/* Section crémation */
.cremation-section {
    background-color: #000;
    margin: 0;
    padding: 0;
    border-bottom: none;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 0;
}

.cremation-content {
    display: flex;
    height: auto;
    min-height: 600px;
    max-width: 100%;
    margin: 0;
    width: 100%;
}

.cremation-left {
    flex: 1;
    background-color: #000;
    padding: 60px 80px 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: white;
    height: 100%;
    max-width: 50%;
}

.cremation-right {
    flex: 1;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    height: 100%;
    max-width: 50%;
}

.cremation-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}

.cremation-title {
    font-size: 29px;
    font-weight: bold;
    color: white;
    margin: 0 0 8px 0;
    text-align: left;
}

.cremation-location {
    font-size: 15px;
    color: #ccc;
    margin: 0 0 15px 0;
    font-weight: normal;
    text-align: left;
}

.cremation-divider {
    width: 60px;
    height: 2px;
    background-color: #ccc;
    margin: 0 0 30px 0;
}

.cremation-description {
    font-size: 1.2rem;
    color: white;
    line-height: 1.6;
    margin: 0 0 20px 0;
    text-align: left;
}

.cremation-values {
    font-size: 1.1rem;
    color: #ffd712;
    line-height: 1.6;
    margin: 0 0 40px 0;
    text-align: left;
    font-weight: 600;
}

.cremation-services {
    margin: 0 0 20px 0;
}

.cremation-services ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cremation-services li {
    font-size: 1rem;
    color: white;
    line-height: 1.5;
    margin: 0 0 12px 0;
    padding-left: 20px;
    position: relative;
}

.cremation-services li::before {
    content: "•";
    color: var(--color-accent);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.cremation-services strong {
    color: var(--color-accent);
    font-weight: 600;
}

.subsection-title {
    font-size: 1.2rem;
    color: var(--color-accent);
    margin: 0 0 15px 0;
    font-weight: 600;
}

.cremation-button {
    align-self: flex-start;
}

/* Contenu principal (page d'accueil uniquement) */
#main-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    background-color: var(--color-dark);
}

/* Section guide */
.guide-section {
    background-color: var(--color-cream);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 60px 0;
}

.guide-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
}

.section-heading {
    font-size: 2rem;
    color: var(--color-text);
    text-align: center;
    margin-bottom: 10px;
}

.section-subheading {
    font-size: 1.1rem;
    color: var(--color-muted);
    text-align: center;
    margin-bottom: 40px;
}

.guide-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0;
}

.guide-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.guide-step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: var(--color-purple);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.guide-step h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--color-text);
}

.guide-step p {
    font-size: 0.95rem;
    color: var(--color-muted);
    line-height: 1.5;
}

.guide-step a {
    color: var(--color-purple);
    font-weight: 600;
}

/* Section avis */
.avis-section {
    background-color: var(--color-purple);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 60px 0;
}

.avis-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
}

.avis-section .section-heading,
.avis-section .section-subheading {
    color: white;
}

.avis-section .section-subheading {
    color: rgba(255, 255, 255, 0.8);
}

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

.avis-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 215, 18, 0.3);
    border-radius: 12px;
    padding: 24px;
    color: white;
    margin: 0;
}

.avis-card p {
    font-style: italic;
    margin-bottom: 16px;
    line-height: 1.6;
}

.avis-card footer {
    font-size: 0.9rem;
    color: var(--color-accent);
    font-weight: 600;
}

/* Section contact */
.contact-section {
    background-color: var(--color-dark);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 60px 0 0;
}

.contact-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-section .section-heading,
.contact-section .section-subheading {
    color: white;
    text-align: left;
}

.contact-section .section-subheading {
    color: #ccc;
    margin-bottom: 24px;
}

.contact-address {
    font-style: normal;
    color: white;
    line-height: 1.8;
    margin-bottom: 20px;
}

.contact-address a {
    color: var(--color-accent);
}

.contact-hours,
.contact-zone {
    color: #ccc;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
}

.form-optional {
    font-weight: normal;
    color: #aaa;
    font-size: 0.85rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 1px solid #444;
    border-radius: 8px;
    background: #1a1a1a;
    color: white;
    font-family: inherit;
    font-size: 1rem;
}

.form-consent {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}

.form-consent label {
    font-weight: normal;
    font-size: 0.85rem;
}

.form-consent a {
    color: var(--color-accent);
}

.contact-submit {
    align-self: flex-start;
    border: none;
}

.form-honeypot {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

.form-status {
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.form-status--success {
    background: rgba(255, 215, 18, 0.15);
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
}

.form-status--error {
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid #dc3545;
    color: #f8a5ad;
}

.contact-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.map-container {
    width: 100%;
    height: 350px;
}

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

/* Footer */
.site-footer {
    background-color: #1a1a1a;
    color: #ccc;
    padding: 40px 0 0;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-brand {
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    margin-bottom: 8px;
}

.footer-heading {
    font-weight: bold;
    color: white;
    margin-bottom: 8px;
}

.footer-col a {
    color: var(--color-accent);
    text-decoration: none;
}

.footer-col a:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding: 20px 40px;
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--color-accent);
}

/* Barre urgence sticky */
.sticky-emergency {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background-color: var(--color-accent);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.sticky-emergency-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    color: var(--color-text);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
}

/* Pages légales */
.legal-page {
    background: var(--color-cream);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.legal-header {
    background: #fff;
    padding: 30px 40px;
    border-bottom: 2px solid var(--color-accent);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.legal-header h1 {
    margin-top: 16px;
    color: var(--color-text);
    font-size: 1.8rem;
}

.legal-back {
    color: var(--color-purple);
    text-decoration: none;
    font-weight: 600;
}

.legal-back:hover {
    text-decoration: underline;
}

.legal-page .legal-content {
    flex: 1;
    max-width: 800px;
    width: 100%;
    margin: 40px auto;
    padding: 40px 48px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.legal-content section {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border);
}

.legal-content section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-content h2 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--color-purple);
    font-weight: 700;
}

.legal-content p {
    color: #222;
    line-height: 1.8;
    font-size: 1rem;
}

.legal-content a {
    color: var(--color-purple);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

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

.legal-page .site-footer {
    margin-top: auto;
}

/* Responsive design */
@media (max-width: 1024px) {
    .services-content {
        flex-wrap: wrap;
    }

    .service-button {
        flex: 1 1 calc(33% - 14px);
        min-width: 140px;
    }

    .guide-steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .avis-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

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

    .obseques-content,
    .chambre-funeraire-content,
    .marbrerie-content {
        height: auto;
    }

    .hero-left,
    .hero-right,
    .presentation-left,
    .presentation-right,
    .obseques-left,
    .obseques-right,
    .chambre-funeraire-left,
    .chambre-funeraire-right,
    .marbrerie-left,
    .marbrerie-right,
    .cremation-left,
    .cremation-right {
        max-width: 100%;
    }
}

@media (max-width: 1100px) {
    .nav-toggle {
        display: flex;
        margin-left: auto;
    }

    .nav-content {
        flex-wrap: wrap;
        position: relative;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        padding: 10px 0;
        margin-left: 0;
    }

    .nav-menu.is-open {
        display: flex;
    }

    .nav-link {
        width: 100%;
        padding: 12px 0;
        font-size: 1rem;
        border-bottom: 1px solid var(--color-border);
        text-align: left;
    }

    .nav-link::after {
        display: none;
    }
}

@media (max-width: 900px) {
    .banner-content {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        padding: 12px 20px;
    }

    .banner-divider {
        display: none;
    }

    .banner-group {
        justify-content: center;
    }

    .banner-group--phone {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }

    .phone-block {
        align-items: center;
    }

    .banner-group--phone .phone-icon {
        margin-top: 0;
    }

    .emergency-text {
        text-align: center;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 56px;
    }

    .sticky-emergency {
        display: block;
    }

    .banner-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding: 12px 20px;
    }

    .banner-group--phone {
        align-items: center;
    }

    .phone-block {
        align-items: center;
    }

    .emergency-text {
        text-align: center;
    }

    .nav-content {
        padding: 0 20px;
    }

    .company-info {
        flex: 1;
        text-align: left;
    }

    .nav-link {
        padding: 12px 0;
        border-bottom: 1px solid var(--color-border);
        border-left: none;
        width: 100%;
        text-align: left;
        font-size: 1rem;
    }

    .nav-link::after {
        display: none;
    }

    .company-name {
        font-size: 1.5rem;
    }

    .hero-content,
    .presentation-content,
    .obseques-content,
    .chambre-funeraire-content,
    .marbrerie-content,
    .cremation-content {
        flex-direction: column;
        height: auto;
    }

    .hero-left,
    .presentation-left,
    .obseques-right,
    .chambre-funeraire-left,
    .marbrerie-right,
    .cremation-left,
    .split-section .split-text {
        padding: 40px 20px;
        text-align: left;
    }

    .hero-title,
    .presentation-title,
    .obseques-title,
    .chambre-funeraire-title,
    .marbrerie-title,
    .cremation-title,
    .subsection-title {
        text-align: left;
    }

    .hero-location,
    .presentation-location,
    .obseques-location,
    .chambre-funeraire-location,
    .marbrerie-location,
    .cremation-location,
    .hero-description,
    .presentation-description,
    .presentation-availability,
    .obseques-description,
    .obseques-availability,
    .chambre-funeraire-description,
    .chambre-funeraire-availability,
    .marbrerie-description,
    .marbrerie-availability,
    .cremation-description,
    .cremation-values,
    .obseques-services,
    .obseques-services h4,
    .chambre-funeraire-advantages,
    .marbrerie-prestations,
    .cremation-services,
    .cremation-services h3 {
        text-align: left;
    }

    .hero-divider,
    .presentation-divider,
    .obseques-divider,
    .chambre-funeraire-divider,
    .marbrerie-divider,
    .cremation-divider {
        margin-left: 0;
        margin-right: auto;
    }

    .hero-button,
    .presentation-button,
    .obseques-button,
    .chambre-funeraire-button,
    .marbrerie-button,
    .cremation-button {
        align-self: flex-start;
    }

    .hero-right,
    .presentation-right,
    .obseques-left,
    .chambre-funeraire-right,
    .marbrerie-left,
    .cremation-right {
        padding: 20px;
        height: auto;
    }

    .hero-video,
    .presentation-image,
    .obseques-image,
    .chambre-funeraire-image,
    .marbrerie-image,
    .cremation-image {
        height: auto;
        object-fit: contain;
    }

    .services-content {
        flex-direction: column;
        padding: 0 20px;
        gap: 15px;
    }

    .service-button {
        flex: 1 1 100%;
    }

    .guide-content,
    .avis-content,
    .contact-content {
        padding: 0 20px;
    }

    .contact-section .section-heading,
    .contact-section .section-subheading {
        text-align: center;
    }

    .contact-submit {
        align-self: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .banner-content,
    .nav-content,
    .guide-content,
    .avis-content,
    .contact-content {
        padding: 0 15px;
    }

    .email-text,
    .phone-number {
        font-size: 14px;
    }

    .contact-button {
        padding: 10px 20px;
        font-size: 14px;
    }

    .emergency-text {
        font-size: 12px;
    }

    .company-name {
        font-size: 1.3rem;
    }

    .company-location {
        font-size: 0.9rem;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .hero-left,
    .presentation-left,
    .obseques-right,
    .chambre-funeraire-left,
    .marbrerie-right,
    .cremation-left {
        padding: 30px 15px;
    }

    .hero-title,
    .presentation-title,
    .obseques-title,
    .chambre-funeraire-title,
    .marbrerie-title,
    .cremation-title {
        font-size: 1.8rem;
    }

    .hero-location,
    .presentation-location,
    .obseques-location,
    .chambre-funeraire-location,
    .marbrerie-location,
    .cremation-location {
        font-size: 1rem;
    }

    .hero-description,
    .presentation-description,
    .obseques-description,
    .chambre-funeraire-description,
    .marbrerie-description {
        font-size: 1rem;
    }

    .service-button {
        padding: 15px;
    }

    .service-text .service-label {
        font-size: 1rem;
    }

    .obseques-services li,
    .chambre-funeraire-advantages li,
    .marbrerie-prestations li,
    .cremation-services li {
        font-size: 0.9rem;
    }

    .subsection-title {
        font-size: 1.1rem;
    }

    .hero-button,
    .presentation-button,
    .obseques-button,
    .chambre-funeraire-button,
    .marbrerie-button,
    .cremation-button {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .section-heading {
        font-size: 1.6rem;
    }

    .map-container {
        height: 250px;
    }

    .legal-page .legal-content {
        margin: 20px 15px;
        padding: 28px 20px;
    }

    .legal-header {
        padding: 24px 20px;
    }

    .legal-header h1 {
        font-size: 1.5rem;
    }
}
