/* ===================================================================
Alanya Work — Composition des sections Fonctionnalités (B, C, D)
Surcharge de DISPOSITION uniquement. Thème et couleurs intacts.
=================================================================== */
/* -------------------------------------------------------------------
ARRIÈRE-PLAN : motif africain conservé mais atténué
On superpose un voile crème translucide au motif existant du body,
sans changer la couleur ni supprimer l'image.
------------------------------------------------------------------- */


/* -------------------------------------------------------------------
BLOCS DE SECTION : séparation claire + rythme vertical régulier
------------------------------------------------------------------- */
.aw-block {
margin: 80px 0 0;
padding-top: 48px;
border-top: 1px solid var(--border-color);
}
.aw-block:first-of-type {
border-top: 0;
padding-top: 0;
}
.aw-block-title {
font-size: 1.65rem;
line-height: 1.25;
margin: 0 0 10px;
letter-spacing: -0.01em;
padding: 0100px;
}
.aw-block-sub {
margin: 0 0 36px;
max-width: 720px;
line-height: 1.65;
font-size: 1rem;
}

/* -------------------------------------------------------------------
GRILLE FLEX CENTRÉE
Flex-wrap + justify-content:center permet aux cartes orphelines
(10e de la section B, 4e et 5e de la section C) de se centrer
automatiquement sur leur dernière ligne, tout en gardant 3 par ligne.
------------------------------------------------------------------- */
.aw-grid {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 26px;
align-items: stretch;
}

/* Carte : un tiers de la largeur moins les gouttières, hauteur égale */
.aw-card {
flex: 0 0 calc((100% - 52px) / 3);
max-width: calc((100% - 52px) / 3);
display: flex;
flex-direction: column;
min-height: 260px;
padding: 30px 28px 28px;
box-sizing: border-box;
}
/* Icônes un peu plus présentes */
.aw-icon {
width: 54px;
height: 54px;
margin-bottom: 20px;
flex-shrink: 0;
}
.aw-icon svg {
width: 26px;
height: 26px;
}
/* Titres plus affirmés, descriptions aérées */
.aw-card h4 {
font-size: 1.1rem;
line-height: 1.35;
margin: 0 0 12px;
}
.aw-card p {
font-size: 0.93rem;
line-height: 1.7;
margin: 0;
flex: 1;
}
/* -------------------------------------------------------------------
TABLEAU SYNTHÉTIQUE : respiration, hiérarchie, lisibilité
------------------------------------------------------------------- */
.aw-table-wrap {
border-radius: 18px;
}
.aw-table {
min-width: 900px;
width: 100%;
font-size: 0.92rem;
table-layout: fixed;
}
/* Largeurs pilotées par l'en-tête (fiable avec table-layout:fixed) */
.aw-table thead th:nth-child(1),
.aw-table tbody th[scope="row"] {
width: 22% !important;
}
.aw-table thead th:nth-child(2),
.aw-table tbody td:nth-child(2) {
width: 45% !important;
}
.aw-table thead th:nth-child(3),
.aw-table tbody td:nth-child(3) {
width: 33% !important;
}
.aw-table thead th {
padding: 20px 24px;
font-size: 0.8rem;
text-align: left;
vertical-align: bottom;
}
.aw-table tbody th[scope="row"] {
padding: 26px 24px;
font-size: 1rem;
font-weight: 700;
line-height: 1.45;
text-align: left;
vertical-align: top;
}
.aw-table tbody td {
padding: 26px 24px;
line-height: 1.65;
font-size: 0.92rem;
vertical-align: top;
}
.aw-table tbody tr:nth-child(even) {
background: rgba(39, 78, 111, 0.03);
}
.aw-table ul {
padding-left: 20px;
margin: 0;
}
.aw-table li {
margin: 0 0 10px;
line-height: 1.55;
}
.aw-table li:last-child {
margin-bottom: 0;
}

/* -------------------------------------------------------------------
RESPONSIVE
------------------------------------------------------------------- */

/* Tablette : 2 colonnes */
@media (max-width: 1100px) {
.aw-card {
flex-basis: calc((100% - 26px) / 2);
max-width: calc((100% - 26px) / 2);
}
}
/* Mobile : 1 colonne */
@media (max-width: 720px) {
.aw-block {
margin-top: 56px;
padding-top: 32px;
}
.aw-block-title {
font-size: 1.35rem;
}
.aw-block-sub {
margin-bottom: 26px;
font-size: 0.96rem;
}
.aw-grid {
gap: 18px;
}
.aw-card {
flex-basis: 100%;
max-width: 100%;
min-height: 0;
padding: 24px 22px;
}
.aw-table-wrap {
border-radius: 14px;
}
}